diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index fc065973..ec2dbc61 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -16,6 +16,7 @@ desktop = { kitty.enable = true; bspwm.enable = true; + kde.enable = true; browsers = { qutebrowser.enable = true; # for those quick thinsg where i dont know how to do it on qutebrowser diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 6105ae8c..58d45f03 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -2,6 +2,7 @@ imports = [ ./kitty ./bspwm + ./kde ./browsers ./apps ./game diff --git a/modules/desktop/kde/default.nix b/modules/desktop/kde/default.nix new file mode 100644 index 00000000..94d844eb --- /dev/null +++ b/modules/desktop/kde/default.nix @@ -0,0 +1,18 @@ +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let + cfg = config.modules.desktop.kde; +in +{ + options.modules.desktop.kde = { + enable = mkEnableOption false; + }; + + config = mkIf cfg.enable { + services.xserver = { + enable = true; + libinput.enable = true; + desktopManager.plasma5.enable = true; + }; + }; +}