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:
parent
856d9c2b49
commit
dddcd10ecc
@ -548,7 +548,7 @@ in
|
||||
knownVideoDrivers;
|
||||
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 = [
|
||||
{ assertion = config.security.polkit.enable;
|
||||
|
Loading…
Reference in New Issue
Block a user