helm/hosts/profiles/gonic/default.nix

22 lines
516 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
2024-08-19 21:29:41 -07:00
playlists-path /data/playlists
2022-09-18 15:13:50 -07:00
'';
2024-08-19 21:29:41 -07:00
mossnet.gonic.user = "gonic";
2023-08-12 18:57:16 -07:00
mossnet.gonic.group = "audio";
2022-09-18 15:13:50 -07:00
networking.firewall.allowedTCPPorts = [ 4747 ];
users.users.gonic = {
2024-08-19 21:29:41 -07:00
# uid = config.ids.uids.headphones;
# isSystemUser = true;
group = "audio";
2024-08-19 21:29:41 -07:00
# home = "/var/lib/headphones";
createHome = true;
};
2022-09-18 15:13:50 -07:00
}