feat(core): initialize NaxOS declarative NixOS distribution, modules, and ISO installer
Test NaxOS Module Configurations / test-modules (push) Failing after 6m10s

This commit is contained in:
Lukas Holzner
2026-09-03 23:53:18 +02:00
parent 88a638955b
commit 5da58ae6d7
28 changed files with 2247 additions and 2 deletions
+43
View File
@@ -0,0 +1,43 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.naxos.apps.nextcloud;
in {
options.services.naxos.apps.nextcloud = {
enable = mkEnableOption "Nextcloud Personal Cloud & Collaboration Platform";
hostName = mkOption {
type = types.str;
default = "cloud.local";
description = "Domain / hostname for Nextcloud.";
};
homeDir = mkOption {
type = types.str;
default = "/tank/data/nextcloud";
description = "Persistent data directory on ZFS storage.";
};
adminpassFile = mkOption {
type = types.nullOr types.str;
default = null;
description = "Path to file containing initial admin password.";
};
};
config = mkIf cfg.enable {
services.nextcloud = {
enable = true;
hostName = cfg.hostName;
home = cfg.homeDir;
config = {
adminuser = "admin";
adminpassFile = cfg.adminpassFile;
dbtype = "sqlite";
};
caching.redis = true;
};
};
}