Big refactor WIP

This commit is contained in:
2022-04-15 16:40:32 +01:00
parent b1b692dbdf
commit ec73d821aa
35 changed files with 107 additions and 206 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -1,6 +0,0 @@
#!/bin/sh
pushd ~/.dotfiles
hn=$(hostname)
home-manager switch --flake .#daniel-$hn
popd