diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/minideck.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/machines/minideck.nix b/machines/minideck.nix index fba0e73..404f3f4 100644 --- a/machines/minideck.nix +++ b/machines/minideck.nix @@ -10,6 +10,21 @@ with lib; services.xserver.enable = mkForce false; services.xserver.displayManager.lightdm.enable = mkForce false; + # Fake pipewire socket activation. + services.pipewire.socketActivation = false; + systemd.user.services.pipewire-setup = { + description = "Link pipewire socket"; + after = ["paths.target"]; + wantedBy = ["default.target"]; + serviceConfig = { + ExecStart = "${pkgs.coreutils}/bin/ln -s /tmp/pipewire-0 %t/pipewire-0"; + Type = "oneshot"; + }; + }; + + # GPG socket is forwarded by SSH. + systemd.user.sockets.gpg-agent.enable = mkForce false; + nix.gc.persistent = false; boot.cleanTmpDir = mkForce false; # Don't delete bind mounts in /tmp. |