about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/flake.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/flake.nix b/nixos/modules/flake.nix
index 7dc405b..15a4254 100644
--- a/nixos/modules/flake.nix
+++ b/nixos/modules/flake.nix
@@ -3,7 +3,7 @@
 let
   base = "/etc/nixpkgs/channels";
   nixpkgsPath = "${base}/nixpkgs";
-  nixpkgsUnstablePath = "${base}/nixpkgsUnstable";
+  nixpkgsSmallPath = "${base}/nixpkgsSmall";
   nixpkgs2111Path = "${base}/nixpkgs2111";
 in
 {
@@ -14,21 +14,21 @@ in
       package = pkgs.nixUnstable;
       experimentalFeatures = "nix-command flakes";
 
-      registry.nixpkgs.flake = unstable-small;
-      registry.nixpkgsUnstable.flake = unstable;
+      registry.nixpkgs.flake = unstable;
+      registry.nixpkgsSmall.flake = unstable-small;
       registry.nixpkgs2111.flake = nixpkgs-2111;
 
       nixPath = [
         "nixpkgs=${nixpkgsPath}"
-        "nixpkgsUnstable=${nixpkgsUnstablePath}"
+        "nixpkgsSmall=${nixpkgsSmallPath}"
         "nixpkgs2111=${nixpkgs2111Path}"
         "/nix/var/nix/profiles/per-user/root/channels"
       ];
     };
 
     systemd.tmpfiles.rules = [
-      "L+ ${nixpkgsPath}         - - - - ${unstable-small}"
-      "L+ ${nixpkgsUnstablePath} - - - - ${unstable}"
+      "L+ ${nixpkgsPath}         - - - - ${unstable}"
+      "L+ ${nixpkgsSmallPath} - - - - ${unstable-small}"
       "L+ ${nixpkgs2111Path} - - - - ${nixpkgs-2111}"
     ];
   };