43 lines
717 B
Nix
43 lines
717 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";
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
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;
|
|
};
|
|
};
|
|
}
|