From 1c56733f9ef1e382ed3dbfacdc5a312a817cfb08 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Tue, 2 May 2023 01:20:15 +0300 Subject: [PATCH] Fixing Cross for rust --- nixos/desktop/configuration.nix | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/nixos/desktop/configuration.nix b/nixos/desktop/configuration.nix index b8668e8..2b125c8 100644 --- a/nixos/desktop/configuration.nix +++ b/nixos/desktop/configuration.nix @@ -172,12 +172,20 @@ #noto-fonts-emoji ]; - programs.steam = { - enable = true; - remotePlay.openFirewall = - true; # Open ports in the firewall for Steam Remote Play - dedicatedServer.openFirewall = - true; # Open ports in the firewall for Source Dedicated Server + programs = { + steam = { + enable = true; + remotePlay.openFirewall = + true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = + true; # Open ports in the firewall for Source Dedicated Server + }; + + bash ={ + shellAliases = { + cross="NIX_STORE=/nix/store cross"; + }; + }; }; programs.dconf.enable = true;