nix-config/hosts/servers/oasis/default.nix

32 lines
514 B
Nix
Raw Normal View History

2024-11-10 17:54:08 -05:00
{ lib, ... }:
{
imports = [
./hardware.nix
];
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
zfs.extraPools = [ "tank" ];
};
networking = {
hostId = "7a7d723a"; # Required for ZFS support.
hostName = "oasis";
networkmanager.enable = true;
};
motd = {
networkInterfaces = lib.lists.singleton "enp59s0";
servicesToCheck = [
"caddy"
"forgejo"
"runner"
"sftpgo"
"zfs-zed"
];
};
}