nix-conf/modules/plasma/6.nix
2023-12-30 23:39:33 +01:00

29 lines
548 B
Nix

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