mirror of
https://github.com/ryantm/agenix.git
synced 2024-12-22 23:58:29 +03:00
Add default NixOS module to flake
This adds a “default” NixOS module in flake.nix. This makes using this in flakes a little less verbose and repetitive. Before this change: ```nix nixpkgs.lib.nixosSystem { modules = [ ./configuration.nix agenix.nixosModules.age ]; } After this change: ```nix nixpkgs.lib.nixosSystem { modules = [ ./configuration.nix agenix.nixosModule ]; } ```
This commit is contained in:
parent
b4ab630f19
commit
9316abd9f5
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
in {
|
in {
|
||||||
|
|
||||||
nixosModules.age = import ./modules/age.nix;
|
nixosModules.age = import ./modules/age.nix;
|
||||||
|
nixosModule = self.nixosModules.age;
|
||||||
|
|
||||||
overlay = import ./overlay.nix;
|
overlay = import ./overlay.nix;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue