feat(dotnet): disable config and move to templates

This commit is contained in:
Felix Schröter 2020-09-09 19:00:05 +02:00
parent c42f889863
commit fdafcbf202
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
4 changed files with 1 additions and 2 deletions

View file

@ -1,20 +0,0 @@
{ config, pkgs, ... }:
with pkgs;
let
dotnet-combined = with dotnetCorePackages; combinePackages [ sdk_3_1 sdk_2_1 ];
dotnetRoot = "${dotnet-combined}";
dotnetSdk = "${dotnet-combined}/sdk";
dotnetBinary = "${dotnetRoot}/bin/dotnet";
in
{
home.packages = [
dotnet-combined
];
home.sessionVariables = {
DOTNET_ROOT = dotnetRoot;
MSBuildSdksPath = "${dotnetSdk}/$(${dotnetBinary} --version)/Sdks";
MSBUILD_EXE_PATH = "${dotnetSdk}/$(${dotnetBinary} --version)/MSBuild.dll";
};
}

View file

@ -11,7 +11,6 @@ with pkgs;
./keybase.nix
./signal.nix
./browsers
./dotnet.nix
./planck.nix
];

View file

@ -4,7 +4,6 @@
imports = [
./shell
./editors
./dotnet.nix
./desktop
./desktop/monitors.nix
./vpn.nix