testTarget variable
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user