chayleaf
4f531a83a9
However, Nix has some annoying store semantics when integrating with .git repos, so I move .git to .git.bak whenever I'm not working with git.
12 lines
484 B
Bash
Executable file
12 lines
484 B
Bash
Executable file
#!/usr/bin/env bash
|
|
cp ~/.config/nixpkgs/overlays.nix ./overlays.nix || echo "probably no overlays exist"
|
|
nix flake update
|
|
nvfetcher \
|
|
-o ./home/_sources \
|
|
-c ./home/nvfetcher.toml || echo "failed to update nvfetcher sources"
|
|
mozilla-addons-to-nix \
|
|
./home/pkgs/firefox-addons/addons.json \
|
|
./home/pkgs/firefox-addons/generated.nix || echo "failed to update firefox addons"
|
|
s nixos-rebuild switch --flake . || sudo nixos-rebuild switch --flake .
|
|
home-manager switch --flake .
|