move stuff to shared-services

This commit is contained in:
Yuka 2021-10-23 00:25:25 +02:00
parent 7549ce0707
commit ab24240216
Signed by: Yuka
GPG key ID: B95AE06334AFF6BA
9 changed files with 9 additions and 8 deletions

View file

@ -6,14 +6,14 @@
../../common ../../common
# services # services
./pulseaudio.nix ../../shared-services/pulseaudio.nix
./nfs-server.nix ../../shared-services/nfs-server.nix
./mpd.nix ../../shared-services/mpd.nix
./ympd.nix ../../shared-services/ympd.nix
./spotifyd.nix ../../shared-services/spotifyd.nix
./desktop.nix ../../shared-services/desktop.nix
./vnc.nix ../../shared-services/vnc.nix
./webserver.nix ../../shared-services/webserver.nix
]; ];
networking.hostName = "nuc"; networking.hostName = "nuc";

View file

@ -8,4 +8,5 @@
hardware.pulseaudio.package = pkgs.pulseaudio; hardware.pulseaudio.package = pkgs.pulseaudio;
hardware.pulseaudio.tcp.enable = true; hardware.pulseaudio.tcp.enable = true;
hardware.pulseaudio.tcp.anonymousClients.allowedIpRanges = [ "127.0.0.0/8" "::/64" "10.23.42.0/24" ]; hardware.pulseaudio.tcp.anonymousClients.allowedIpRanges = [ "127.0.0.0/8" "::/64" "10.23.42.0/24" ];
environment.variables.PULSE_SERVER = "127.0.0.1";
} }