Full Refactor and history reset
This commit is contained in:
9
scripts/nixupdate.nix
Normal file
9
scripts/nixupdate.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ pkgs }:
|
||||
|
||||
pkgs.writeShellScriptBin "nixupdate" ''
|
||||
cd /home/joe/.config/nix
|
||||
nix flake update
|
||||
sudo -v
|
||||
sudo nixos-rebuild --flake .#$hostname boot
|
||||
sudo reboot
|
||||
''
|
||||
Reference in New Issue
Block a user