diff --git a/home-manager/zsh/default.nix b/home-manager/zsh/default.nix index 3e4d22d..554333b 100644 --- a/home-manager/zsh/default.nix +++ b/home-manager/zsh/default.nix @@ -38,7 +38,7 @@ edit = "cd ~/projects/github/nix-config && nvim ."; ll = "ls -l"; 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"; update = "sudo nixos-rebuild switch"; updateFancy = "nh os switch"; diff --git a/systems/pc/configuration.nix b/systems/pc/configuration.nix index 143d50a..3bc2521 100644 --- a/systems/pc/configuration.nix +++ b/systems/pc/configuration.nix @@ -118,6 +118,9 @@ }; }; + services.logind.settings.Login = { + HandlePowerKey = "suspend"; + }; nix.gc.automatic = lib.mkForce false; services.searx = { enable = false; @@ -173,7 +176,7 @@ documentation.man.generateCaches = true; #networking.firewall.allowedTCPPorts = [ 6567 ]; # mindustry - networking.firewall.allowedUDPPorts = [ 1234 ]; #6567 ]; # mindustry + networking.firewall.allowedUDPPorts = [ 1234 ]; # 6567 ]; # mindustry mainUser.layout = "de"; mainUser.variant = "us"; age.identityPaths = [ /home/kopatz/.ssh/id_rsa ];