Move kernel config to its own role.

This commit is contained in:
Tom Alexander
2026-05-31 02:03:49 -04:00
parent 0fa170c57e
commit 49f75408ae
8 changed files with 214 additions and 66 deletions

View File

@@ -54,6 +54,7 @@ in
./roles/iso_mount
./roles/jujutsu
./roles/kanshi
./roles/kernel
./roles/kodi
./roles/kubernetes
./roles/latex
@@ -139,7 +140,8 @@ in
# Automatic garbage collection
nix.gc = lib.mkIf (!config.me.buildingPortable) {
# Runs nix-collect-garbage --delete-older-than 5d
automatic = true;
# automatic = true;
automatic = false;
persistent = true;
dates = "monthly";
# randomizedDelaySec = "14m";
@@ -235,12 +237,10 @@ in
in
[
(disableTests "deno") # Tests use too much disk space
(final: prev: {
inherit (final.unoptimized)
libtpms
;
})
(disableOptimizations "libtpms")
(disableOptimizationsPython3 "scipy")
(disableOptimizations "assimp")
(disableOptimizations "gsl")
# Works but probably sets python2's scipy to be python3:
#