refactor(nix/hm/price): improve handling of dotnet
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m10s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m10s
This commit is contained in:
parent
a8f2e16dbc
commit
490d375e29
16
users/price/conf/dotnet/default.nix
Normal file
16
users/price/conf/dotnet/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
dotnet-sdk_8
|
||||
csharp-ls
|
||||
];
|
||||
sessionVariables = rec {
|
||||
OMNISHARPHOME = "${config.xdg.configHome}/omnisharp";
|
||||
NUGET_PACKAGES = "${config.xdg.dataHome}/NuGetPackages";
|
||||
DOTNET_ROOT = "${config.xdg.dataHome}/Dotnet";
|
||||
DOTNET_CLI_HOME = DOTNET_ROOT;
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT = 1;
|
||||
};
|
||||
};
|
||||
}
|
@ -139,13 +139,13 @@ fi
|
||||
export PATH="${PATH}:${CARGO_HOME}/bin"
|
||||
|
||||
## Dotnet ###
|
||||
export DOTNET_CLI_HOME="${XDG_DATA_HOME}/dotnet"
|
||||
export DOTNET_ROOT="${XDG_DATA_HOME}/dotnet"
|
||||
export PATH="${PATH}:${XDG_DATA_HOME}/dotnet"
|
||||
export DOTNET_ROOT="${DOTNET_ROOT:-"$XDG_DATA_HOME/dotnet"}"
|
||||
export DOTNET_CLI_HOME="${DOTNET_ROOT}"
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
export NUGET_PACKAGES="${XDG_DATA_HOME}/NugetPackages"
|
||||
export OMNISHARPHOME="${XDG_CONFIG_HOME}/omnisharp"
|
||||
export PATH="${PATH}:${HOME}/.dotnet/tools"
|
||||
export NUGET_PACKAGES="${NUGET_PACKAGES:-"$XDG_DATA_HOME/NugetPackages"}"
|
||||
export OMNISHARPHOME="${OMNISHARPHOME:-"$XDG_CONFIG_HOME/omnisharp"}"
|
||||
export PATH="${PATH}:${DOTNET_ROOT}"
|
||||
export PATH="${PATH}:${DOTNET_CLI_HOME}/tools"
|
||||
|
||||
### Go ###
|
||||
export GOPATH="${XDG_DATA_HOME}/go"
|
||||
|
@ -34,7 +34,6 @@ in
|
||||
deno
|
||||
powershell
|
||||
vesktop
|
||||
csharp-ls
|
||||
vimiv-qt
|
||||
kooha
|
||||
libreoffice-fresh
|
||||
@ -62,7 +61,6 @@ in
|
||||
swaylock-effects
|
||||
luajit
|
||||
imagemagick
|
||||
dotnet-sdk_8
|
||||
shellcheck
|
||||
openjdk
|
||||
nodejs
|
||||
|
Loading…
Reference in New Issue
Block a user