From fd8e52d6d668b92542036186f31853617c30f7ed Mon Sep 17 00:00:00 2001 From: smayzy Date: Sun, 29 Mar 2026 11:19:14 +0200 Subject: [PATCH] add ardour and remove kde on desktop1 --- hosts/common/common.nix | 1 + hosts/desktop1/configuration.nix | 10 +++++++++- modules/nix/audio/pipewire.nix | 1 + modules/nix/groups/desktop.nix | 1 + 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/hosts/common/common.nix b/hosts/common/common.nix index fd2ad6e..7d133ff 100644 --- a/hosts/common/common.nix +++ b/hosts/common/common.nix @@ -24,6 +24,7 @@ "wheel" "wireshark" "dialout" + "audio" ]; }; diff --git a/hosts/desktop1/configuration.nix b/hosts/desktop1/configuration.nix index a1bccf1..097f4c8 100644 --- a/hosts/desktop1/configuration.nix +++ b/hosts/desktop1/configuration.nix @@ -57,12 +57,20 @@ depends = [ "/home" ]; }; + security.pam.loginLimits = [ + { + domain = "@audio"; + type = "-"; + item = "memlock"; + value = "unlimited"; + } + ]; + smayzy = { desktop.enable = true; nvidia.enable = true; virt.enable = true; hyprland.enable = true; - kde.enable = true; docker.enable = true; containers = { nixos = { diff --git a/modules/nix/audio/pipewire.nix b/modules/nix/audio/pipewire.nix index bd5248f..6b82065 100644 --- a/modules/nix/audio/pipewire.nix +++ b/modules/nix/audio/pipewire.nix @@ -17,6 +17,7 @@ in alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; + jack.enable = true; }; }; } diff --git a/modules/nix/groups/desktop.nix b/modules/nix/groups/desktop.nix index 281ef9e..69509de 100644 --- a/modules/nix/groups/desktop.nix +++ b/modules/nix/groups/desktop.nix @@ -57,6 +57,7 @@ in qbittorrent android-tools gdb + ardour ]; }; }