nixos/desktop-managers: Remove needBGPackages thing
This value isn't used since 71a8dbb956f5735030cd3982263d72f1bffdae23
This commit is contained in:
parent
764aba4c1b
commit
7a7b8d904b
@ -68,8 +68,7 @@ in
|
|||||||
scripts before forwarding the value to the
|
scripts before forwarding the value to the
|
||||||
<varname>displayManager</varname>.
|
<varname>displayManager</varname>.
|
||||||
'';
|
'';
|
||||||
apply = list: {
|
apply = map (d: d // {
|
||||||
list = map (d: d // {
|
|
||||||
manage = "desktop";
|
manage = "desktop";
|
||||||
start = d.start
|
start = d.start
|
||||||
+ optionalString (needBGCond d) ''
|
+ optionalString (needBGCond d) ''
|
||||||
@ -80,9 +79,7 @@ in
|
|||||||
${pkgs.xorg.xsetroot}/bin/xsetroot -solid black
|
${pkgs.xorg.xsetroot}/bin/xsetroot -solid black
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
}) list;
|
});
|
||||||
needBGPackages = [] != filter needBGCond list;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
default = mkOption {
|
default = mkOption {
|
||||||
@ -100,5 +97,5 @@ in
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config.services.xserver.displayManager.session = cfg.session.list;
|
config.services.xserver.displayManager.session = cfg.session;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user