All checks were successful
CI / Format Check (push) Successful in 2s
CI / Flake Check (push) Successful in 1m39s
CI / Evaluate Key Configurations (nix-builder) (push) Successful in 8s
CI / Evaluate Key Configurations (nix-desktop1) (push) Successful in 7s
CI / Evaluate Key Configurations (nix-laptop1) (push) Successful in 7s
CI / Evaluate Artifacts (installer-iso-nix-laptop1) (push) Successful in 14s
CI / Evaluate Artifacts (lxc-nix-builder) (push) Successful in 8s
CI / Build and Publish Documentation (push) Successful in 5s
66 lines
1.5 KiB
Nix
66 lines
1.5 KiB
Nix
# ============================================================================
|
|
# Desktop Software Configuration
|
|
# ============================================================================
|
|
# Imports desktop-specific programs and services (KDE Plasma, CUPS, etc.)
|
|
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.athenix.sw.desktop;
|
|
in
|
|
{
|
|
options.athenix.sw.desktop = mkOption {
|
|
type = lib.types.submodule {
|
|
options = {
|
|
enable = mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
description = ''
|
|
Enable full desktop environment with KDE Plasma 6.
|
|
|
|
Includes:
|
|
- KDE Plasma 6 desktop with SDDM display manager
|
|
- Full graphical software suite (Firefox, Chromium, LibreOffice)
|
|
- Printing and scanning support (CUPS)
|
|
- Virtualization (libvirt, virt-manager)
|
|
- Bluetooth and audio (PipeWire)
|
|
- Video conferencing (Zoom, Teams)
|
|
|
|
Recommended for: Workstations, development machines, user desktops
|
|
'';
|
|
example = true;
|
|
};
|
|
};
|
|
};
|
|
default = { };
|
|
description = "Desktop environment configuration (KDE Plasma 6).";
|
|
};
|
|
|
|
config = mkIf cfg.enable (mkMerge [
|
|
(import ./programs.nix {
|
|
inherit
|
|
config
|
|
lib
|
|
pkgs
|
|
inputs
|
|
;
|
|
})
|
|
(import ./services.nix {
|
|
inherit
|
|
config
|
|
lib
|
|
pkgs
|
|
inputs
|
|
;
|
|
})
|
|
]);
|
|
}
|