# This is device is meant to be a home, LOCAL ONLY server! # The configurations you will find are woefully insecure and hard-coded. { lib, ... }: { imports = [ ./httpd.nix ./mail.nix ]; options = { constants = lib.mkOption { type = lib.types.attrs; }; }; config = { constants = { # I've currently set this IP in my router configuration. # It would be better to write a proper static IP NixOS config, but its # fine like that. ip = "192.168.0.10"; # This is actually a fantastic TLD. Very few sites use it, you may # consider it as an abbreviation of "internal" and is one of the # "original" gTLDs, introduced in 1988, so every device will always # work with it. tld = "int"; }; }; }