Don't set 'config.xorg = {}'
This makes memoization of Nixpkgs evaluation less effective, since
some Nixpkgs invocations may have 'config = {}' while others may have
'config = { xorg = {}; }'.
Instead set 'config = {}'.
This commit is contained in:
@@ -548,7 +548,7 @@ in
|
|||||||
knownVideoDrivers;
|
knownVideoDrivers;
|
||||||
in optional (driver != null) ({ inherit name; modules = []; driverName = name; } // driver));
|
in optional (driver != null) ({ inherit name; modules = []; driverName = name; } // driver));
|
||||||
|
|
||||||
nixpkgs.config.xorg = optionalAttrs (elem "vboxvideo" cfg.videoDrivers) { abiCompat = "1.18"; };
|
nixpkgs.config = optionalAttrs (elem "vboxvideo" cfg.videoDrivers) { xorg.abiCompat = "1.18"; };
|
||||||
|
|
||||||
assertions = [
|
assertions = [
|
||||||
{ assertion = config.security.polkit.enable;
|
{ assertion = config.security.polkit.enable;
|
||||||
|
|||||||
Reference in New Issue
Block a user