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
2023-08-23 10:49:12 -05:00
..
machines Fix swaylock colors 2023-08-06 09:39:34 -05:00
modules Font icons 2022-12-06 14:00:19 -06:00
pkgs Shifting things around... 2021-03-06 22:16:52 -06:00
profiles Shifting things around... 2021-03-06 22:16:52 -06:00
secrets Plausible on? 2023-07-28 16:25:21 -05:00
sway SSH and sway and stuff 2023-08-02 14:10:42 -05:00
.sops.yaml Seeekrits 2023-07-28 13:06:30 -05:00
daniel.nix Fix swaylock colors 2023-08-06 09:39:34 -05:00
flake.lock Update flake.lock 2023-08-06 09:43:35 -05:00
flake.nix Caps 2023-08-02 13:53:09 -05:00
readme.md Stuff 2023-08-23 10:49:12 -05:00

zomg nixos

$ ssh -t beefcake 'cdd && pwd && g pl && cd os/linux/nix && sudo nixos-rebuild switch --flake .# && echo DONE'

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'

Ops stuff

Other To Dos

  • TODO: check stuff during receive with a hook?