testTarget variable
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
let
|
||||
username = "john";
|
||||
hostname = "john-pc-ubuntu";
|
||||
testTarget = "fded:fb16:653e:25da:be24:11ff:fea0:753f";
|
||||
in
|
||||
{
|
||||
flake.modules.homeManager."${hostname}" = { pkgs, config, ... }:
|
||||
@@ -27,7 +28,7 @@ in
|
||||
home.packages = with pkgs; [
|
||||
nixos-rebuild
|
||||
(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:
|
||||
|
||||
Reference in New Issue
Block a user