This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/nix/readme.md

28 lines
677 B
Markdown
Raw Normal View History

2023-07-27 15:26:42 -05:00
# zomg nixos
```bash
$ ssh -t beefcake 'cdd && pwd && g pl && cd os/linux/nix && sudo nixos-rebuild switch --flake .# && echo DONE'
```
2023-07-27 17:18:21 -05:00
Or for pushing:
```bash
# do once to setup
$ ssh -t beefcake 'cdd && git config receive.denyCurrentBranch updateInstead'
2023-07-27 17:19:00 -05:00
# probably regenerate and commit flake.lock from this directory
nix flake lock
2023-07-27 17:18:21 -05:00
# 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'
```
2023-07-27 17:19:00 -05:00
2023-08-23 10:49:12 -05:00
# Ops stuff
- **TODO**: Look into https://github.com/zhaofengli/colmena
# Other To Dos
2023-07-27 17:19:00 -05:00
- **TODO**: check stuff during receive with a hook?