noswap
This commit is contained in:
parent
f677611ac9
commit
51aae98421
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue