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

42 lines
683 B
Nix

{ lib, ... }:
{
imports = [
./hardware.nix
];
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
zfs.extraPools = [ "lagoon" ];
};
networking = {
hostId = "bd03847d"; # Required for ZFS support.
hostName = "eden";
};
motd = {
networkInterfaces = lib.lists.singleton "eno1";
servicesToCheck = [
"caddy"
"immich-machine-learning"
"immich-server"
"postgresql"
"redis-immich"
"zfs-zed"
];
};
users = {
users.share = {
uid = 994;
isSystemUser = true;
group = "share";
};
groups.share = {
gid = 994;
};
};
}