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

34 lines
544 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";
};
motd = {
networkInterfaces = lib.lists.singleton "enp59s0";
servicesToCheck = [
"caddy"
"forgejo"
2024-11-18 19:02:46 -05:00
"postgresql"
2024-11-10 17:54:08 -05:00
"runner"
"sftpgo"
"zfs-zed"
];
};
services.sftpgo.dataDir = "/tank/sftpgo";
2024-11-10 17:54:08 -05:00
}