diff options
author | sefidel <contact@sefidel.net> | 2024-01-11 14:41:30 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-01-12 00:18:45 +0900 |
commit | d929d9140ae185f8958e4f22e00767871bcaaf65 (patch) | |
tree | 0da67c401501c38895e18f58be9aada13a72e6c2 | |
parent | 60747923348733085f7c7647ba304e75c096d80d (diff) | |
download | infra-d929d9140ae185f8958e4f22e00767871bcaaf65.tar.gz infra-d929d9140ae185f8958e4f22e00767871bcaaf65.zip |
fix(modules): fix flake inputs
-rw-r--r-- | modules/flakes.nix | 14 |
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}" ]; }; } |