diff options
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/se/serverphone/module.currently_ignored.nix | 18 | ||||
-rw-r--r-- | modules/by-name/se/serverphone/private_keys/ca.key (renamed from modules/by-name/se/secrets/serverphone/ca.key) | 0 | ||||
-rw-r--r-- | modules/by-name/se/serverphone/private_keys/server.key (renamed from modules/by-name/se/secrets/serverphone/server.key) | 0 |
3 files changed, 18 insertions, 0 deletions
diff --git a/modules/by-name/se/serverphone/module.currently_ignored.nix b/modules/by-name/se/serverphone/module.currently_ignored.nix index 20125a75..2ffb062b 100644 --- a/modules/by-name/se/serverphone/module.currently_ignored.nix +++ b/modules/by-name/se/serverphone/module.currently_ignored.nix @@ -5,7 +5,25 @@ lib, ... }: { +# FIXME: Reactive this module, when serverphone is working again <2024-05-11> + config = lib.mkIf config.soispha.secrets.enable { + age.secrets = { + serverphoneCa = { + file = ./private_keys/ca.key; + mode = "700"; + owner = "serverphone"; + group = "serverphone"; + }; + serverphoneServer = { + file = ./private_keys/server.key; + mode = "700"; + owner = "serverphone"; + group = "serverphone"; + }; + }; + }; + services.serverphone = { package = "${serverphone.packages.${system}.default}"; enable = true; diff --git a/modules/by-name/se/secrets/serverphone/ca.key b/modules/by-name/se/serverphone/private_keys/ca.key index d49c5395..d49c5395 100644 --- a/modules/by-name/se/secrets/serverphone/ca.key +++ b/modules/by-name/se/serverphone/private_keys/ca.key diff --git a/modules/by-name/se/secrets/serverphone/server.key b/modules/by-name/se/serverphone/private_keys/server.key index a2720406..a2720406 100644 --- a/modules/by-name/se/secrets/serverphone/server.key +++ b/modules/by-name/se/serverphone/private_keys/server.key |