feat: initial NixOS home lab infrastructure setup

- Add modular flake-based NixOS configuration
- Implement GitOps foundation with CI/CD pipeline
- Create comprehensive documentation and branching strategy
- Add modular desktop environments (GNOME, Cosmic, Sway)
- Configure virtualization stack (Incus, Libvirt, Podman)
- Set up development tools and hardware-specific modules
- Establish user configuration with literate programming support

This commit represents the completion of Phase 1: Flakes Migration
with modular configuration, virtualization, and GitOps foundation.
This commit is contained in:
Geir Okkenhaug Jerstad 2025-06-04 16:10:13 +02:00
commit f30013723e
43 changed files with 4220 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ config, pkgs, ... }: {
# AMD GPU configuration
hardware.amdgpu.initrd.enable = true;
# Firmware updates and proprietary firmware
services.fwupd.enable = true;
hardware.enableRedistributableFirmware = true;
# Bluetooth configuration
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
# ZRAM swap configuration
zramSwap = {
enable = true;
algorithm = "zstd";
};
# Audio system (PipeWire)
services.pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
# Gaming support
programs.steam.enable = true;
}