nix-conf/modules/plasma/6.nix

30 lines
548 B
Nix
Raw Normal View History

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;
};
2023-12-30 23:39:33 +01:00
desktopManager.plasma6 = { enable = 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
};
}