This commit is contained in:
@ -1,8 +1,10 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
isCI = builtins.elem config.syscfg.hostname [ "ci" "sandbox" ];
|
||||
keyFilePath =
|
||||
(if isCI then "./mock-key.txt" else "/var/lib/sops-nix/age-key.txt");
|
||||
keyFilePath = (if isCI then
|
||||
"/var/lib/sops-nix/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 ];
|
||||
|
Reference in New Issue
Block a user