diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-01-10 21:49:06 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-01-10 21:49:06 -0800 |
commit | b9f83b1dbe2c1c6266495bf64da12cfd81d23965 (patch) | |
tree | 30552d5846c89d9f9013fcb49d04ec3296b45ff2 /desktop/home.nix | |
parent | 7ca5c1c30306c6d80ae08b22300277fbed36c98f (diff) |
Diffstat (limited to 'desktop/home.nix')
-rw-r--r-- | desktop/home.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/desktop/home.nix b/desktop/home.nix index f649145..ddaf573 100644 --- a/desktop/home.nix +++ b/desktop/home.nix @@ -3,6 +3,19 @@ let vars = import ./vars.nix; in { + sops = { + defaultSopsFile = ../secrets/secrets.yaml; + age = { + keyFile = "${config.home.homeDirectory}/.ssh/keys.txt"; + }; + secrets.mail = { + format = "yaml"; + path = "${config.sops.defaultSymlinkPath}/mail"; + }; + defaultSymlinkPath = "/run/user/1000/secrets"; + defaultSecretsMountPoint = "/run/user/1000/secrets.d"; + }; + home = { activation.startup-files = lib.hm.dag.entryAfter [ "installPackages" ] '' if [ ! -d "${config.home.homeDirectory}/org/website/" ]; then @@ -45,6 +58,7 @@ in packages = with pkgs; [ # kicad + age acpilight alsa-utils autobuild |