feat: Added stuff

This commit is contained in:
uttarayan21
2025-07-02 17:21:10 +05:30
parent 9c4d5a219d
commit c80288fadf
14 changed files with 93 additions and 40 deletions

View File

@@ -1,5 +1,12 @@
{...}: {
services = {
caddy.enable = true;
caddy = {
enable = true;
# virtualHosts = {
# "home.darksailor.dev".extraConfig = ''
# reverse_proxy http://tsuba.lemur-newton.ts.net:8123
# '';
# };
};
};
}

View File

@@ -9,6 +9,7 @@
./caddy.nix
./fail2ban.nix
./gitea.nix
# ./nextcloud.nix
# ./navidrome.nix
# ./home-assistant.nix
@@ -16,7 +17,6 @@
# ./polaris.nix
# ./syncthing.nix
# ./vscode.nix
# ./nextcloud.nix
# ./ldap.nix
# ./llama.nix
# ./nextcloud.nix

View File

@@ -8,15 +8,20 @@
};
services = {
nextcloud = {
enable = false;
enable = true;
package = pkgs.nextcloud30;
# extraApps = {
# inherit (config.services.nextcloud.package.packages.apps) news contacts calendar;
# };
# extraAppsEnable = true;
hostName = "cloud.darksailor.dev";
config.adminuser = "servius";
config.adminpassFile = config.sops.secrets."nextcloud/adminpass".path;
config.dbtype = "sqlite";
configureRedis = true;
https = true;
datadir = "/media/nextcloud";
https = false;
# datadir = "/media/nextcloud";
home = "/media/nextcloud";
};
caddy = {
virtualHosts."cloud.darksailor.dev".extraConfig = ''