Last active
November 30, 2021 07:23
-
-
Save cidkidnix/b5fd486657e094f29a320579e72843c7 to your computer and use it in GitHub Desktop.
I hate plasma5 nix scope
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix 2021-11-30 01:07:18.970026114 -0600 | |
+++ a/nixos/modules/services/x11/desktop-managers/plasma5.nix 2021-11-30 01:09:06.331846165 -0600 | |
@@ -138,6 +138,11 @@ | |
description = "Enable the Plasma 5 (KDE 5) desktop environment."; | |
}; | |
+ kwinPackage = mkOption { | |
+ type = types.package; | |
+ default = pkgs.kwin; | |
+ }; | |
+ | |
phononBackend = mkOption { | |
type = types.enum [ "gstreamer" "vlc" ]; | |
default = "gstreamer"; | |
@@ -211,7 +216,7 @@ | |
owner = "root"; | |
group = "root"; | |
capabilities = "cap_sys_nice+ep"; | |
- source = "${getBin plasma5.kwin}/bin/kwin_wayland"; | |
+ source = "${getBin cfg.kwinPackage}/bin/kwin_wayland"; | |
}; | |
}; | |
@@ -284,7 +289,7 @@ | |
kscreenlocker | |
ksystemstats | |
kwayland | |
- kwin | |
+ cfg.kwinPackage | |
kwrited | |
libkscreen | |
libksysguard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment