l riot: add ssh key, add default route

This commit is contained in:
lassulus 2023-01-04 19:02:33 +01:00
parent 7cb49c556e
commit 7d244baf9e

View File

@ -7,8 +7,11 @@
pkgs.git pkgs.git
pkgs.jq pkgs.jq
]; ];
networking.useDHCP = lib.mkForce true; services.openssh.enable = true;
networking.firewall.enable = false; users.users.root.openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6o6sdTu/CX1LW2Ff5bNDqGEAGwAsjf0iIe5DCdC7YikCct+7x4LTXxY+nDlPMeGcOF88X9/qFwdyh+9E4g0nUAZaeL14Uc14QDqDt/aiKjIXXTepxE/i4JD9YbTqStAnA/HYAExU15yqgUdj2dnHu7OZcGxk0ZR1OY18yclXq7Rq0Fd3pN3lPP1T4QHM9w66r83yJdFV9szvu5ral3/QuxQnCNohTkR6LoJ4Ny2RbMPTRtb+jPbTQYTWUWwV69mB8ot5nRTP4MRM9pu7vnoPF4I2S5DvSnx4C5zdKzsb7zmIvD4AmptZLrXj4UXUf00Xf7Js5W100Ne2yhYyhq+35 riot@lagrange"
];
networking.defaultGateway = "10.233.1.1";
systemd.services.autoswitch = { systemd.services.autoswitch = {
environment = { environment = {
NIX_REMOTE = "daemon"; NIX_REMOTE = "daemon";