dotfiles/nixos/rebuild.sh

4 lines
108 B
Bash
Executable File

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