Files
nixos-config/system/default.nix
T
jory c5f771bd53
CI / Formatting check (x86_64-linux) (push) Has been cancelled
CI / Flake check (aarch64-linux) (push) Has been cancelled
CI / Flake check (x86_64-linux) (push) Has been cancelled
CI / Formatting check (aarch64-linux) (push) Has been cancelled
Added hetzner server configs
2026-07-11 20:28:51 +02:00

39 lines
805 B
Nix

let
# Base system - common for all configurations
base = [
./core/default.nix
./hardware/fwupd.nix
./network/default.nix
./programs
./services/default.nix
./services/docker.nix
./services/xdg-portal-fix.nix
];
# GUI-specific modules (display manager, GPU, pipewire)
gui = [
./core/boot.nix # plymouth boot splash
./hardware/graphics.nix # GPU drivers
./services/greetd.nix # display manager
./services/pipewire.nix # audio
];
# Laptop-specific modules (battery, bluetooth)
laptop = [
./hardware/bluetooth.nix
./services/power.nix
];
in {
# TTY: desktop headless (no GUI)
tty = base;
# Desktop: desktop with GUI
desktop = base ++ gui;
# Laptop: laptop with GUI + battery + bluetooth
laptop = base ++ gui ++ laptop;
}