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 ];
|
2024-03-16 00:56:57 -07:00
|
|
|
|
|
|
|
users.users.gonic = {
|
2024-08-19 21:29:41 -07:00
|
|
|
# uid = config.ids.uids.headphones;
|
2024-03-16 00:56:57 -07:00
|
|
|
# isSystemUser = true;
|
|
|
|
group = "audio";
|
2024-08-19 21:29:41 -07:00
|
|
|
# home = "/var/lib/headphones";
|
2024-03-16 00:56:57 -07:00
|
|
|
createHome = true;
|
|
|
|
};
|
2022-09-18 15:13:50 -07:00
|
|
|
}
|