This commit is contained in:
Daniel Flanagan 2023-07-27 17:19:00 -05:00
parent bab06888cb
commit 5087ef8b88
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
1 changed files with 5 additions and 0 deletions

View File

@ -10,7 +10,12 @@ Or for pushing:
# do once to setup
$ 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
$ git push beefcake:~/.config/lytedev-dotfiles
$ 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?