refactor(flake): move flake modules into separate subdirectories
Also put `outputs` before `inputs` in `flake.nix` (readability)
This commit is contained in:
parent
236948cc2a
commit
db88731eba
6 changed files with 60 additions and 61 deletions
13
modules/flake/agenix/default.nix
Normal file
13
modules/flake/agenix/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ lib, config, self, inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.agenix-rekey.flakeModule
|
||||
];
|
||||
|
||||
perSystem = {
|
||||
agenix-rekey = {
|
||||
nodes = self.nixosConfigurations;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue