mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-13 00:50:19 +02:00
(feat): reformatted code for flakes usage
This commit is contained in:
parent
d29d6f0133
commit
c3956d6fa4
40 changed files with 130 additions and 76 deletions
|
@ -1,21 +0,0 @@
|
|||
{pkgs, config, ...} :
|
||||
{
|
||||
services.mysql = {
|
||||
enable = true;
|
||||
package = pkgs.mariadb;
|
||||
ensureDatabases = [ "photoprism" ];
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "photoprism";
|
||||
ensurePermissions = {
|
||||
"photoprism.*" = "ALL PRIVILEGES";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_15;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue