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
+18
View File
@@ -0,0 +1,18 @@
{
config,
pkgs,
pkgs-unstable,
libs,
inputs,
...
}: {
# Garbage collector of generations
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d"; # every week delete generations older than a month
};
# nixpkgs-review crashed my laptop multiple times.
nix.settings.max-jobs = 2;
nix.settings.cores = 2;
}