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
+28
View File
@@ -0,0 +1,28 @@
{ config, pkgs, lib, ... }:
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"sd_mod"
"mpt3sas"
"virtio_pci"
"virtio_scsi"
"virtio_blk"
"virtio_net"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" "kvm-amd" ];
boot.extraModulePackages = [ ];
# Dynamic DHCP on physical interfaces
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}
+82
View File
@@ -0,0 +1,82 @@
{ config, pkgs, lib, ... }:
{
# Core Appliance Settings
services.naxos.core = {
enable = true;
hostName = "naxos";
timeZone = "Europe/Berlin";
};
# Declarative ZFS Storage Engine
services.naxos.storage = {
enable = true;
arcMaxBytes = 4294967296; # 4GB default
autoScrub.enable = true;
autoTrim.enable = true;
autoSnapshot = {
enable = true;
hourly = 24;
daily = 7;
weekly = 4;
monthly = 12;
};
};
# Network File Shares
services.naxos.shares.samba = {
enable = true;
workgroup = "WORKGROUP";
serverString = "NaxOS Appliance";
netbiosName = "naxos";
};
services.naxos.shares.nfs = {
enable = true;
};
# Workload Runtime & App Engine
services.naxos.appEngine = {
enable = true;
defaultRuntime = "docker";
docker.enable = true;
gpuAcceleration.enable = true;
};
# Telemetry & Native Perses Analytics
services.naxos.monitoring = {
enable = true;
};
services.naxos.perses = {
enable = true;
port = 8080;
};
# Management API & Web Dashboard
services.naxos.api = {
enable = true;
port = 8088;
};
services.naxos.ui = {
enable = true;
port = 80;
sslPort = 443;
};
# GitOps Configuration
services.naxos.gitops = {
enable = true;
autoPushOnCommit = true;
};
# Automated Updates
services.naxos.selfUpdate = {
enable = true;
channel = "stable";
};
# Nix System State Version
system.stateVersion = "24.11";
}