Add Nix-OS specific files

This commit is contained in:
MSWS
2025-07-29 16:28:05 -07:00
parent 6ada09a37b
commit a02583a800
2 changed files with 15 additions and 0 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use nix

14
shell.nix Normal file
View File

@@ -0,0 +1,14 @@
{ pkgs ? import <nixpkgs> {} }:
let
dotnet = pkgs.dotnetCorePackages.sdk_8_0;
in
pkgs.mkShell {
buildInputs = [ dotnet ];
shellHook = ''
export DOTNET_ROOT="${dotnet}/share/dotnet"
export PATH="${dotnet}/bin:$PATH"
'';
}