Merge pull request #76116 from worldofpeace/pantheon-cleanup
Pantheon cleanups
This commit is contained in:
@@ -5,10 +5,14 @@
|
||||
, switchboard
|
||||
, switchboardPlugs
|
||||
, plugs
|
||||
# Only useful to disable for development testing.
|
||||
, useDefaultPlugs ? true
|
||||
}:
|
||||
|
||||
let
|
||||
selectedPlugs = if plugs == null then switchboardPlugs else plugs;
|
||||
selectedPlugs =
|
||||
if plugs == null then switchboardPlugs
|
||||
else plugs ++ (lib.optional useDefaultPlugs switchboardPlugs);
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "${switchboard.name}-with-plugs";
|
||||
|
||||
Reference in New Issue
Block a user