fix deploy-rs: use SSH port 2299 and user steffen instead of root
deploy-rs was configured with default port 22 and user root, but SSH runs on port 2299 and root login is disabled. Also fix ssh-keyscan in the deploy workflow to use the correct port.
This commit is contained in:
parent
72e53ea17f
commit
3f07d27c78
2 changed files with 7 additions and 2 deletions
|
|
@ -123,8 +123,13 @@
|
|||
nodes = {
|
||||
cryodev-main = {
|
||||
hostname = constants.domain;
|
||||
sshOpts = [
|
||||
"-p"
|
||||
"2299"
|
||||
];
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
user = "steffen";
|
||||
sshUser = "steffen";
|
||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.cryodev-main;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue