89022e0d50
- add aarch64-linux to supported systems (flake + pkgs) - refactor host definitions into tty/desktop/laptop configurations - introduce sharedModules to reduce duplication - split system modules into base, gui, and laptop groups - add headless (tty) configuration feat(fish): add Ctrl+Delete and Alt+Delete bindings - Ctrl+Delete → kill-word - Alt+Delete → kill-token chore(hosts): remove explicit hostname from aesthetic chore(services): remove forced disable of speechd
38 lines
796 B
Nix
38 lines
796 B
Nix
let
|
|
# Base system - common for all configurations
|
|
base = [
|
|
./core/default.nix
|
|
|
|
./hardware/fwupd.nix
|
|
./network/default.nix
|
|
|
|
./programs
|
|
|
|
./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;
|
|
}
|