From a0854b44151d68ba8fa21735a411389ca5c1d13a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 23 Oct 2019 17:39:34 +0200 Subject: Remove cachix Was only used for nixfmt, which is now in nixpkgs. --- system/cachix.nix | 14 -------------- system/settings/configuration/nix.nix | 4 ---- 2 files changed, 18 deletions(-) delete mode 100644 system/cachix.nix (limited to 'system') 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 -{ 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" ]; -- cgit 1.4.1