diff --git a/nixos/hardware/machines/server.nix b/nixos/hardware/machines/server.nix index d806e35..cf0c234 100644 --- a/nixos/hardware/machines/server.nix +++ b/nixos/hardware/machines/server.nix @@ -76,11 +76,6 @@ fsType = "none"; options = [ "bind" ]; }; - "/var/lib/docker/volumes/azuracast_station_data/_data/jimbops/media/Music" = { - device = "/export/JimboNFS/Music"; - fsType = "none"; - options = [ "bind" ]; - }; "/var/lib/mastodon" = { device = "/export/JimboNFS/System/var/lib/mastodon"; fsType = "none"; diff --git a/nixos/server.nix b/nixos/server.nix index 55161f4..6d64bfb 100644 --- a/nixos/server.nix +++ b/nixos/server.nix @@ -7,6 +7,7 @@ ./users/jimbo.nix ./users/nextcloud.nix ./users/nginx.nix + ./users/liquidsoap.nix ./users/groups.nix # Modules diff --git a/nixos/users/jimbo.nix b/nixos/users/jimbo.nix index 4a6be18..21dce74 100644 --- a/nixos/users/jimbo.nix +++ b/nixos/users/jimbo.nix @@ -17,7 +17,6 @@ "kvm" "libvirtd" "qemu-libvirtd" - "docker" "nginx" "minecraft" "nfsShare" diff --git a/nixos/users/liquidsoap.nix b/nixos/users/liquidsoap.nix new file mode 100644 index 0000000..c1a2abd --- /dev/null +++ b/nixos/users/liquidsoap.nix @@ -0,0 +1,9 @@ +{ + # Add service users to extra groups + users.users = { + nextcloud = { + extraGroups = [ "nginx" ]; + isSystemUser = true; + }; + }; +}