From 2ad537226758904e8f30e1ae09f82beeccaa2158 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 23 Nov 2025 17:03:54 +0100 Subject: [PATCH] Use inputs attribute to import modules --- flake.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index 71400c9..74e8353 100644 --- a/flake.nix +++ b/flake.nix @@ -16,14 +16,7 @@ }; outputs = - { - self, - nixpkgs, - nixpkgs-unstable, - agenix, - nixos-hardware, - ... - }@inputs: + { self, nixpkgs, ... }@inputs: let system = "x86_64-linux"; @@ -37,8 +30,8 @@ inherit system; modules = [ (import ./configuration.nix) - agenix.nixosModules.age - nixos-hardware.nixosModules.aoostar-r1-n100 + inputs.agenix.nixosModules.age + inputs.nixos-hardware.nixosModules.aoostar-r1-n100 ]; specialArgs = { inherit inputs;