diff options
-rw-r--r-- | users/tazjin/nixos/modules/desktop.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/users/tazjin/nixos/modules/desktop.nix b/users/tazjin/nixos/modules/desktop.nix index 973e1b39db19..f3cde6326c58 100644 --- a/users/tazjin/nixos/modules/desktop.nix +++ b/users/tazjin/nixos/modules/desktop.nix @@ -48,6 +48,10 @@ # Do not restart the display manager automatically systemd.services.display-manager.restartIfChanged = lib.mkForce false; + # pipewire MUST start before niri, otherwise screen sharing doesn't work + systemd.user.services.pipewire.wantedBy = [ "niri.service" ]; + systemd.user.services.pipewire.before = [ "niri.service" ]; + # swaylock needs an empty PAM configuration, otherwise it locks the user out security.pam.services.swaylock = { }; |