SSL configurations to support self-signed certificates on all of my machines.

Tailscale, headscale and SSL modules.
sops-nix secrets management.
This commit is contained in:
boyreau 2026-08-05 16:37:32 +02:00
commit 081d1fa6e1
17 changed files with 267 additions and 29 deletions

View file

@ -0,0 +1,27 @@
{
config,
pkgs ? import <nixpkgs>, # Do not use jail.nix packages
...
}:
{
imports = [
/etc/nixos/security.nix
/etc/nixos/nix.nix
];
nix.nixPath = [
"nixos-config=/etc/nixos/machines/homelab/default.nix"
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
"/nix/var/nix/profiles/per-user/root/channels"
];
networking.hostName = "zomelab";
networking.networkmanager.enable = true;
i18n.defaultLocale = "en_US.UTF-8";
services.headscale.enable = true;
services.headscale.address = "0.0.0.0";
services.headscale.settings.server_url = "https://0.0.0.0:443";
}