mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-09 02:13:08 +02:00
23 lines
691 B
Nix
23 lines
691 B
Nix
inputs: { pkgs, config, ... }: {
|
|
services.nextcloud = {
|
|
enable = true;
|
|
package = pkgs.nextcloud27;
|
|
hostName = "localhost";
|
|
config = {
|
|
adminpassFile = "/var/keys/nextcloud_initial_password";
|
|
extraTrustedDomains = [
|
|
"cloud.gra.phite.ro"
|
|
];
|
|
};
|
|
extraApps = with config.services.nextcloud.package.packages.apps; {
|
|
inherit news files_markdown files_texteditor forms maps memories music onlyoffice polls;
|
|
};
|
|
/*
|
|
extraOptions = {
|
|
trusted_domains = [ "https://cloud.gra.phite.ro" ];
|
|
};
|
|
*/
|
|
extraAppsEnable = true;
|
|
};
|
|
services.nginx.virtualHosts."localhost".listen = [ { addr = "127.0.0.1"; port = 3001; } ];
|
|
}
|