Set up sops-nix secrets

This commit is contained in:
2025-11-06 21:45:47 +01:00
parent 643a7cd5d1
commit a140c9e508
3 changed files with 76 additions and 14 deletions

View File

@@ -6,6 +6,17 @@
}:
{
imports = [ inputs.sops-nix.homeManagerModules.sops ];
sops = {
defaultSopsFile = "${builtins.toString inputs.nix-secrets}/secrets.yaml";
defaultSopsFormat = "yaml";
age.keyFile = "/home/hektor/.config/sops/age/keys.txt";
secrets."test" = { };
};
nixGL = {
packages = inputs.nixgl.packages;
defaultWrapper = "mesa";
@@ -19,6 +30,7 @@
programs.firefox = import ../../modules/firefox.nix {
inherit inputs;
inherit pkgs;
inherit config;
};
programs.git = import ../../modules/git.nix;
programs.keepassxc = import ../../modules/keepassxc.nix;