Commit 93e303179b46
Changed files (3)
machine
profiles
machine/carthage.nix
@@ -11,7 +11,8 @@
boot.loader.grub.enable = true;
networking.firewall.allowPing = true;
services.openssh.enable = true;
- # services.openssh.ports = with import ../assets/machines.nix; [ ssh.carthage.port ];
+ services.openssh.ports = with import ../assets/machines.nix; [ ssh.carthage.port ];
+ services.openssh.permitRootLogin = "without-password";
programs.fish.enable = true;
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGR4dqXwHwPpYgyk6yl9+9LRL3qrBZp3ZWdyKaTiXp0p vincent@shikoku"
machine/kerkouane.nix
@@ -13,6 +13,7 @@
networking.firewall.allowPing = true;
services.openssh.enable = true;
services.openssh.ports = with import ../assets/machines.nix; [ ssh.kerkouane.port ];
+ services.openssh.permitRootLogin = "without-password";
programs.fish.enable = true;
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGR4dqXwHwPpYgyk6yl9+9LRL3qrBZp3ZWdyKaTiXp0p vincent@shikoku"
profiles/users.nix
@@ -21,5 +21,8 @@
Host kerkouane kerkouane.sbr.pm
Hostname kerkouane.sbr.pm
Port ${toString ssh.kerkouane.port}
+Host carthage carthage.sbr.pm
+ Hostname carthage.sbr.pm
+ Port ${toString ssh.carthage.port}
'';
}