Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion hosts/omnibus/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,12 @@
};
};

environment.systemPackages = with pkgs; [ yt-dlp ];
environment.systemPackages = with pkgs; [
yt-dlp
mbuffer
pv
util-linux
];

services.restic.backups.files-rsync-net = {
initialize = true;
Expand Down
9 changes: 6 additions & 3 deletions hosts/omnibus/disk-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -207,25 +207,27 @@ in

blockbuster = {
type = "zpool";
mode = "raidz2";

options = {
ashift = "12";
autotrim = "on";
autoexpand = "on";
};

rootFsOptions = {
acltype = "posixacl";
compression = "lz4";
dnodesize = "auto";
normalization = "formD";
relatime = "on";
atime = "off";
xattr = "sa";
mountpoint = "none";
};

postCreateHook = ''
zpool add -f blockbuster log ${disks.nvme0}
zpool add -f blockbuster cache ${disks.nvme1}
# zpool add -f blockbuster log ${disks.nvme0}
# zpool add -f blockbuster cache ${disks.nvme1}
'';

datasets = {
Expand All @@ -244,6 +246,7 @@ in
options = {
canmount = "on";
mountpoint = "legacy";
recordsize = "1M";
};
};

Expand Down
Loading