34 lines
578 B
Nix
34 lines
578 B
Nix
{ 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"
|
|
"postgresql"
|
|
"runner"
|
|
"sftpgo"
|
|
"zfs-zed"
|
|
];
|
|
};
|
|
|
|
services.sftpgo.dataDir = "/tank/sftpgo";
|
|
}
|