From 97db73622cdd30428026ddd9fbce72093bfc9f08 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 24 Nov 2023 15:40:36 +0100 Subject: [PATCH] Virtual mail user --- nixos/queen/configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/queen/configuration.nix b/nixos/queen/configuration.nix index 511dc8e..15c7966 100644 --- a/nixos/queen/configuration.nix +++ b/nixos/queen/configuration.nix @@ -60,7 +60,7 @@ sops.secrets."local.json".mode = "0440"; sops.secrets."local.json".owner = config.users.users.onlyoffice.name; sops.secrets."mailpass".mode = "0440"; - sops.secrets."mailpass".owner = config.users.users."no-reply@nextcloud.gladtherescake.eu".name; + sops.secrets."mailpass".owner = config.users.users.virtualMail.name; nix = { gc = { @@ -161,6 +161,10 @@ isSystemUser = true; group = "mssql"; }; + virtualMail = { + isSystemUser = true; + group = "virtualMail"; + }; }; virtualisation.oci-containers.containers = {