a4a8b05bb8
* feat: add overlays * Auto lint/format * feat: fix dns01 firewall ports * chore: new keys for dns01 * fix: dupe key * chore: fix cfdyn * feat: add dns02 --------- Co-authored-by: Truxnell <9149206+truxnell@users.noreply.github.com> Co-authored-by: truxnell <truxnell@users.noreply.github.com>
35 lines
646 B
Nix
35 lines
646 B
Nix
# Edit this configuration file to define what should be installed on
|
|
# your system. Help is available in the configuration.nix(5) man page, on
|
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
|
{ config
|
|
, lib
|
|
, pkgs
|
|
, ...
|
|
}: {
|
|
imports = [
|
|
|
|
|
|
];
|
|
|
|
mySystem.services = {
|
|
|
|
openssh.enable = true;
|
|
maddy.enable = true;
|
|
dnscrypt-proxy.enable = true;
|
|
cfDdns.enable = true;
|
|
};
|
|
|
|
networking.hostName = "dns01"; # Define your hostname.
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
fileSystems."/" =
|
|
{
|
|
device = "/dev/disk/by-label/NIXOS_SD";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
}
|