factstore: secret backends now can return the path to a secret dynamically

try to move path function out
This commit is contained in:
Jörg Thalheim
2024-04-09 18:04:26 +02:00
committed by Mic92
parent 42b482d572
commit d049067096
8 changed files with 75 additions and 67 deletions

View File

@@ -16,7 +16,10 @@
{ nixpkgs.hostPlatform = "x86_64-linux"; }
];
clanCoreNixosModules = [ self.nixosModules.clanCore ] ++ allNixosModules;
clanCoreNixosModules = [
self.nixosModules.clanCore
{ clanCore.clanDir = ./.; }
] ++ allNixosModules;
# TODO: optimally we would not have to evaluate all nixos modules for every page
# but some of our module options secretly depend on nixos modules.