mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-07 21:36:34 +01:00
34 lines
538 B
Nix
34 lines
538 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|