[Services] Add waypipe to system packages

This commit is contained in:
Antoine Viallon 2023-06-26 12:05:42 +02:00
parent a2c7681a1a
commit 6467771227
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -56,9 +56,6 @@ in {
startWhenNeeded = true;
};
# Better reliability and performance
services.dbus.implementation = "broker";
systemd.services."ssh-inhibit-sleep@" = {
description = "Inhibit sleep when SSH connections are active";
bindsTo = [ "sshd@%i.service" ];
@ -75,6 +72,13 @@ in {
programs.ssh.setXAuthLocation = config.services.xserver.enable;
programs.ssh.forwardX11 = mkDefault config.services.xserver.enable;
security.pam.services.sudo.forwardXAuth = mkDefault true; # Easier to start GUI programs as root
environment.systemPackages = with pkgs; [ waypipe ];
# Better reliability and performance
services.dbus.implementation = "broker";