From e9e01cbb26efca6e392df2f720729c672b711f2f Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 8 Sep 2025 03:00:59 -0700 Subject: Fix sops-nix; fix hyprland windowrules; fix security things --- nix/modules/secrets.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'nix/modules/secrets.nix') diff --git a/nix/modules/secrets.nix b/nix/modules/secrets.nix index 943f41f..29504f6 100644 --- a/nix/modules/secrets.nix +++ b/nix/modules/secrets.nix @@ -8,26 +8,50 @@ secrets = { mail = { format = "yaml"; + sopsFile = config.sops.defaultSopsFile; +# sopsFile = ../../secrets/secrets.yaml; path = "${config.sops.defaultSymlinkPath}/mail"; }; cloudflare-dns = { format = "yaml"; + sopsFile = config.sops.defaultSopsFile; path = "${config.sops.defaultSymlinkPath}/cloudflare-dns"; }; digikey = { format = "yaml"; + sopsFile = config.sops.defaultSopsFile; path = "${config.sops.defaultSymlinkPath}/digikey"; }; dn42 = { format = "yaml"; + sopsFile = config.sops.defaultSopsFile; +# sopsFile = ../../secrets/secrets.yaml; path = "${config.sops.defaultSymlinkPath}/dn42"; }; znc = { format = "yaml"; + sopsFile = config.sops.defaultSopsFile; +# sopsFile = ../../secrets/secrets.yaml; path = "${config.sops.defaultSymlinkPath}/znc"; }; + znc_password_salt = { + format = "yaml"; + sopsFile = config.sops.defaultSopsFile; +# sopsFile = ../../secrets/secrets.yaml; + path = "${config.sops.defaultSymlinkPath}/znc_password_salt"; + }; + + znc_password_hash = { + format = "yaml"; + sopsFile = config.sops.defaultSopsFile; +# sopsFile = ../../secrets/secrets.yaml; + path = "${config.sops.defaultSymlinkPath}/znc_password_hash"; + }; + matrix_bridge = { format = "yaml"; + sopsFile = config.sops.defaultSopsFile; +# sopsFile = ../../secrets/secrets.yaml; path = "${config.sops.defaultSymlinkPath}/matrix_bridge"; }; }; -- cgit v1.3