summaryrefslogtreecommitdiff
path: root/hosts/common/desktop/plasma.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/desktop/plasma.nix')
-rw-r--r--hosts/common/desktop/plasma.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/hosts/common/desktop/plasma.nix b/hosts/common/desktop/plasma.nix
index ddd3a28..f06fe23 100644
--- a/hosts/common/desktop/plasma.nix
+++ b/hosts/common/desktop/plasma.nix
@@ -1,8 +1,10 @@
-{pkgs, ...}: {
- imports = [
- ./.
- ];
-
+{
+ config,
+ pkgs,
+ ...
+}:
+if config.sys.desktop == "plasma"
+then {
services.xserver = {
displayManager.sddm.enable = true;
desktopManager.plasma5 = {
@@ -17,3 +19,4 @@
};
};
}
+else {}