nix-conf/modules/plasma/default.nix
2024-05-01 09:00:08 +02:00

32 lines
583 B
Nix

{ config, lib, ... }:
let cfg = config.jopejoe1.plasma;
in {
options.jopejoe1.plasma = {
enable = lib.mkEnableOption "Enable KDE Plasma";
};
config = lib.mkIf cfg.enable {
services = {
xserver = {
enable = true;
};
libinput.enable = true;
displayManager.sddm = {
enable = true;
enableHidpi = true;
};
desktopManager.plasma6 = {
enable = true;
enableQt5Integration = true;
};
};
programs.kdeconnect = { enable = true; };
networking.networkmanager.enable = true;
};
}