1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 10:07: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; }); |> mapAttrs (_: flake: { inherit flake; });
nix.settings = (import <| self + /flake.nix).nixConfig nix.settings = (import <| self + /flake.nix).nixConfig
|> flip removeAttrs (optionals config.isDarwin [ "use-cgroups" ]) |> flip removeAttrs (optionals config.isDarwin [ "use-cgroups" ]);
|> (if config.isLinux && config.services.nix-serve.enable then # |> (if config.isLinux && config.services.nix-serve.enable then
(cfg: cfg // { # (cfg: cfg // {
extra-substituters = cfg.extra-substituters # extra-substituters = cfg.extra-substituters
|> filter (x: match ".*cache.rgbcu.be.*" x == null); # |> filter (x: match ".*cache.rgbcu.be.*" x == null);
}) # })
else # else
id); # id);
nix.optimise.automatic = true; nix.optimise.automatic = true;