mirror of
https://github.com/ryantm/agenix.git
synced 2024-12-22 23:58:29 +03:00
add .nix extensions
on my system (21.05.1759.91903ceb294 (Okapi)) I needed to add the .nix extensions on age to get nixos-rebuild to find the module. This seems to be inline with the modules directory structure: `modules/age/nix` rather than `modules/age/default.nix` but I'm not an expert on nix's file naming conventions
This commit is contained in:
parent
6e5ca0926e
commit
1a09f60c3a
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ $ nix-channel --update
|
|||
|
||||
```nix
|
||||
{
|
||||
imports = [ <agenix/modules/age> ];
|
||||
imports = [ <agenix/modules/age.nix> ];
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -67,7 +67,7 @@ $ nix-channel --update
|
|||
|
||||
```nix
|
||||
{
|
||||
imports = [ "${builtins.fetchTarball "https://github.com/ryantm/agenix/archive/master.tar.gz"}/modules/age" ];
|
||||
imports = [ "${builtins.fetchTarball "https://github.com/ryantm/agenix/archive/master.tar.gz"}/modules/age.nix" ];
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue