base: use *only* nvidia driver if GPU is nvidia
This commit is contained in:
parent
be9268236a
commit
ef59fd800e
|
@ -12,8 +12,8 @@
|
|||
xserver = {
|
||||
enable = true;
|
||||
# NOTE: could use `mkOptionDefault` but this feels more explicit
|
||||
videoDrivers = options.services.xserver.videoDrivers.default
|
||||
++ lib.optional config.my.gui.isNvidia "nvidia";
|
||||
videoDrivers = if config.my.gui.isNvidia then [ "nvidia" ]
|
||||
else options.services.xserver.videoDrivers.default;
|
||||
windowManager.i3.enable = true;
|
||||
layout = "fr";
|
||||
xkbVariant = "us";
|
||||
|
|
Loading…
Reference in a new issue