feat: add 'secrets' module to work host

This commit is contained in:
2026-02-24 15:03:49 +01:00
parent 99a20c9ac7
commit 388feede95
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{
config,
lib,
pkgs,
...
}:
{
options.secrets = {
enable = lib.mkEnableOption "secrets";
};
imports = [ ./vault.nix ];
config = lib.mkIf config.secrets.enable {
home.packages = with pkgs; [
sops
age
];
};
}