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-30 22:00:04 -05:00
..
machines Fix readme, update beefcake helix 2023-08-30 22:00:04 -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 WIP 2023-08-30 15:18:44 -05:00
flake.lock Nix fish config 2023-08-29 22:01:34 -05:00
flake.nix Use helix's flake to have the latest hotness at all times 2023-08-24 21:51:47 -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?