From 5087ef8b88ca4002abafbc4cb5601b027a0fcfd6 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 27 Jul 2023 17:19:00 -0500 Subject: [PATCH] TODO --- os/linux/nix/readme.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/os/linux/nix/readme.md b/os/linux/nix/readme.md index 060ad9e..449a98a 100644 --- a/os/linux/nix/readme.md +++ b/os/linux/nix/readme.md @@ -10,7 +10,12 @@ 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?