Cleanup: moved things from configuration.nix and home.nix to new modules

This commit is contained in:
2026-04-23 12:28:35 +02:00
parent f9fe349c49
commit 6e37c90b0d
6 changed files with 59 additions and 97 deletions
+16
View File
@@ -0,0 +1,16 @@
{
config,
pkgs,
pkgs-unstable,
libs,
inputs,
...
}: {
# i found swap necessary when running nixpkgs review
swapDevices = [{
device = "/swapfile";
size = 16384; # 16 GB
}
];
boot.kernel.sysctl."vm.swappiness" = 10;
}