diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/prefect.nix | 1 | ||||
-rw-r--r-- | system/settings/configuration/user.nix | 2 | ||||
-rw-r--r-- | system/settings/services/airplay-sink.nix | 9 |
3 files changed, 11 insertions, 1 deletions
diff --git a/system/prefect.nix b/system/prefect.nix index b007bf12..b4eb6f34 100644 --- a/system/prefect.nix +++ b/system/prefect.nix @@ -23,6 +23,7 @@ ./settings/hardware/keyboardio-model01.nix ./settings/hardware/trackball.nix ./settings/hardware/trezor.nix + ./settings/services/airplay-sink.nix ./settings/services/samba.nix ./settings/services/syncthing.nix ./settings/services/virtualisation.nix diff --git a/system/settings/configuration/user.nix b/system/settings/configuration/user.nix index 53120fed..33b678e9 100644 --- a/system/settings/configuration/user.nix +++ b/system/settings/configuration/user.nix @@ -3,7 +3,7 @@ { users.extraUsers.alan = { description = "Alan Pearce"; isNormalUser = true; - extraGroups = [ "audio" "wheel" "lp" "adbusers" "docker" "nitrokey" "dialout" "networkmanager" "video" ]; + extraGroups = [ "audio" "wheel" "lp" "adbusers" "docker" "nitrokey" "dialout" "pipewire" "networkmanager" "video" ]; shell = "/run/current-system/sw/bin/zsh"; initialPassword = "password"; home = "/home/alan"; diff --git a/system/settings/services/airplay-sink.nix b/system/settings/services/airplay-sink.nix new file mode 100644 index 00000000..5e8c147a --- /dev/null +++ b/system/settings/services/airplay-sink.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: + +{ + services.pipewire.systemWide = true; + services.shairport-sync = { + enable = true; + group = "pipewire"; + }; +} |