
Some checks are pending
🏠 Home Lab CI/CD Pipeline / 🔍 Validate Configuration (push) Waiting to run
🏠 Home Lab CI/CD Pipeline / 🔨 Build Configurations (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 🔒 Security Audit (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 📚 Documentation & Modules (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 🔄 Update Dependencies (push) Waiting to run
🏠 Home Lab CI/CD Pipeline / 🚀 Deploy Configuration (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 📢 Notify Results (push) Blocked by required conditions
✅ Major deployment milestone achieved:
**sleeper-service Configuration:**
- Successfully deployed flake-based NixOS on Intel Xeon file server
- Resolved ZFS mounting conflicts causing boot failures
- Implemented ZFS native mounting (/mnt/storage, /mnt/storage/media)
- Added Pi-hole DNS integration (10.0.0.14) for package resolution
- Configured systemd-networkd with static IP (10.0.0.8)
- System boots cleanly in ~1 minute with ZFS auto-mounting
**Infrastructure Updates:**
- SSH key management deployed and operational
- Network configuration with multi-tier DNS (Pi-hole, router, Google)
- NFS server configuration for network storage
- Data preservation verified: 903GB ZFS pool intact
**Technical Solutions:**
- Added nomodeset kernel parameter for graphics compatibility
- Disabled NVIDIA drivers for headless server operation
- Removed conflicting ZFS entries from hardware-configuration.nix
- Established remote deployment workflow via rsync + SSH
**Documentation:**
- Updated plan.md with deployment status and lessons learned
- Added deployment commands and troubleshooting notes
- Documented ZFS native mounting migration process
**Data Verified:**
- Films: 184GB, Series: 612GB, Audiobooks: 94GB, Music: 9.1GB, Books: 3.5GB
- Storage pool: 903GB used, 896GB available
- All media accessible via proper ZFS auto-mounting
This represents the first successful multi-machine flake deployment in the home lab infrastructure migration.
30 lines
863 B
Nix
30 lines
863 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Nextcloud Config
|
|
environment.etc."nextcloud-admin-pass".text = "siKKerhet666";
|
|
services.nextcloud = {
|
|
enable = true;
|
|
hostName = "server1.tail807ea.ts.net";
|
|
|
|
# Ssl Let'encrypt
|
|
#hostName = "cloud.geokkjer.eu";
|
|
#https = true;
|
|
|
|
# Auto-update Nextcloud Apps
|
|
autoUpdateApps.enable = true;
|
|
# Set what time makes sense for you
|
|
autoUpdateApps.startAt = "05:00:00";
|
|
# enable redis cache
|
|
configureRedis = true;
|
|
# Create db locally , maybe not needed with sqlite
|
|
database.createLocally = true;
|
|
# Config options
|
|
config = {
|
|
dbtype = "sqlite";
|
|
adminpassFile = "/etc/nextcloud-admin-pass";
|
|
trustedProxies = [ "46.226.104.98" "100.75.29.52" ];
|
|
extraTrustedDomains = [ "localhost" "*.cloudflare.net" "*.tail807ea.ts.net" "46.226.104.98" "*.geokkjer.eu" ];
|
|
};
|
|
};
|
|
}
|