set unstable

default:
  @just --list

update:
  git pull
  sudo nixos-rebuild switch --flake .
  home-manager switch --flake .
  
clean:
  sudo nix-collect-garbage -d
  nix-collect-garbage -d

fmt:
  nix fmt

switch:
  sudo nixos-rebuild switch --flake .
  home-manager switch --flake .

switch-system:
  sudo nixos-rebuild switch --flake .

switch-home-manager:
  home-manager switch --flake .
