Compare commits

...

3 Commits

Author SHA1 Message Date
52a32d896b [nix-book] Update drive UUID 2025-07-29 15:47:34 -07:00
24eb221555 [nix-book] Add beesd 2025-07-29 11:51:52 -07:00
3a54975858 [nix-book] Update file system type to btrfs 2025-07-29 11:51:38 -07:00
2 changed files with 15 additions and 2 deletions

View File

@@ -39,6 +39,15 @@
boot.kernelPackages = pkgs.linuxPackages_latest;
# Btrfs deduplication service
services.beesd.filesystems = {
root = {
spec = "/";
hashTableSizeMB = 32; # 128MB per TB recommended, ~225GB = ~32MB
verbosity = "err"; # Only show actual problems
};
};
# Enable networking
networking.networkmanager.enable = true;

View File

@@ -14,8 +14,12 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/bd396529-e2c4-47cb-b844-8d6ed841f81a";
fsType = "ext4";
{ device = "/dev/disk/by-uuid/223a44e5-91e2-4272-830e-129166042a1d";
fsType = "btrfs";
options = [
"compress=zstd" # Enable zstd compression for space savings
"noatime" # Don't update access times for performance
];
};
boot.initrd.luks.devices."luks-4126fbd4-bd09-4ece-af0d-6fff414c21b3".device = "/dev/disk/by-uuid/4126fbd4-bd09-4ece-af0d-6fff414c21b3";