This commit is contained in:
Sandro - 2022-12-22 02:16:02 +01:00
parent ea73362f0e
commit 1db84c2429
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 4 additions and 7 deletions

View File

@ -178,4 +178,7 @@
systemd.services.mastodon-init-dirs.script = lib.mkAfter ''
cat ${config.sops.secrets."mastodon/env".path} >> /var/lib/mastodon/.secrets_env
'';
users.users.root.password = "rewtrewt";
users.mutableUsers = false;
}

View File

@ -94,13 +94,7 @@ in
};
};
config =
{
assertions = [{
assertion = config.users.users.root.password == null;
message = "Root passwords not allowed in HQ";
}];
config = {
programs.nncp.settings = lib.optionalAttrs cfg.mergeNncpSettings cfg.nncp;
users =