diff options
Diffstat (limited to 'modules/profiles')
-rw-r--r-- | modules/profiles/dev/containers.nix | 1 | ||||
-rw-r--r-- | modules/profiles/headful.nix | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/profiles/dev/containers.nix b/modules/profiles/dev/containers.nix index 3fb8774..598289c 100644 --- a/modules/profiles/dev/containers.nix +++ b/modules/profiles/dev/containers.nix @@ -44,6 +44,7 @@ in packages = with pkgs; [ buildah + k3d k9s kubectl kubectl-doctor diff --git a/modules/profiles/headful.nix b/modules/profiles/headful.nix index 39f4e98..1b98df0 100644 --- a/modules/profiles/headful.nix +++ b/modules/profiles/headful.nix @@ -102,6 +102,9 @@ in daemonCPUSchedPolicy = "idle"; daemonIOSchedClass = "idle"; daemonIOSchedPriority = 7; + + gc.automatic = false; + optimise.automatic = false; }; programs = { @@ -136,5 +139,13 @@ in "render" "video" ]; + + # https://github.com/NixOS/nix/issues/3995#issuecomment-2081164515 + system.extraDependencies = + let + collectFlakeInputs = + input: [ input ] ++ concatMap collectFlakeInputs (attrValues (input.inputs or { })); + in + concatMap collectFlakeInputs (attrValues inputs); }; } |