ssh service and npins update

This commit is contained in:
boyreau 2026-08-30 18:18:59 +02:00
commit 70839731e1
4 changed files with 23 additions and 20 deletions

View file

@ -6,6 +6,7 @@
/etc/nixos/modules/nix.nix
/etc/nixos/modules/tailscale.nix
/etc/nixos/modules/ssl.nix
/etc/nixos/modules/ssh.nix
./hardware-configuration.nix
./users.nix
@ -18,17 +19,6 @@
"/nix/var/nix/profiles/per-user/root/channels"
];
services.openssh.enable = true;
services.openssh.listenAddresses = [
{
addr = "0.0.0.0";
port = 22;
}
];
services.openssh.ports = [ 22 ];
services.openssh.settings.PermitRootLogin = "yes";
services.openssh.settings.AllowUsers = [ "root" ];
networking.hostName = "pepere";
networking.networkmanager.enable = true;

View file

@ -17,6 +17,7 @@ in
/etc/nixos/modules/ssl.nix
/etc/nixos/modules/tailscale.nix
/etc/nixos/modules/backup
/etc/nixos/modules/ssh.nix
# machine-specific config
./bootloader.nix