variable
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
let
|
let
|
||||||
username = "john";
|
username = "john";
|
||||||
hostname = "john-pc-ubuntu";
|
hostname = "john-pc-ubuntu";
|
||||||
# testTarget = "fded:fb16:653e:25da:be24:11ff:fea0:753f"; # test-nix
|
testTarget = "fded:fb16:653e:25da:be24:11ff:fea0:753f"; # test-nix
|
||||||
testTarget = "fded:fb16:653e:25da:be24:11ff:fe89:1cc3"; # soteria
|
# testTarget = "fded:fb16:653e:25da:be24:11ff:fe89:1cc3"; # soteria
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
flake.modules.homeManager."${hostname}" = { pkgs, config, ... }:
|
flake.modules.homeManager."${hostname}" = { pkgs, config, ... }:
|
||||||
@@ -38,7 +38,7 @@ in
|
|||||||
mkdir -p /var/tmp/nix-build
|
mkdir -p /var/tmp/nix-build
|
||||||
chmod 1777 /var/tmp/nix-build
|
chmod 1777 /var/tmp/nix-build
|
||||||
nixos-rebuild switch \
|
nixos-rebuild switch \
|
||||||
--flake ${flakeDir}#john-pc-ubuntu \
|
--flake ${flakeDir}#${hostname} \
|
||||||
--target-host root@${testTarget}
|
--target-host root@${testTarget}
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user