fix
This commit is contained in:
parent
0cae64a938
commit
403554015a
7 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ in
|
|||
ensureUsers = [
|
||||
{
|
||||
name = "hedgedoc";
|
||||
ensurePermissions."DATABASE hedgedoc" = "ALL PRIVILEGES";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 = { };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue