dotfiles/nixos/justfile

16 lines
359 B
Makefile
Raw Normal View History

2021-08-09 12:19:21 +00:00
# Show these options
default:
@just --list --list-heading $'Update NixOS config:\n'
2021-11-24 03:19:19 +00:00
channel:
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos-unstable
nix-channel --update
2021-08-09 12:19:21 +00:00
# Update the system
system:
nixos-rebuild switch -I nixos-config=./configuration.nix
# Update the user environment
home:
home-manager switch -f ./home.nix