mockkey path
All checks were successful
Nix Build / build-nixos (push) Successful in 14m29s

This commit is contained in:
soraefir 2024-04-21 02:32:38 +02:00
parent d0732d6f11
commit 8a09c870d7
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -2,7 +2,7 @@
let
isCI = builtins.elem config.syscfg.hostname [ "ci" "sandbox" ];
keyFilePath =
(if isCI then ./mock-key.txt else "/var/lib/sops-nix/age-key.txt");
(if isCI then "./mock-key.txt" else "/var/lib/sops-nix/age-key.txt");
sopsFilePath = (if isCI then ./mock.yaml else ./common.yaml);
in {
environment.systemPackages = with pkgs; [ sops ];