This commit is contained in:
ari committed 2026-09-03 23:18:08 -04:00
1 parent f2f6ce0ec1
commit dca14c1a78
11 files changed
+128 -15

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ hosts/
| `hl-minipc2.nix` | hl-minipc2 | Container/media server |
| `hl-minipc3.nix` | hl-minipc3 | K3s worker node |
| `hl-pi1.nix` | hl-pi1 | Raspberry Pi CM4 (aarch64) — headless server, SSH only. Also buildable as a bootable SD image via the `hl-pi1-sd-image` nixosConfiguration (`skyg build-pi-sd-image`) |
| `hl-pi2.nix` | hl-pi2 | Raspberry Pi 4 (aarch64) — headless server, SSH only. Also buildable as a bootable SD image via the `hl-pi2-sd-image` nixosConfiguration |
| `hl-terra1.nix` | hl-terra1 | NFS storage + Jellyfin backup |
| `iso.nix` | iso | Bootable NixOS installer image |
+1
View File
@@ -37,6 +37,7 @@ in
desktop = {
enable = true;
crypto.enable = true;
printers.enable = true;
fixes = {
airpod-bluetooth.enabled = true;
};
+19 -2
View File
@@ -1,7 +1,24 @@
{ lib, pkgs, determinate, ... }:
{
skyg.user.enable = true;
skyg.nixos.common.ssh-server.enable = true;
skyg = {
user.enable = true;
nixos = {
common.ssh-server.enable = true;
common.hardware = {
sound.enable = true;
pipewire.enable = true;
};
desktop = {
enable = true;
tiler = {
enable = true;
hyprland.enable = true;
noctalia.enable = true;
quickshell.enable = true;
};
};
};
};
# Determinate Nix builds its own Nix from source (no aarch64-linux binary
# cache hit for us), and its test suite fails under QEMU emulation because
+25
View File
@@ -0,0 +1,25 @@
{ lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "usbhid" "usb_storage" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
};
fileSystems."/boot/firmware" = {
device = "/dev/disk/by-label/FIRMWARE";
fsType = "vfat";
options = [ "nofail" "noauto" ];
};
swapDevices = [ ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}
+43
View File
@@ -0,0 +1,43 @@
{ lib, pkgs, determinate, ... }:
{
skyg = {
user.enable = true;
nixos = {
common.ssh-server.enable = true;
common.hardware = {
sound.enable = true;
pipewire.enable = true;
};
desktop = {
enable = true;
tiler = {
enable = true;
hyprland.enable = true;
noctalia.enable = false;
quickshell.enable = true;
};
};
};
};
# Determinate Nix builds its own Nix from source (no aarch64-linux binary
# cache hit for us), and its test suite fails under QEMU emulation because
# nested seccomp doesn't work through the translation layer. Skip the test
# suite for this build only — Determinate Nix itself stays enabled.
nix.package = lib.mkForce (
determinate.inputs.nix.packages.${pkgs.stdenv.system}.default.overrideAttrs (old: {
doCheck = false;
})
);
# Pi 4 boots via Pi firmware + U-Boot reading extlinux.conf (set up by the
# official NixOS SD image) — not systemd-boot/EFI like the other hosts.
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
# Serial console, useful for headless debugging over UART.
boot.kernelParams = [ "console=ttyS0,115200n8" "console=tty0" ];
# SD image has no swap partition; use compressed RAM swap instead.
zramSwap.enable = true;
}