mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-07 22:25:00 +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;
|
startWhenNeeded = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Better reliability and performance
|
|
||||||
services.dbus.implementation = "broker";
|
|
||||||
|
|
||||||
systemd.services."ssh-inhibit-sleep@" = {
|
systemd.services."ssh-inhibit-sleep@" = {
|
||||||
description = "Inhibit sleep when SSH connections are active";
|
description = "Inhibit sleep when SSH connections are active";
|
||||||
bindsTo = [ "sshd@%i.service" ];
|
bindsTo = [ "sshd@%i.service" ];
|
||||||
|
|
@ -76,6 +73,13 @@ in {
|
||||||
programs.ssh.forwardX11 = mkDefault 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
|
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";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue