vm and op5p: add bcachefs

This commit is contained in:
Motiejus Jakštys 2024-03-06 12:48:27 +02:00
parent 3f7c097634
commit 7ad3e26401
3 changed files with 13 additions and 5 deletions

View File

@ -16,6 +16,8 @@
};
};
boot.supportedFilesystems = ["bcachefs"];
security.sudo = {
enable = true;
wheelNeedsPassword = false;

View File

@ -20,7 +20,10 @@
};
};
boot.loader.systemd-boot.enable = true;
boot = {
loader.systemd-boot.enable = true;
supportedFilesystems = ["bcachefs"];
};
isoImage = {
isoName = "toolshed-${self.lastModifiedDate}.iso";

View File

@ -35,11 +35,14 @@ in {
};
config = {
boot = {
# https://github.com/NixOS/nixpkgs/issues/83694#issuecomment-605657381
boot.kernel.sysctl."kernel.sysrq" = "438";
nixpkgs.config.allowUnfree = true;
kernel.sysctl."kernel.sysrq" = "438";
boot.kernelPackages = lib.mkDefault pkgs.zfs.latestCompatibleLinuxPackages;
kernelPackages = lib.mkDefault pkgs.zfs.latestCompatibleLinuxPackages;
};
nixpkgs.config.allowUnfree = true;
hardware.enableRedistributableFirmware = true;