This commit is contained in:
Lucy Hochkamp 2023-12-10 13:16:29 +01:00
parent 0cae64a938
commit 403554015a
No known key found for this signature in database
7 changed files with 10 additions and 10 deletions

View file

@ -50,7 +50,7 @@ in
host = "/run/postgresql";
port = "5432";
database = "authelia";
username = "authelia-main";
username = "authelia";
password = "dosentmatter";
};
};
@ -68,8 +68,8 @@ in
ensureDatabases = [ "authelia" ];
ensureUsers = [
{
name = "authelia-main";
ensurePermissions."DATABASE authelia" = "ALL PRIVILEGES";
name = "authelia";
ensureDBOwnership = true;
}
];
};

View file

@ -59,7 +59,7 @@ in
ensureUsers = [
{
name = "hedgedoc";
ensurePermissions."DATABASE hedgedoc" = "ALL PRIVILEGES";
ensureDBOwnership = true;
}
];
};

View file

@ -19,7 +19,7 @@ in
config = mkIf cfg.enable {
environment.systemPackages = [ inputs.agenix.packages.${pkgs.system}.default ];
# Set passwords
users.users.root.passwordFile = config.age.secrets.rootPasswd.path;
users.users.root.hashedPasswordFile = config.age.secrets.rootPasswd.path;
age.identityPaths =
[
"/persistent/etc/ssh/ssh_host_ed25519_key"

View file

@ -57,7 +57,7 @@ in
extraGroups = [ "wheel" ] ++ extraGroups;
shell = pkgs.zsh;
openssh.authorizedKeys.keys = pubkeys.ragon.user ++ extraAuthorizedKeys;
passwordFile = config.age.secrets.ragonPasswd.path;
hashedPasswordFile = config.age.secrets.ragonPasswd.path;
};
ragon.agenix.secrets.ragonPasswd = { };