From ff447806eac03d2d1b546d895bc397a83af36d3c Mon Sep 17 00:00:00 2001 From: cnst Date: Sun, 25 Aug 2024 20:36:54 +0200 Subject: [PATCH] more sops changes --- .sops.yaml | 20 +++++++++---------- home/modules/userd/sops/default.nix | 2 +- ...c-secrets.yaml => toothpc-secrets.yamlbak} | 0 ...secrets.yaml => toothpick-secrets.yamlbak} | 0 system/modules/sysd/sops/default.nix | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) rename secrets/{toothpc-secrets.yaml => toothpc-secrets.yamlbak} (100%) rename secrets/{toothpick-secrets.yaml => toothpick-secrets.yamlbak} (100%) diff --git a/.sops.yaml b/.sops.yaml index 93936874..38a4c9e8 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -28,13 +28,13 @@ creation_rules: - age: - *adam - *adampad - - path_regex: secrets/toothpc-secrets.(yaml|json|env|ini)$ - key_groups: - - age: - - *toothpick - - *toothpc - - path_regex: secrets/toothpick-secrets.(yaml|json|env|ini)$ - key_groups: - - age: - - *toothpick - - *toothpc + # - path_regex: secrets/toothpc-secrets.(yaml|json|env|ini)$ + # key_groups: + # - age: + # - *toothpick + # - *toothpc + # - path_regex: secrets/toothpick-secrets.(yaml|json|env|ini)$ + # key_groups: + # - age: + # - *toothpick + # - *toothpc diff --git a/home/modules/userd/sops/default.nix b/home/modules/userd/sops/default.nix index 0ab5c940..ef2aeb06 100644 --- a/home/modules/userd/sops/default.nix +++ b/home/modules/userd/sops/default.nix @@ -59,7 +59,7 @@ in { secrets = { ssh_user = { format = "yaml"; - sopsFile = "${self}/secrets/toothpick-secrets.yaml"; + # sopsFile = "${self}/secrets/toothpick-secrets.yaml"; }; }; }) diff --git a/secrets/toothpc-secrets.yaml b/secrets/toothpc-secrets.yamlbak similarity index 100% rename from secrets/toothpc-secrets.yaml rename to secrets/toothpc-secrets.yamlbak diff --git a/secrets/toothpick-secrets.yaml b/secrets/toothpick-secrets.yamlbak similarity index 100% rename from secrets/toothpick-secrets.yaml rename to secrets/toothpick-secrets.yamlbak diff --git a/system/modules/sysd/sops/default.nix b/system/modules/sysd/sops/default.nix index b4996fc3..38671c92 100644 --- a/system/modules/sysd/sops/default.nix +++ b/system/modules/sysd/sops/default.nix @@ -54,7 +54,7 @@ in { secrets = { ssh_host = { format = "yaml"; - sopsFile = "${self}/secrets/toothpc-secrets.yaml"; + # sopsFile = "${self}/secrets/toothpc-secrets.yaml"; }; }; })