summary refs log tree commit diff stats
path: root/system/modules/configuration
diff options
context:
space:
mode:
authorAlan Pearce2019-10-05 18:05:04 +0200
committerAlan Pearce2019-10-05 18:05:04 +0200
commit5d004b393c7a497d0da0599f7f4ddb29b721c512 (patch)
tree028c755a131e7e13f9f50c458898bf2ddd652f3a /system/modules/configuration
parent1072951aa28ea32ef9c74069824c06cf70f11230 (diff)
downloadnixfiles-5d004b393c7a497d0da0599f7f4ddb29b721c512.tar.lz
nixfiles-5d004b393c7a497d0da0599f7f4ddb29b721c512.tar.zst
nixfiles-5d004b393c7a497d0da0599f7f4ddb29b721c512.zip
Purge unstable from system/
Diffstat (limited to 'system/modules/configuration')
-rw-r--r--system/modules/configuration/nix.nix9
1 files changed, 0 insertions, 9 deletions
diff --git a/system/modules/configuration/nix.nix b/system/modules/configuration/nix.nix
index 9aa83435..d254de0e 100644
--- a/system/modules/configuration/nix.nix
+++ b/system/modules/configuration/nix.nix
@@ -13,14 +13,6 @@
     };
   };
 
-  nixpkgs.config = {
-    packageOverrides = pkgs: {
-      unstable = import <nixos-unstable> {
-        config = config.nixpkgs.config;
-      };
-    };
-  };
-
   environment.systemPackages = with pkgs; [
     cachix
   ];
@@ -31,7 +23,6 @@
   };
   systemd.services.nixos-upgrade = {
     script = pkgs.lib.mkForce ''
-      ${pkgs.nix}/bin/nix-channel --update nixos-unstable
       ${config.system.build.nixos-rebuild}/bin/nixos-rebuild boot --no-build-output --upgrade ${toString config.system.autoUpgrade.flags}
     '';
   };