diff --git a/users/deck/home.nix b/users/deck/home.nix index 3fcc217..a1f7b02 100644 --- a/users/deck/home.nix +++ b/users/deck/home.nix @@ -7,6 +7,18 @@ konsole -e bash -c "nix flake metadata --refresh github:Silveere/nixfiles; nh home switch github:Silveere/nixfiles" '') + ( + pkgs.runCommand "deckwrap" {} '' + mkdir -p $out/bin/ + cat << EOF > $out/bin/deckwrap + #!/bin/sh + #this shebang is a constant between nixos and non-nixos that can be + #used to unset the two things below so we can get to the real command + unset LD_PRELOAD LD_LIBRARY_PATH + + exec "$@" + '' + ) ]; programs.keychain.enable = false; nixfiles.packageSets.gaming.enable = true;