Use inputs attribute to import modules
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -16,14 +16,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{ self, nixpkgs, ... }@inputs:
|
||||||
self,
|
|
||||||
nixpkgs,
|
|
||||||
nixpkgs-unstable,
|
|
||||||
agenix,
|
|
||||||
nixos-hardware,
|
|
||||||
...
|
|
||||||
}@inputs:
|
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
@@ -37,8 +30,8 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
(import ./configuration.nix)
|
(import ./configuration.nix)
|
||||||
agenix.nixosModules.age
|
inputs.agenix.nixosModules.age
|
||||||
nixos-hardware.nixosModules.aoostar-r1-n100
|
inputs.nixos-hardware.nixosModules.aoostar-r1-n100
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
|||||||
Reference in New Issue
Block a user