don't use impure builtins.storePath

This commit is contained in:
Jörg Thalheim 2024-03-15 11:46:27 +01:00
parent 377302ff6c
commit a6c3e15aca
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
services.openssh.enable = true;
services.openssh.hostKeys = [{
path = builtins.storePath config.clanCore.secrets.openssh.secrets."ssh.id_ed25519".path;
path = config.clanCore.secrets.openssh.secrets."ssh.id_ed25519".path;
type = "ed25519";
}];

View File

@ -143,7 +143,7 @@
default = fact.config._module.args.name;
};
path = lib.mkOption {
type = lib.types.str;
type = lib.types.path;
description = ''
path to a fact which is generated by the generator
'';