Setup and utilize SOPS

This commit is contained in:
Gene Liverman 2023-12-18 15:34:47 -05:00
parent 0fc27eb75f
commit 5ab4df18b2
14 changed files with 213 additions and 14 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, ... }: {
{ pkgs, genebean-omp-themes, sops-nix, username, ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix
@ -14,4 +14,12 @@
k9s.enable = true;
};
sops = {
defaultSopsFile = ./secrets.yaml;
secrets = {
local_git_config.path = "/Users/${username}/.gitconfig-local";
local_private_env.path = "/Users/${username}/.private-env";
};
};
}