From cf189092135aff9e129587064f43f631723a6d9b Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Thu, 18 Dec 2025 17:44:08 -0600 Subject: [PATCH] updates --- flake.nix | 3 +++ hosts/h002/flake.lock | 8 ++++---- utilities/nixos-installers/install_bcachefs.md | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 39c8f991..c186ffb7 100644 --- a/flake.nix +++ b/flake.nix @@ -41,6 +41,9 @@ (pkgs.writeShellScriptBin "deploy_i001" '' NIX_SSHOPTS="-i /run/agenix/nix2nix" nixos-rebuild --flake $(git rev-parse --show-toplevel)'/hosts/i001' --target-host root@10.12.14.119 --use-substitutes --no-reexec switch '') + (pkgs.writeShellScriptBin "deploy_h002" '' + NIX_SSHOPTS="-i /run/agenix/nix2nix" nixos-rebuild --flake $(git rev-parse --show-toplevel)'/hosts/h002' --target-host root@10.12.14.183 --use-substitutes --no-reexec switch + '') ]; }; } diff --git a/hosts/h002/flake.lock b/hosts/h002/flake.lock index d9687503..7a4e1b4b 100644 --- a/hosts/h002/flake.lock +++ b/hosts/h002/flake.lock @@ -3,11 +3,11 @@ "common": { "locked": { "dir": "flakes/common", - "lastModified": 1766101096, - "narHash": "sha256-fOPGpgrgt4pNKzdpA+Xc/c3lev6Af2gM2ge2Gh4H9pk=", + "lastModified": 1766101431, + "narHash": "sha256-96UMxqqZjI9L9SEBwL3yxbJBH5NC9Gq+kgAS4GQaWqE=", "ref": "refs/heads/master", - "rev": "acfec76a791abf5bcef22240a1e559e8e5e49004", - "revCount": 957, + "rev": "a5fa2f1e63efc1111940bf2c636e4043381886cd", + "revCount": 959, "type": "git", "url": "https://git.joshuabell.xyz/ringofstorms/dotfiles" }, diff --git a/utilities/nixos-installers/install_bcachefs.md b/utilities/nixos-installers/install_bcachefs.md index 1a864ce3..a99449ee 100644 --- a/utilities/nixos-installers/install_bcachefs.md +++ b/utilities/nixos-installers/install_bcachefs.md @@ -83,6 +83,9 @@ nixos-generate-config --root /mnt ```sh # If setup remotely we can install remotely as well like this nixos-install --flake "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=hosts/i001#i001" +nixos-install --flake "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=hosts/h002#h002" +# or push from more powerful machine +# TODO how do I do this for initial install? nixos-anywhere? ``` - After boot