diff options
author | Freya Murphy <freya@freyacat.org> | 2025-07-02 20:07:50 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-07-02 20:07:50 -0400 |
commit | b130948ddf03010ef7c2fc9b4b4841e41f5e6b73 (patch) | |
tree | e73fe706908fe79afeaab72157216584d7ad25ce /hosts/thinkpad/sops.nix | |
parent | add rosepine themes (diff) | |
download | dotfiles-nix-b130948ddf03010ef7c2fc9b4b4841e41f5e6b73.tar.gz dotfiles-nix-b130948ddf03010ef7c2fc9b4b4841e41f5e6b73.tar.bz2 dotfiles-nix-b130948ddf03010ef7c2fc9b4b4841e41f5e6b73.zip |
add freyanet and sops to thinkpad
Diffstat (limited to 'hosts/thinkpad/sops.nix')
-rw-r--r-- | hosts/thinkpad/sops.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/hosts/thinkpad/sops.nix b/hosts/thinkpad/sops.nix new file mode 100644 index 0000000..a7ede54 --- /dev/null +++ b/hosts/thinkpad/sops.nix @@ -0,0 +1,25 @@ +{ + config, + pkgs, + inputs, + ... +}: { + imports = [ + inputs.sops-nix.nixosModules.sops + ]; + + environment.systemPackages = with pkgs; [ + sops + ]; + + sops = { + defaultSopsFile = ./secrets.yaml; + + gnupg.home = config.homePath + "/.gnupg"; + gnupg.sshKeyPaths = []; + + secrets = { + freyanetWg = {}; + }; + }; +} |