mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 07:15:37 +00:00
16 lines
359 B
Makefile
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
|