27 lines
616 B
Nix
27 lines
616 B
Nix
|
|
{
|
||
|
|
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";
|
||
|
|
}
|