Skip to content

Commit

Permalink
fix: correct assertion for withKDE
Browse files Browse the repository at this point in the history
  • Loading branch information
VTimofeenko committed Oct 16, 2023
1 parent 663004b commit 167994d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in
package = mkOption {
type = types.package;
default =
assert (cfg.withKDE -> cfg.serviceMode != "user") || throw "Upstream does not support running withKDE as root";
assert (cfg.withKDE -> cfg.serviceMode == "user") || throw "Upstream does not support running withKDE as root";
if cfg.withWlroots then
selfPkgs'.xremap-wlroots
else if cfg.withSway then
Expand Down

0 comments on commit 167994d

Please sign in to comment.