suspend on power btn and fix la

This commit is contained in:
Kopatz
2026-01-20 14:19:52 +01:00
parent c2c536cd24
commit c2c3ea5a64
2 changed files with 5 additions and 2 deletions

View File

@@ -38,7 +38,7 @@
edit = "cd ~/projects/github/nix-config && nvim ."; edit = "cd ~/projects/github/nix-config && nvim .";
ll = "ls -l"; ll = "ls -l";
ls = "${pkgs.eza}/bin/eza --icons auto"; ls = "${pkgs.eza}/bin/eza --icons auto";
la = "${pkgs.eza}/bin/eza -la --auto --group-directories-first"; la = "${pkgs.eza}/bin/eza -la --icons auto --group-directories-first";
ssh = "TERM=xterm-256color ssh"; ssh = "TERM=xterm-256color ssh";
update = "sudo nixos-rebuild switch"; update = "sudo nixos-rebuild switch";
updateFancy = "nh os switch"; updateFancy = "nh os switch";

View File

@@ -118,6 +118,9 @@
}; };
}; };
services.logind.settings.Login = {
HandlePowerKey = "suspend";
};
nix.gc.automatic = lib.mkForce false; nix.gc.automatic = lib.mkForce false;
services.searx = { services.searx = {
enable = false; enable = false;