helm/hosts/profiles/gonic/default.nix

21 lines
482 B
Nix
Raw Normal View History

2022-09-18 15:13:50 -07:00
{ config, lib, pkgs, ... }:
{
2023-08-12 18:57:16 -07:00
mossnet.gonic.enable = true;
mossnet.gonic.settings = ''
2022-09-18 15:13:50 -07:00
music-path /mnt/two/music/
podcast-path /data/podcasts
cache-path /data/cache
'';
2023-08-12 18:57:16 -07:00
mossnet.gonic.user = "headphones";
mossnet.gonic.group = "audio";
2022-09-18 15:13:50 -07:00
networking.firewall.allowedTCPPorts = [ 4747 ];
users.users.gonic = {
uid = config.ids.uids.headphones;
# isSystemUser = true;
group = "audio";
home = "/var/lib/headphones";
createHome = true;
};
2022-09-18 15:13:50 -07:00
}