summaryrefslogtreecommitdiff
path: root/hosts/thinkpad/sops.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-07-02 20:07:50 -0400
committerFreya Murphy <freya@freyacat.org>2025-07-02 20:07:50 -0400
commitb130948ddf03010ef7c2fc9b4b4841e41f5e6b73 (patch)
treee73fe706908fe79afeaab72157216584d7ad25ce /hosts/thinkpad/sops.nix
parentadd rosepine themes (diff)
downloaddotfiles-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.nix25
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 = {};
+ };
+ };
+}