diff options
Diffstat (limited to 'systems/zu/config.nix')
| -rw-r--r-- | systems/zu/config.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/systems/zu/config.nix b/systems/zu/config.nix index acd2c752..8a4371b2 100644 --- a/systems/zu/config.nix +++ b/systems/zu/config.nix @@ -2,7 +2,7 @@ krebs.build.host = config.krebs.hosts.zu; imports = [ - ../../configs/hw/x220.nix + ./hardware.nix ../../configs/btrfs-scrub.nix ../../configs/exim-retiolum.nix ../../configs/gitrepos.nix @@ -18,6 +18,9 @@ boot.initrd.luks.devices.zuca.device = "/dev/sda2"; + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + fileSystems = { "/" = { device = "/dev/mapper/zuvga-root"; @@ -42,6 +45,16 @@ networking.wireless.enable = true; + nix.daemonCPUSchedPolicy = "batch"; + nix.daemonIOSchedPriority = 1; + + services.logind.settings.Login.HandleHibernateKey = "ignore"; + services.logind.settings.Login.HandleLidSwitch = "ignore"; + services.logind.settings.Login.HandleLidSwitchDocked = "ignore"; + services.logind.settings.Login.HandleLidSwitchExternalPower = "ignore"; + services.logind.settings.Login.HandlePowerKey = "ignore"; + services.logind.settings.Login.HandleSuspendKey = "ignore"; + services.printing.enable = true; #services.bitlbee.enable = true; |
