config: Enable authorization through ssh agent #76
|
@ -100,6 +100,15 @@
|
||||||
gatewayPorts = "yes";
|
gatewayPorts = "yes";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security = {
|
||||||
|
sudo.execWheelOnly = true;
|
||||||
|
|
||||||
|
pam = {
|
||||||
|
enableSSHAgentAuth = true;
|
||||||
|
services.sudo.sshAgentAuth = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
|
|
@ -53,10 +53,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
sshUser = "tlater";
|
sshUser = "tlater";
|
||||||
sshOpts = ["-t" "-p" "2222"];
|
sshOpts = ["-p" "2222" "-o" "ForwardAgent=yes"];
|
||||||
fastConnection = true;
|
fastConnection = true;
|
||||||
# Currently broken, see https://github.com/serokell/deploy-rs/issues/78
|
|
||||||
magicRollback = false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#########
|
#########
|
||||||
|
|
Loading…
Reference in a new issue