mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
Cleanup: moved things from configuration.nix and home.nix to new modules
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user