TODO
This commit is contained in:
parent
bab06888cb
commit
5087ef8b88
|
@ -10,7 +10,12 @@ Or for pushing:
|
||||||
# do once to setup
|
# do once to setup
|
||||||
$ ssh -t beefcake 'cdd && git config receive.denyCurrentBranch updateInstead'
|
$ ssh -t beefcake 'cdd && git config receive.denyCurrentBranch updateInstead'
|
||||||
|
|
||||||
|
# probably regenerate and commit flake.lock from this directory
|
||||||
|
nix flake lock
|
||||||
|
|
||||||
# push and rebuild+switch
|
# push and rebuild+switch
|
||||||
$ git push beefcake:~/.config/lytedev-dotfiles
|
$ git push beefcake:~/.config/lytedev-dotfiles
|
||||||
$ ssh -t beefcake 'cd ~/.config/lytedev-dotfiles/os/linux/nix && sudo nixos-rebuild switch --flake .# && echo DONE'
|
$ ssh -t beefcake 'cd ~/.config/lytedev-dotfiles/os/linux/nix && sudo nixos-rebuild switch --flake .# && echo DONE'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- **TODO**: check stuff during receive with a hook?
|
||||||
|
|
Reference in a new issue