Add note on flake lock

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

View File

@ -3,3 +3,14 @@
```bash
$ ssh -t beefcake 'cdd && pwd && g pl && cd os/linux/nix && sudo nixos-rebuild switch --flake .# && echo DONE'
```
Or for pushing:
```bash
# do once to setup
$ ssh -t beefcake 'cdd && git config receive.denyCurrentBranch updateInstead'
# 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'
```