Fix nvidia-settings wrapper
This commit is contained in:
parent
d494b6b60f
commit
8616ae118a
|
@ -27,7 +27,8 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
(writeScriptBin "nvidia-settings" ''
|
(writeScriptBin "nvidia-settings" ''
|
||||||
#!${stdenv.shell}
|
#!${stdenv.shell}
|
||||||
exec ${config.boot.kernelPackages.nvidia_x11}/bin/nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings"
|
mkdir -p "$XDG_CONFIG_HOME/nvidia"
|
||||||
|
exec ${config.boot.kernelPackages.nvidia_x11.settings}/bin/nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings"
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue