21 lines
482 B
Nix
21 lines
482 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
mossnet.gonic.enable = true;
|
|
mossnet.gonic.settings = ''
|
|
music-path /mnt/two/music/
|
|
podcast-path /data/podcasts
|
|
cache-path /data/cache
|
|
'';
|
|
mossnet.gonic.user = "headphones";
|
|
mossnet.gonic.group = "audio";
|
|
networking.firewall.allowedTCPPorts = [ 4747 ];
|
|
|
|
users.users.gonic = {
|
|
uid = config.ids.uids.headphones;
|
|
# isSystemUser = true;
|
|
group = "audio";
|
|
home = "/var/lib/headphones";
|
|
createHome = true;
|
|
};
|
|
}
|