2023-12-30 23:39:33 +01:00
|
|
|
{ config, lib, ... }:
|
2023-12-29 16:43:40 +01:00
|
|
|
|
2023-12-30 23:39:33 +01:00
|
|
|
let cfg = config.jopejoe1.plasma6;
|
|
|
|
in {
|
2023-12-29 16:43:40 +01:00
|
|
|
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;
|
|
|
|
};
|
2024-04-03 21:48:48 +02:00
|
|
|
};
|
|
|
|
desktopManager.plasma6 = {
|
|
|
|
enable = true;
|
|
|
|
enableQt5Integration = true;
|
2023-12-29 16:43:40 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-12-30 23:39:33 +01:00
|
|
|
programs.kdeconnect = { enable = true; };
|
|
|
|
|
|
|
|
networking.networkmanager.enable = true;
|
2023-12-29 16:43:40 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|