mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 17:37:43 -04:00
Setup ZFS on nixnuc
This commit is contained in:
parent
95f457b930
commit
c3a0edc79c
1 changed files with 14 additions and 4 deletions
|
|
@ -6,13 +6,20 @@
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader = {
|
boot = {
|
||||||
efi.canTouchEfiVariables = true;
|
loader = {
|
||||||
systemd-boot.enable = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
systemd-boot.enable = true;
|
||||||
|
};
|
||||||
|
supportedFilesystems = [ "zfs" ];
|
||||||
|
zfs = {
|
||||||
|
extraPools = [ "orico" ];
|
||||||
|
forceImportRoot = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
helix
|
intel-gpu-tools
|
||||||
jellyfin
|
jellyfin
|
||||||
jellyfin-ffmpeg
|
jellyfin-ffmpeg
|
||||||
jellyfin-web
|
jellyfin-web
|
||||||
|
|
@ -39,6 +46,8 @@
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# firewall.enable = false;
|
# firewall.enable = false;
|
||||||
|
|
||||||
|
hostId = "c5826b45"; # head -c4 /dev/urandom | od -A none -t x4
|
||||||
|
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -111,6 +120,7 @@
|
||||||
"--ssh"
|
"--ssh"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
zfs.autoScrub.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue