From 1a09f60c3a2cd85ce6c17a3a5224f60a4a4e9a1c Mon Sep 17 00:00:00 2001 From: Tom Torsney-Weir Date: Sun, 1 Aug 2021 13:26:50 +0200 Subject: [PATCH] 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 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c53e951..6a694af 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ $ nix-channel --update ```nix { - imports = [ ]; + imports = [ ]; } ``` @@ -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" ]; } ```