box: get gonic working again (needed headphones user)

main
Anish Lakhwara 2024-03-16 00:56:57 -07:00
parent c0ff69d9f8
commit a37a72e81f
3 changed files with 11 additions and 2 deletions

View File

@ -10,9 +10,9 @@
# ../profiles/monitoring
../profiles/nfs
../profiles/gonic
../profiles/headphones
# ../profiles/headphones # TODO broken on 23.11, see: https://github.com/rembo10/headphones/issues/3320
../profiles/radicale
../profiles/seafile
# ../profiles/seafile # waiting for https://github.com/NixOS/nixpkgs/pull/249523 to be merged
../profiles/syncthing
../profiles/dhyan
../profiles/calibre

View File

@ -9,4 +9,12 @@
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;
};
}

View File

@ -4,6 +4,7 @@
enable = true;
host = "0.0.0.0";
port = 8181;
package = "${pkgs.unstable.headphones}";
user = "headphones";
group = "audio";
dataDir = "/data/music";