diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-11-30 10:57:41 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-11-30 10:57:41 -0800 |
| commit | 8762c3a15ea8ef8b4ce4d6a86d8ab0542bd37b08 (patch) | |
| tree | 4ddee558fa250f59e3748a51e70bc624110fa75f /home/profiles/security.nix | |
| parent | add a module to remotely unlock machines (diff) | |
| download | infra-8762c3a15ea8ef8b4ce4d6a86d8ab0542bd37b08.tar.gz | |
add a profile for passage and install hledger
Diffstat (limited to '')
| -rw-r--r-- | home/profiles/security.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/home/profiles/security.nix b/home/profiles/security.nix new file mode 100644 index 0000000..fd82167 --- /dev/null +++ b/home/profiles/security.nix @@ -0,0 +1,12 @@ +{ pkgs, config, ... }: +{ + home.packages = with pkgs; [ + age-plugin-yubikey + passage + ]; + + home.sessionVariables = { + "PASSAGE_DIR" = "${config.xdg.dataHome}/passage"; + "PASSAGE_IDENTITIES_FILE" = "${config.xdg.dataHome}/passage/identities"; + }; +} |
