dots/modules/nixos/features/plasma.nix
2025-09-08 16:14:14 +10:00

36 lines
589 B
Nix

{
config,
lib,
pkgs,
...
}:
let
feature = "plasma";
in
{
config = lib.mkIf config.${feature}.enable {
services = {
desktopManager.plasma6.enable = true;
displayManager.sddm = {
enable = true;
wayland.enable = true;
};
};
environment.systemPackages =
with pkgs.kdePackages;
[
kontact
ktorrent
kget
kzones
]
++ (with pkgs; [
kile
haruna
onlyoffice-desktopeditors
]);
};
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
}