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-07-28 14:42:04 -05:00
..
machines Typo 2023-07-28 14:30:26 -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 Stupid mode 2023-07-28 13:18:29 -05:00
.sops.yaml Seeekrits 2023-07-28 13:06:30 -05:00
flake.lock Update flake lock 2023-07-28 14:42:04 -05:00
flake.nix Update flake lock 2023-07-28 13:24:11 -05:00
readme.md TODO 2023-07-27 17:19:00 -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'
  • TODO: check stuff during receive with a hook?