This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/nixos/hosts/dns02/default.nix

36 lines
645 B
Nix
Raw Normal View History

2024-03-19 06:53:14 -05:00
# 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 = {
2024-03-19 06:53:14 -05:00
openssh.enable = true;
dnscrypt-proxy.enable = true;
cfDdns.enable = true;
bind.enable = true;
};
2024-03-19 06:53:14 -05:00
networking.hostName = "dns02"; # Define your hostname.
networking.useDHCP = lib.mkDefault true;
2024-03-19 06:53:14 -05:00
fileSystems."/" =
{
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
};
2024-03-19 06:53:14 -05:00
swapDevices = [ ];
2024-03-19 06:53:14 -05:00
}