forked from Yuka/c3h-nixfiles
wip
This commit is contained in:
parent
0fe50a9c62
commit
6bf257dbbb
3 changed files with 10 additions and 9 deletions
|
@ -23,4 +23,4 @@ set -x
|
|||
system_drv=$(nix-instantiate "<nixpkgs/nixos>" -I $sources -I "nixos-config=$PWD/hosts/$host/configuration.nix" | head -n1)
|
||||
nix-copy-closure --to $target $system_drv
|
||||
system=$(ssh $target "nix-store --realise $system_drv")
|
||||
ssh $target "sudo nix-env -p /nix/var/nix/profiles/system -i $system && /nix/var/nix/profiles/system/bin/switch-to-configuration $mode"
|
||||
ssh $target "sudo nix-env -p /nix/var/nix/profiles/system -i $system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration $mode"
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
../../common
|
||||
|
||||
# services
|
||||
#../../shared-services/pulseaudio.nix
|
||||
../../shared-services/pulseaudio.nix
|
||||
#../../shared-services/nfs-server.nix
|
||||
#../../shared-services/mpd.nix
|
||||
#../../shared-services/ympd.nix
|
||||
#../../shared-services/spotifyd.nix
|
||||
#../../shared-services/desktop.nix
|
||||
#../../shared-services/vnc.nix
|
||||
#../../shared-services/webserver.nix
|
||||
../../shared-services/mpd.nix
|
||||
../../shared-services/ympd.nix
|
||||
../../shared-services/spotifyd.nix
|
||||
../../shared-services/desktop.nix
|
||||
../../shared-services/vnc.nix
|
||||
../../shared-services/webserver.nix
|
||||
];
|
||||
users.users.c3h = {
|
||||
isNormalUser = true;
|
||||
|
@ -36,7 +36,7 @@
|
|||
|
||||
hardware.raspberry-pi."4" = {
|
||||
fkms-3d.enable = true;
|
||||
audio.enable = true;
|
||||
#audio.enable = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
|
|
|
@ -8,4 +8,5 @@
|
|||
hardware.pulseaudio.package = pkgs.pulseaudio;
|
||||
hardware.pulseaudio.tcp.enable = true;
|
||||
hardware.pulseaudio.tcp.anonymousClients.allowedIpRanges = [ "127.0.0.0/8" "::/64" "10.23.42.0/24" ];
|
||||
environment.variables.PULSE_SERVER = "127.0.0.1";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue