mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 10:07:44 +00:00
feat: idk
This commit is contained in:
parent
f8221c9545
commit
87b234f735
1 changed files with 8 additions and 8 deletions
|
@ -42,14 +42,14 @@ in {
|
|||
|> mapAttrs (_: flake: { inherit flake; });
|
||||
|
||||
nix.settings = (import <| self + /flake.nix).nixConfig
|
||||
|> flip removeAttrs (optionals config.isDarwin [ "use-cgroups" ])
|
||||
|> (if config.isLinux && config.services.nix-serve.enable then
|
||||
(cfg: cfg // {
|
||||
extra-substituters = cfg.extra-substituters
|
||||
|> filter (x: match ".*cache.rgbcu.be.*" x == null);
|
||||
})
|
||||
else
|
||||
id);
|
||||
|> flip removeAttrs (optionals config.isDarwin [ "use-cgroups" ]);
|
||||
# |> (if config.isLinux && config.services.nix-serve.enable then
|
||||
# (cfg: cfg // {
|
||||
# extra-substituters = cfg.extra-substituters
|
||||
# |> filter (x: match ".*cache.rgbcu.be.*" x == null);
|
||||
# })
|
||||
# else
|
||||
# id);
|
||||
|
||||
nix.optimise.automatic = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue