Services
This commit is contained in:
parent
fb0d8526ff
commit
22a3f0b5de
9 changed files with 160 additions and 3 deletions
26
systems/x86_64-linux/stargate/services/nextcloud.nix
Normal file
26
systems/x86_64-linux/stargate/services/nextcloud.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
namespace,
|
||||
system,
|
||||
target,
|
||||
format,
|
||||
virtual,
|
||||
systems,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.custom; {
|
||||
sops.secrets."services/nextcloud" = {owner = "nextcloud";};
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
database.createLocally = true;
|
||||
config = {
|
||||
dbtype = "pgsql";
|
||||
adminpassFile = config.sops.secrets."services/nextcloud".path;
|
||||
};
|
||||
hostName = "nextcloud.localhost";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue