diff --git a/apply-users.sh b/apply-users.sh deleted file mode 100755 index 46188e8..0000000 --- a/apply-users.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -pushd ~/.dotfiles -home-manager switch -f ./users/moritz/home.nix -popd diff --git a/apply.sh b/apply.sh index cb7c679..36c3c36 100755 --- a/apply.sh +++ b/apply.sh @@ -1,4 +1,4 @@ #!/bin/sh pushd ~/.dotfiles -sudo nixos-rebuild switch -I nixos-config=./system/configuration.nix +sudo nixos-rebuild switch --flake .# popd diff --git a/update-system.sh b/update-system.sh deleted file mode 100755 index 0a7262f..0000000 --- a/update-system.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -sudo nix-channel --update diff --git a/update.sh b/update.sh index aadccd6..f34db55 100755 --- a/update.sh +++ b/update.sh @@ -1,2 +1,4 @@ #!/bin/sh -nix-channel --update +pushd ~/.dotfiles +sudo nixos-rebuild switch --flake .# --upgrade +popd