nixos/modules/system/desktop/plasma/default.nix
Florian RICHER 6c93b657c5
All checks were successful
check / check (push) Successful in 27s
Add usbutils and pciutils
2024-06-07 19:53:53 +02:00

31 lines
747 B
Nix

{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.system.desktop.plasma;
in
{
options.modules.system.desktop.plasma = {
enable = mkEnableOption ''
Enable plasma with my custom configurations
'';
};
config = mkIf cfg.enable {
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the KDE Plasma Desktop Environment.
services.displayManager = {
sddm.enable = true;
defaultSession = "plasma";
};
services.desktopManager.plasma6.enable = true;
programs.kdeconnect.enable = true;
environment.systemPackages = with pkgs; with kdePackages; [
krfb # Use by kdeconnect for virtualmonitorplugin "krfb-virtualmonitor"
discover
];
};
}