Add note on flake lock
This commit is contained in:
parent
15069309af
commit
bab06888cb
|
@ -3,3 +3,14 @@
|
||||||
```bash
|
```bash
|
||||||
$ ssh -t beefcake 'cdd && pwd && g pl && cd os/linux/nix && sudo nixos-rebuild switch --flake .# && echo DONE'
|
$ 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'
|
||||||
|
```
|
||||||
|
|
Reference in a new issue