diff --git a/nixos/common.nix b/nixos/common.nix index e94448c1..67e3ef9c 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -76,7 +76,7 @@ in clickMethod = "clickfinger"; }; - displayManager.lightdm = { + displayManager.slim = { enable = true; }; }; @@ -104,6 +104,10 @@ in }; powerManagement.cpuFreqGovernor = (lib.mkForce null); + services.physlock = { + enable = true; + allowAnyUser = true; + }; nix.gc.automatic = true; nix.autoOptimiseStore = true; diff --git a/nixos/polybar.nix b/nixos/polybar.nix index 72a4ee0a..140fe21e 100644 --- a/nixos/polybar.nix +++ b/nixos/polybar.nix @@ -25,7 +25,7 @@ module-margin-right = 1; modules-left = "i3"; modules-center = "date"; - modules-right = "memory cpu battery-label battery1 battery0"; + modules-right = "memory swap cpu battery1 battery0"; }; "module/date" = { @@ -42,19 +42,20 @@ "module/cpu" = { type = "internal/cpu"; - interval = 3; + interval = 5; format = "CPU: