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:
Tom Torsney-Weir 2021-08-01 13:26:50 +02:00 committed by GitHub
parent 6e5ca0926e
commit 1a09f60c3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ $ nix-channel --update
```nix ```nix
{ {
imports = [ <agenix/modules/age> ]; imports = [ <agenix/modules/age.nix> ];
} }
``` ```
@ -67,7 +67,7 @@ $ nix-channel --update
```nix ```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" ];
} }
``` ```