fixed sops age keyFile getting sent to instal target

This commit is contained in:
Leyla Becker 2024-09-15 19:49:30 -05:00
parent e65143b835
commit 16bb44f5e8
3 changed files with 60 additions and 2 deletions

View file

@ -31,13 +31,17 @@
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
gnupg.sshKeyPaths = [];
age ={
keyFile = "/var/lib/sops-nix/key.txt";
# sshKeyPaths = ["${config.home.homeDirectory}/.ssh/nix-ed25519"];
sshKeyPaths = [];
# generateKey = true;
};
};
environment.sessionVariables = {
AGE_KEY_FILE_LOCATION = "/var/lib/sops-nix/";
};
# List packages installed in system profile.
environment.systemPackages = with pkgs; [