diff --git a/hosts/kuro/hardware-configuration.nix b/hosts/kuro/hardware-configuration.nix index 099cf9f3..3fb9ce52 100644 --- a/hosts/kuro/hardware-configuration.nix +++ b/hosts/kuro/hardware-configuration.nix @@ -27,7 +27,8 @@ environment.systemPackages = with pkgs; [ (writeScriptBin "nvidia-settings" '' #!${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" '') ];