dotfiles/nixos/rebuild.sh

5 lines
122 B
Bash
Raw Normal View History

#!/usr/bin/env sh
rm flake.lock
nix flake update --impure --inputs-from .
sudo nixos-rebuild switch --flake '.#' --impure