This commit is contained in:
Peder Bergebakken Sundt 2023-12-03 20:57:02 +01:00
parent f677611ac9
commit 51aae98421
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernel.sysctl."vm.swappiness" = lib.mkDefault 10; # 0-100, commonly 60
services.xserver.displayManager.autoLogin.enable = true; services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "pbsds"; services.xserver.displayManager.autoLogin.user = "pbsds";
# tmp: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229 # tmp: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229