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"
|
export PATH="${PATH}:${CARGO_HOME}/bin"
|
||||||
|
|
||||||
## Dotnet ###
|
## Dotnet ###
|
||||||
export DOTNET_CLI_HOME="${XDG_DATA_HOME}/dotnet"
|
export DOTNET_ROOT="${DOTNET_ROOT:-"$XDG_DATA_HOME/dotnet"}"
|
||||||
export DOTNET_ROOT="${XDG_DATA_HOME}/dotnet"
|
export DOTNET_CLI_HOME="${DOTNET_ROOT}"
|
||||||
export PATH="${PATH}:${XDG_DATA_HOME}/dotnet"
|
|
||||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
export NUGET_PACKAGES="${XDG_DATA_HOME}/NugetPackages"
|
export NUGET_PACKAGES="${NUGET_PACKAGES:-"$XDG_DATA_HOME/NugetPackages"}"
|
||||||
export OMNISHARPHOME="${XDG_CONFIG_HOME}/omnisharp"
|
export OMNISHARPHOME="${OMNISHARPHOME:-"$XDG_CONFIG_HOME/omnisharp"}"
|
||||||
export PATH="${PATH}:${HOME}/.dotnet/tools"
|
export PATH="${PATH}:${DOTNET_ROOT}"
|
||||||
|
export PATH="${PATH}:${DOTNET_CLI_HOME}/tools"
|
||||||
|
|
||||||
### Go ###
|
### Go ###
|
||||||
export GOPATH="${XDG_DATA_HOME}/go"
|
export GOPATH="${XDG_DATA_HOME}/go"
|
||||||
|
@ -34,7 +34,6 @@ in
|
|||||||
deno
|
deno
|
||||||
powershell
|
powershell
|
||||||
vesktop
|
vesktop
|
||||||
csharp-ls
|
|
||||||
vimiv-qt
|
vimiv-qt
|
||||||
kooha
|
kooha
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
@ -62,7 +61,6 @@ in
|
|||||||
swaylock-effects
|
swaylock-effects
|
||||||
luajit
|
luajit
|
||||||
imagemagick
|
imagemagick
|
||||||
dotnet-sdk_8
|
|
||||||
shellcheck
|
shellcheck
|
||||||
openjdk
|
openjdk
|
||||||
nodejs
|
nodejs
|
||||||
|
Loading…
Reference in New Issue
Block a user