mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
pantheon.switchboard-with-plugs: optionals
This commit is contained in:
parent
35b7b17125
commit
f8b86fae8a
@ -12,7 +12,7 @@
|
||||
let
|
||||
selectedPlugs =
|
||||
if plugs == null then switchboardPlugs
|
||||
else plugs ++ (lib.optional useDefaultPlugs switchboardPlugs);
|
||||
else plugs ++ (lib.optionals useDefaultPlugs switchboardPlugs);
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "${switchboard.name}-with-plugs";
|
||||
|
Loading…
Reference in New Issue
Block a user