1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

feat: idk

This commit is contained in:
RGBCube 2025-05-02 03:33:19 +03:00
parent f8221c9545
commit 87b234f735
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -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;