From a6c3e15aca20a3ab7bf02e97cb6cff59293ffb83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 15 Mar 2024 11:46:27 +0100 Subject: [PATCH] don't use impure builtins.storePath --- clanModules/sshd.nix | 2 +- nixosModules/clanCore/secrets/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clanModules/sshd.nix b/clanModules/sshd.nix index 939fd327..0112a2ff 100644 --- a/clanModules/sshd.nix +++ b/clanModules/sshd.nix @@ -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"; }]; diff --git a/nixosModules/clanCore/secrets/default.nix b/nixosModules/clanCore/secrets/default.nix index 93fee0cc..18371359 100644 --- a/nixosModules/clanCore/secrets/default.nix +++ b/nixosModules/clanCore/secrets/default.nix @@ -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 '';