diff options
| author | Preston Pan <ret2pop@gmail.com> | 2026-02-11 14:43:01 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2026-02-11 14:43:01 -0800 |
| commit | 6a4f95482fa2c0faeafa028eae164d00c6418ac3 (patch) | |
| tree | 8f87a90ae697b1a1ea6c3ed63c59d5e22de55425 /nix/modules/home/vps_secrets.nix | |
| parent | a3106cdc192a64daa6421dc63ab3dd6000bdc112 (diff) | |
add vps stuff; fix internet issues plauging my devices
Diffstat (limited to 'nix/modules/home/vps_secrets.nix')
| -rw-r--r-- | nix/modules/home/vps_secrets.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/nix/modules/home/vps_secrets.nix b/nix/modules/home/vps_secrets.nix new file mode 100644 index 0000000..df75a39 --- /dev/null +++ b/nix/modules/home/vps_secrets.nix @@ -0,0 +1,43 @@ +{ lib, config, ... }: +{ + config = lib.mkIf (!config.monorepo.profiles.graphics.enable) { + sops.secrets = { + znc = { + format = "yaml"; + path = "${config.sops.defaultsymlinkpath}/znc"; + }; + znc_password_salt = { + format = "yaml"; + path = "${config.sops.defaultsymlinkpath}/znc_password_salt"; + }; + znc_password_hash = { + format = "yaml"; + path = "${config.sops.defaultsymlinkpath}/znc_password_hash"; + }; + matrix_bridge = { + format = "yaml"; + path = "${config.sops.defaultsymlinkpath}/matrix_bridge"; + }; + coturn_secret = { + format = "yaml"; + path = "${config.sops.defaultsymlinkpath}/coturn_secret"; + }; + livekit_secret = { + format = "yaml"; + path = "${config.sops.defaultsymlinkpath}/livekit_secret"; + }; + livekit = { + format = "yaml"; + path = "${config.sops.defaultsymlinkpath}/livekit"; + }; + conduit_secrets = { + format = "yaml"; + path = "${config.sops.defaultsymlinkpath}/conduit_secrets"; + }; + mautrix_env = { + format = "yaml"; + path = "${config.sops.defaultsymlinkpath}/mautrix_env"; + }; + }; + }; +} |
