summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-11-29 19:58:49 +0100
committerlassulus <git@lassul.us>2023-11-29 19:58:49 +0100
commitc660bedbb94a9a08c50050a3447f4fc5ba90fd69 (patch)
tree6eee3bd4542b42bf3821ea8d617c65f3d4ae9bcc /flake.nix
parentc81b09c602a50bbd911abfb28abade77c2a8b6a6 (diff)
flake: set krebs.secret.directory
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index a44446b08..516648849 100644
--- a/flake.nix
+++ b/flake.nix
@@ -16,9 +16,11 @@
system = "x86_64-linux";
specialArgs.stockholm = self;
specialArgs.nix-writers = nix-writers;
- specialArgs.secrets = nixpkgs.lib.mkDefault (toString ./krebs/0tests/data/secrets);
modules = [
./krebs/1systems/${machineName}/config.nix
+ {
+ krebs.secret.directory = "/var/src/secrets";
+ }
];
}) (builtins.readDir ./krebs/1systems);