From b05e714ae7c57088348f0088a11c06893ddd07b3 Mon Sep 17 00:00:00 2001 From: boyreau Date: Fri, 21 Aug 2026 12:18:09 +0200 Subject: [PATCH] openssh for tailscale + final modules import --- README.md | 4 ++-- machines/memere/default.nix | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bba62fe..e4ac5ca 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ Top-level files are global configurations ├── modules # Custom nixos modules re-usable accross machines │   └── default.nix │ -├── roles -│   └── desktop.nix # Desktop role +├── roles # Either desktop or server role +│   └── desktop.nix ├── README.md └── shell.nix ``` diff --git a/machines/memere/default.nix b/machines/memere/default.nix index 73344e1..658c138 100644 --- a/machines/memere/default.nix +++ b/machines/memere/default.nix @@ -4,6 +4,8 @@ /etc/nixos/modules/security.nix /etc/nixos/modules/nix.nix + /etc/nixos/modules/tailscale.nix + /etc/nixos/modules/ssl.nix ./hardware-configuration.nix ./users.nix @@ -16,6 +18,14 @@ "/nix/var/nix/profiles/per-user/root/channels" ]; + services.openssh.enable = true; + services.openssh.listenAddresses = [ + { + addr = "100.0.0.0"; + port = 22; + } + ]; + networking.hostName = "pepere"; networking.networkmanager.enable = true; @@ -24,5 +34,6 @@ i18n.defaultLocale = "fr_FR.UTF-8"; + # Do not change system.stateVersion = "26.05"; }