Big refactor WIP
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$UID" -ne 0 ]; then
|
||||
sudo true # Prompt user for password so it doesn't happen in the middle of the script
|
||||
fi
|
||||
pushd ~/.dotfiles
|
||||
nix flake update
|
||||
|
||||
hn=$(hostname)
|
||||
home-manager switch --flake .#daniel-$hn
|
||||
|
||||
sudo nixos-rebuild switch --flake .#
|
||||
popd
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$UID" -ne 0 ]; then
|
||||
sudo true # Prompt user for password so it doesn't happen in the middle of the script
|
||||
fi
|
||||
pushd ~/.dotfiles
|
||||
hn=$(hostname)
|
||||
home-manager switch --flake .#daniel-$hn
|
||||
|
||||
sudo nixos-rebuild switch --flake .#
|
||||
popd
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
pushd ~/.dotfiles
|
||||
hn=$(hostname)
|
||||
home-manager switch --flake .#daniel-$hn
|
||||
popd
|
||||
Reference in New Issue
Block a user