~ruther/nixos-config

96138c4c0bc8e6b1eab58d5ca9be9337a02a4504 — Frantisek Bohacek 1 year, 4 months ago cc62e17
feat: suspend on lid switch on laptop phobos
1 files changed, 1 insertions(+), 1 deletions(-)

M hosts/laptop-phobos/default.nix
M hosts/laptop-phobos/default.nix => hosts/laptop-phobos/default.nix +1 -1
@@ 90,7 90,7 @@
  services = {
    # tlp.enable = true;                      # TLP and auto-cpufreq for power management
    # auto-cpufreq.enable = true;
    logind.lidSwitch = "lock";           # lock on lid close
    logind.lidSwitch = "suspend";           # suspend on lid close

    xserver.libinput = {
      enable = true;

Do not follow this link