about summary refs log tree commit diff
path: root/modules/flakes.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/flakes.nix')
-rw-r--r--modules/flakes.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/flakes.nix b/modules/flakes.nix
index df86369..4297fda 100644
--- a/modules/flakes.nix
+++ b/modules/flakes.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, unstable, unstable-small, nixpkgs-2111, lib, ... }:
+{ config, inputs, pkgs, lib, ... }:
 
 with lib;
 let
@@ -15,9 +15,9 @@ in
       package = pkgs.nixUnstable;
       experimentalFeatures = "nix-command flakes";
 
-      registry.nixpkgs.flake = unstable;
-      registry.nixpkgsSmall.flake = unstable-small;
-      registry.nixpkgs2111.flake = nixpkgs-2111;
+      registry.nixpkgs.flake = inputs.unstable;
+      registry.nixpkgsSmall.flake = inputs.unstable-small;
+      registry.nixpkgs2111.flake = inputs.nixpkgs-2111;
 
       nixPath = [
         "nixpkgs=${nixpkgsPath}"
@@ -28,9 +28,9 @@ in
     };
 
     systemd.tmpfiles.rules = [
-      "L+ ${nixpkgsPath}         - - - - ${unstable}"
-      "L+ ${nixpkgsSmallPath} - - - - ${unstable-small}"
-      "L+ ${nixpkgs2111Path} - - - - ${nixpkgs-2111}"
+      "L+ ${nixpkgsPath}      - - - - ${inputs.unstable}"
+      "L+ ${nixpkgsSmallPath} - - - - ${inputs.unstable-small}"
+      "L+ ${nixpkgs2111Path}  - - - - ${inputs.nixpkgs-2111}"
     ];
   };
 }