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

43 lines
683 B
Nix
Raw Permalink 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 = [ "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;
};
};
}