flake: set krebs.secret.directory

This commit is contained in:
lassulus 2023-11-29 19:58:49 +01:00
parent c81b09c602
commit c660bedbb9

View file

@ -16,9 +16,11 @@
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs.stockholm = self; specialArgs.stockholm = self;
specialArgs.nix-writers = nix-writers; specialArgs.nix-writers = nix-writers;
specialArgs.secrets = nixpkgs.lib.mkDefault (toString ./krebs/0tests/data/secrets);
modules = [ modules = [
./krebs/1systems/${machineName}/config.nix ./krebs/1systems/${machineName}/config.nix
{
krebs.secret.directory = "/var/src/secrets";
}
]; ];
}) (builtins.readDir ./krebs/1systems); }) (builtins.readDir ./krebs/1systems);