From 8616ae118ab045540571ad006c4ffe2c6380b376 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 8 Feb 2020 17:42:02 -0500 Subject: [PATCH] Fix nvidia-settings wrapper --- hosts/kuro/hardware-configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" '') ];