Setup ZFS on nixnuc

This commit is contained in:
Gene Liverman 2023-12-26 23:05:04 -05:00
parent 95f457b930
commit c3a0edc79c

View file

@ -6,13 +6,20 @@
system.stateVersion = "23.11";
# Bootloader.
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
boot = {
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
supportedFilesystems = [ "zfs" ];
zfs = {
extraPools = [ "orico" ];
forceImportRoot = false;
};
};
environment.systemPackages = with pkgs; [
helix
intel-gpu-tools
jellyfin
jellyfin-ffmpeg
jellyfin-web
@ -39,6 +46,8 @@
# Or disable the firewall altogether.
# firewall.enable = false;
hostId = "c5826b45"; # head -c4 /dev/urandom | od -A none -t x4
networkmanager.enable = true;
};
@ -111,6 +120,7 @@
"--ssh"
];
};
zfs.autoScrub.enable = true;
};
sops = {