nix-conf/modules/plasma/default.nix
2023-12-29 16:43:40 +01:00

34 lines
565 B
Nix

{ config, lib, pkgs, ... }:
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.plasma5 = {
enable = true;
useQtScaling = true;
};
};
};
programs.kdeconnect = {
enable = true;
};
};
}