dotfiles/nixos/justfile
2022-01-21 19:22:31 -05:00

16 lines
359 B
Makefile

# Show these options
default:
@just --list --list-heading $'Update NixOS config:\n'
channel:
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos-unstable
nix-channel --update
# Update the system
system:
nixos-rebuild switch -I nixos-config=./configuration.nix
# Update the user environment
home:
home-manager switch -f ./home.nix