summary refs log tree commit diff
path: root/nixos/modules/installer/tools/nixos-generate-config.pl
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2014-02-18 23:11:49 +0100
committerPascal Wittmann <mail@pascal-wittmann.de>2014-02-18 23:11:49 +0100
commit516cdc25a46bfd42638a032123be5eb9c6f0b39b (patch)
treedf6bfaa83e76ef6927f6f5921991190be153d7a2 /nixos/modules/installer/tools/nixos-generate-config.pl
parent8c83ae965fc81bc7c647ffbe705d4d5e7d2fbfe1 (diff)
downloadnixlib-516cdc25a46bfd42638a032123be5eb9c6f0b39b.tar
nixlib-516cdc25a46bfd42638a032123be5eb9c6f0b39b.tar.gz
nixlib-516cdc25a46bfd42638a032123be5eb9c6f0b39b.tar.bz2
nixlib-516cdc25a46bfd42638a032123be5eb9c6f0b39b.tar.lz
nixlib-516cdc25a46bfd42638a032123be5eb9c6f0b39b.tar.xz
nixlib-516cdc25a46bfd42638a032123be5eb9c6f0b39b.tar.zst
nixlib-516cdc25a46bfd42638a032123be5eb9c6f0b39b.zip
Renamed obsolete option services.xserver.videoDrivers to hardware.opengl.videoDrivers
Diffstat (limited to 'nixos/modules/installer/tools/nixos-generate-config.pl')
-rw-r--r--nixos/modules/installer/tools/nixos-generate-config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl
index 1365f3b93961..b6bc04584770 100644
--- a/nixos/modules/installer/tools/nixos-generate-config.pl
+++ b/nixos/modules/installer/tools/nixos-generate-config.pl
@@ -163,7 +163,7 @@ foreach my $path (glob "/sys/bus/pci/devices/*") {
     pciCheck $path;
 }
 
-push @attrs, "services.xserver.videoDrivers = [ \"$videoDriver\" ];" if $videoDriver;
+push @attrs, "hardware.opengl.videoDrivers = [ \"$videoDriver\" ];" if $videoDriver;
 
 
 # Idem for USB devices.