32 lines
514 B
Nix
32 lines
514 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"
|
||
|
"runner"
|
||
|
"sftpgo"
|
||
|
"zfs-zed"
|
||
|
];
|
||
|
};
|
||
|
}
|