Add gdm gnome sddm kde
This commit is contained in:
parent
4cd9e462d8
commit
4123f8ccac
7 changed files with 183 additions and 3 deletions
24
modules/programs/kde.nix
Normal file
24
modules/programs/kde.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
lib,
|
||||
options,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.mods.kde = {
|
||||
enable = lib.mkOption {
|
||||
default = false;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
description = "Enables the KDE desktop environment";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.mods.kde.enable (
|
||||
lib.optionalAttrs (options ? services.desktopManager.plasma6) {
|
||||
# apparently kde integration is bad -> kdeconfig is too much even for nix, can't blame them :)
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue