Or this?
This commit is contained in:
parent
e49fb06189
commit
140a666c38
|
@ -44,8 +44,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.secrets.queen-Lillian."nextcloudadmin".mode = "0400";
|
sops.secrets."nextcloudadmin".mode = "0400";
|
||||||
sops.secrets.queen-Lillian."nextclouddb".mode = "0400";
|
sops.secrets."nextclouddb".mode = "0400";
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
gc = {
|
gc = {
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf"];
|
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf"];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
nextcloud.extraGroups = [config.sops.secrets.queen-Lillian."nextcloudadmin" config.sops.secrets.queen-Lillian."nextclouddb"];
|
nextcloud.extraGroups = [config.sops.secrets."nextcloudadmin" config.sops.secrets."nextclouddb"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable completion of system packages by zsh
|
# Enable completion of system packages by zsh
|
||||||
|
|
|
@ -53,10 +53,10 @@
|
||||||
dbuser = "nextcloud";
|
dbuser = "nextcloud";
|
||||||
dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself
|
dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself
|
||||||
dbname = "nextcloud";
|
dbname = "nextcloud";
|
||||||
dbpassFile = config.sops.secrets.queen-Lillian."nextclouddb".path;
|
dbpassFile = config.sops.secrets"nextclouddb".path;
|
||||||
|
|
||||||
#TODO: work with sops to set this instead of a file & make sure the db setup is the same as on the previous server for easy migration
|
#TODO: work with sops to set this instead of a file & make sure the db setup is the same as on the previous server for easy migration
|
||||||
adminpassFile = config.sops.secrets.queen-Lillian."nextcloudadmin".path;
|
adminpassFile = config.sops.secrets.nextcloudadmin".path;
|
||||||
adminuser = "admin";
|
adminuser = "admin";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue