From 87b234f735b6da21f03fc54046592e132bd9d673 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 2 May 2025 03:33:19 +0300 Subject: [PATCH] feat: idk --- modules/common/nix.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/common/nix.nix b/modules/common/nix.nix index 84ab9af..a5ca627 100644 --- a/modules/common/nix.nix +++ b/modules/common/nix.nix @@ -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;