testTarget variable

This commit is contained in:
John Lancaster
2026-03-12 11:31:29 -05:00
parent 5c7c0ab473
commit 1825230029

View File

@@ -2,6 +2,7 @@
let let
username = "john"; username = "john";
hostname = "john-pc-ubuntu"; hostname = "john-pc-ubuntu";
testTarget = "fded:fb16:653e:25da:be24:11ff:fea0:753f";
in in
{ {
flake.modules.homeManager."${hostname}" = { pkgs, config, ... }: flake.modules.homeManager."${hostname}" = { pkgs, config, ... }:
@@ -27,7 +28,7 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
nixos-rebuild nixos-rebuild
(writeShellScriptBin "test-push" '' (writeShellScriptBin "test-push" ''
nixos-rebuild switch --flake ${flakeDir}#test-nix --target-host root@fded:fb16:653e:25da:be24:11ff:fea0:753f nixos-rebuild switch --flake ${flakeDir}#test-nix --target-host root@${testTarget}
'') '')
]; ];
# TODO: Add host-specific settings here: # TODO: Add host-specific settings here: