nixos-config/fudo/sites/russell.nix
2020-10-16 11:17:50 -05:00

35 lines
565 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
admin = "admin@fudo.org";
nameservers = [
"1.1.1.1"
"8.8.8.8"
];
hostname = config.networking.hostName;
in {
config = mkIf (config.fudo.common.site == "russell") {
time.timeZone = "America/Winnipeg";
services.cron = {
mailto = admin;
};
networking = {
domain = "fudo.org";
search = ["fudo.org"];
firewall.enable = false;
nameservers = nameservers;
};
# fudo.node-exporter = {
# enable = true;
# hostname = hostname;
# };
};
}