summaryrefslogtreecommitdiff
path: root/hosts/thinkpad/sops.nix
diff options
context:
space:
mode:
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 = {};
+ };
+ };
+}