From 51aae98421ddea03a0836281bd4c20e48087687d Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 3 Dec 2023 20:57:02 +0100 Subject: [PATCH] noswap --- hosts/sopp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/sopp/default.nix b/hosts/sopp/default.nix index 39d52dc..f5616ce 100644 --- a/hosts/sopp/default.nix +++ b/hosts/sopp/default.nix @@ -4,6 +4,8 @@ boot.loader.systemd-boot.enable = 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.user = "pbsds"; # tmp: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229