From f8b55993ce173cd4babfd453a0b37c886b45afca Mon Sep 17 00:00:00 2001 From: MoritzBoehme Date: Fri, 10 Sep 2021 12:12:10 +0000 Subject: [PATCH] updated scripts --- apply-users.sh | 4 ---- apply.sh | 2 +- update-system.sh | 2 -- update.sh | 4 +++- 4 files changed, 4 insertions(+), 8 deletions(-) delete mode 100755 apply-users.sh delete mode 100755 update-system.sh 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