nixos-config/hosts/lily/default.nix

42 lines
748 B
Nix
Raw Normal View History

2025-05-15 21:32:38 +02:00
{ pkgs, config, ... }:
{
imports = [
./hardware-configuration.nix
./variables.nix
./../../modules/core/default.server.nix
];
networking.hostName = "lily";
liv.server.enable = true;
time.timeZone = "Europe/Amsterdam";
environment.systemPackages = with pkgs; [
kitty.terminfo
zfs
];
boot = {
supportedFilesystems = [ "zfs" ];
};
2025-05-16 11:28:56 +02:00
networking.hostId = "8ddb2a9b";
2025-05-15 21:32:38 +02:00
services.zfs = {
autoScrub.enable = true;
trim.enable = true;
};
2025-05-16 11:28:56 +02:00
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
2025-05-15 21:32:38 +02:00
# boot.zfs.extraPools = [ "terrabite" ];
# fileSystems."/terrabite/main" = {
# device = "terrabite/main";
# fsType = "zfs";
# };
}