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:
parent
8f0ad96a62
commit
081d1fa6e1
17 changed files with 267 additions and 29 deletions
27
machines/homelab/default.nix
Normal file
27
machines/homelab/default.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue