mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Services] Add waypipe to system packages
This commit is contained in:
parent
a2c7681a1a
commit
6467771227
1 changed files with 7 additions and 3 deletions
10
services.nix
10
services.nix
|
|
@ -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";
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue