diff options
-rw-r--r-- | system/cachix.nix | 14 | ||||
-rw-r--r-- | system/settings/configuration/nix.nix | 4 |
2 files changed, 0 insertions, 18 deletions
diff --git a/system/cachix.nix b/system/cachix.nix deleted file mode 100644 index cce90a32..00000000 --- a/system/cachix.nix +++ /dev/null @@ -1,14 +0,0 @@ - -# WARN: this file will get overwritten by $ cachix use <name> -{ pkgs, lib, ... }: - -let - folder = ./cachix; - toImport = name: value: folder + ("/" + name); - filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key; - imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder)); -in { - inherit imports; - nix.binaryCaches = ["https://cache.nixos.org/"]; -} - \ No newline at end of file diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix index 625b6b92..ff7ef82e 100644 --- a/system/settings/configuration/nix.nix +++ b/system/settings/configuration/nix.nix @@ -15,10 +15,6 @@ }; }; - environment.systemPackages = with pkgs; [ - cachix - ]; - system.autoUpgrade = { enable = true; flags = [ "--max-jobs" "1" ]; |