mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
Fix deploy bug which is https://github.com/NixOS/nix/issues/3017
This commit is contained in:
parent
cab29edaac
commit
229abb8a5e
5 changed files with 30 additions and 23 deletions
|
|
@ -142,19 +142,19 @@
|
|||
magicRollback = true;
|
||||
};
|
||||
})
|
||||
(set.optional (name != "renko") {
|
||||
(set.optional (name != "renko" && host.folder == "nixos") {
|
||||
${name} = {
|
||||
hostname = "${name}.inskip.me";
|
||||
sshUser = "deploy";
|
||||
sshOpts = ["-p" "${builtins.toString (builtins.head inputs.self.nixosConfigurations.${name}.config.services.openssh.ports)}"];
|
||||
sshOpts = ["-oControlMaster=no" "-oControlPath=/tmp/willneverexist" "-p" "${builtins.toString (builtins.head inputs.self.nixosConfigurations.${name}.config.services.openssh.ports)}"];
|
||||
};
|
||||
})
|
||||
(set.optional (name == "renko") {
|
||||
(set.optional (name == "renko" && host.folder == "nixos") {
|
||||
${name} = {
|
||||
sshUser = "nixos";
|
||||
hostname = "orb";
|
||||
fastConnection = true;
|
||||
sshOpts = ["-p" "32222"];
|
||||
sshOpts = ["-oControlMaster=no" "-oControlPath=/tmp/willneverexist" "-p" "32222"];
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue