summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-23 17:39:34 +0200
committerAlan Pearce2019-10-23 17:39:34 +0200
commita0854b44151d68ba8fa21735a411389ca5c1d13a (patch)
treea1b33a98884eb9b8f6da4cd23f1fc7f5d9c834ae
parentbbd4b643355d203747bf527893e00453b4d6c665 (diff)
downloadnixfiles-a0854b44151d68ba8fa21735a411389ca5c1d13a.tar.lz
nixfiles-a0854b44151d68ba8fa21735a411389ca5c1d13a.tar.zst
nixfiles-a0854b44151d68ba8fa21735a411389ca5c1d13a.zip
Remove cachix
Was only used for nixfmt, which is now in nixpkgs.
-rw-r--r--system/cachix.nix14
-rw-r--r--system/settings/configuration/nix.nix4
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" ];