f489259af9
- Add fingerprint.nix hardware module with TOD driver support - Create separate laptop-work configuration with Cisco, Himmelblau, and MDATP work modules - Move work-specific modules from shared to laptop-work profile - Change work module enable defaults to false for better security-by-default - Add MDATP support with enhanced modular structure
40 lines
849 B
Nix
40 lines
849 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, fingerprint)
|
|
laptop = [
|
|
./hardware/bluetooth.nix
|
|
./hardware/fingerprint.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;
|
|
}
|