summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2023-01-04 19:02:33 +0100
committerlassulus <lassulus@lassul.us>2023-01-04 19:02:33 +0100
commit7d244baf9e05e73a11eec9e429b71734f354f486 (patch)
tree83cccd4e9772856fae37d5bfdd8a8099aef950dd /lass/2configs
parent7cb49c556efce96b15b28807464b8d5cdf1ea999 (diff)
l riot: add ssh key, add default route
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/riot.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/lass/2configs/riot.nix b/lass/2configs/riot.nix
index 37a6298ca..559e7b20d 100644
--- a/lass/2configs/riot.nix
+++ b/lass/2configs/riot.nix
@@ -7,8 +7,11 @@
pkgs.git
pkgs.jq
];
- networking.useDHCP = lib.mkForce true;
- networking.firewall.enable = false;
+ services.openssh.enable = true;
+ 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 = {
environment = {
NIX_REMOTE = "daemon";