[desktop] Refactor into multiple components

This commit is contained in:
2025-02-15 10:21:22 -08:00
parent 16fa4a641c
commit d6e031efd0
11 changed files with 139 additions and 79 deletions

12
roles/desktop/kde.nix Normal file
View File

@@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.roles.desktop;
in
{
config = mkIf (cfg.enable && cfg.kde) {
services.desktopManager.plasma6.enable = true;
};
}