mirror of
https://github.com/ryantm/agenix.git
synced 2024-09-11 06:05:38 +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
@ -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 New Issue
Block a user