updated scripts

nixos
Moritz Böhme 2021-09-10 12:12:10 +00:00
parent 0c3ed78821
commit f8b55993ce
4 changed files with 4 additions and 8 deletions

View File

@ -1,4 +0,0 @@
#!/bin/sh
pushd ~/.dotfiles
home-manager switch -f ./users/moritz/home.nix
popd

View File

@ -1,4 +1,4 @@
#!/bin/sh
pushd ~/.dotfiles
sudo nixos-rebuild switch -I nixos-config=./system/configuration.nix
sudo nixos-rebuild switch --flake .#
popd

View File

@ -1,2 +0,0 @@
#!/bin/sh
sudo nix-channel --update

View File

@ -1,2 +1,4 @@
#!/bin/sh
nix-channel --update
pushd ~/.dotfiles
sudo nixos-rebuild switch --flake .# --upgrade
popd