Move wsl2-* commands to justfile

This commit is contained in:
Oliver Davies 2024-04-08 13:01:54 +01:00
parent 2027eb4d2b
commit 0171861a44
2 changed files with 14 additions and 50 deletions

View file

@ -15,3 +15,17 @@ nixos-test:
update:
nix flake update
wsl-build:
NIXPKGS_ALLOW_UNFREE=1 home-manager build \
--extra-experimental-features flakes \
--extra-experimental-features nix-command \
--flake ".#wsl2" \
--impure
wsl-switch:
NIXPKGS_ALLOW_UNFREE=1 home-manager switch \
--extra-experimental-features flakes \
--extra-experimental-features nix-command \
--flake ".#wsl2" \
--impure