Fix nixfmt
This commit is contained in:
parent
ba7db5a22e
commit
f343221d86
3 changed files with 10 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
{ config, pkgs, ... }: let
|
||||
host = "chur.fh2.ch";
|
||||
{ config, pkgs, ... }:
|
||||
let host = "chur.fh2.ch";
|
||||
in {
|
||||
|
||||
imports = [
|
||||
|
|
|
@ -2,15 +2,12 @@
|
|||
|
||||
{
|
||||
|
||||
imports = [
|
||||
../../role/database
|
||||
];
|
||||
imports = [ ../../role/database ];
|
||||
services.postgresql = {
|
||||
ensureDatabases = [ "nextcloud" ];
|
||||
ensureUsers = [
|
||||
{ name = "nextcloud";
|
||||
ensureUsers = [{
|
||||
name = "nextcloud";
|
||||
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
|
||||
}
|
||||
];
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue