mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 07:56:34 +01:00
32 lines
593 B
Nix
32 lines
593 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.plasma5 = {
|
|
enable = true;
|
|
useQtScaling = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.kdeconnect = { enable = true; };
|
|
|
|
networking.networkmanager.enable = true;
|
|
};
|
|
}
|
|
|