From 76fbc14e11bd2f7b9b5c2084e326d68db0cac49b Mon Sep 17 00:00:00 2001 From: cspark Date: Sun, 24 Mar 2024 13:12:54 +0000 Subject: [PATCH] Dotnet 6.0 support and veracrypt --- global-home.nix | 10 ++++++++++ global.nix | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/global-home.nix b/global-home.nix index 35f43acc..3cc84418 100644 --- a/global-home.nix +++ b/global-home.nix @@ -72,6 +72,7 @@ in kdenlive vlc unityhub + veracrypt mpdcron @@ -213,8 +214,17 @@ in # # /etc/profiles/per-user/cspark/etc/profile.d/hm-session-vars.sh # + + # Add custom directories to $PATH + home.sessionPath = [ + "$HOME/.dotnet/tools" + ]; + home.sessionVariables = { EDITOR = "emacs -nw"; + + # Dotnet path not found fix + DOTNET_ROOT = "${pkgs.dotnet-sdk}"; }; programs.bash = { diff --git a/global.nix b/global.nix index 21e1ac72..ee446741 100644 --- a/global.nix +++ b/global.nix @@ -13,6 +13,7 @@ environment.systemPackages = with pkgs; [ inetutils linuxPackages.usbip + dotnet-sdk ]; systemd.services.usbipd = { description = "Custom service that runs usbipd"; @@ -110,6 +111,9 @@ # Dotnet libicu not found fix DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = "1"; + + # Dotnet path not found fix + DOTNET_ROOT = "${pkgs.dotnet-sdk}"; }; # NixOS Dynamic Libraries Fix