From d929d9140ae185f8958e4f22e00767871bcaaf65 Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 11 Jan 2024 14:41:30 +0900 Subject: fix(modules): fix flake inputs --- modules/flakes.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules') 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}" ]; }; } -- cgit 1.4.1