dotfiles/rebuild-ubuntu.sh

8 lines
235 B
Bash
Raw Normal View History

2023-01-02 05:38:18 +00:00
#!/bin/bash
2023-01-02 17:42:32 +00:00
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/tyrel/channels/nixpkgs:/nix/var/nix/profiles/per-user/tyrel/channels
2023-01-03 05:32:32 +00:00
hostname=$(hostname)
2023-01-02 17:42:32 +00:00
2023-01-03 05:32:32 +00:00
nix run ./hosts/$hostname switch -vv
home-manager switch --flake ./hosts/$hostname