Plasma 6 config #2

Merged
JustScreaMy merged 4 commits from init-kde into master 2024-11-13 11:37:31 +01:00
3 changed files with 29 additions and 1 deletions
Showing only changes of commit 6cc4677b97 - Show all commits

View file

@ -37,7 +37,7 @@
enable = true;
changeDefaultNetwork = true;
};
de.gnome = {
de.plasma = {
enable = true;
};
};

View file

@ -2,5 +2,6 @@
{
imports = [
./gnome.nix
./plasma.nix
];
}

View file

@ -0,0 +1,27 @@
{
config,
pkgs,
lib,
...
}:
let
cfg = config.krop.de.plasma;
in
{
options.krop.de.plasma = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Enable KDE plasma";
};
};
config = lib.mkIf cfg.enable {
services.xserver = {
enable = true;
displayManager.sddm.enable = true;
displayManager.sddm.wayland.enable = true;
desktopManager.plasma6.enable = true;
};
};
}