diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-08-02 15:13:15 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-08-02 15:13:15 +0300 |
commit | 908e945d148769bd627a25cd57a801acdde0c39c (patch) | |
tree | 041ae2a119ff2397e2f4f4666d5640f70c1d462c /modules/profiles/headful.nix | |
parent | 2024-07-29 (diff) |
2024-08-02
Diffstat (limited to '')
-rw-r--r-- | modules/profiles/headful.nix | 11 |
1 files changed, 11 insertions, 0 deletions
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); }; } |