vm and op5p: add bcachefs
This commit is contained in:
parent
3f7c097634
commit
7ad3e26401
@ -16,6 +16,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.supportedFilesystems = ["bcachefs"];
|
||||||
|
|
||||||
security.sudo = {
|
security.sudo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wheelNeedsPassword = false;
|
wheelNeedsPassword = false;
|
||||||
|
@ -20,7 +20,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot = {
|
||||||
|
loader.systemd-boot.enable = true;
|
||||||
|
supportedFilesystems = ["bcachefs"];
|
||||||
|
};
|
||||||
|
|
||||||
isoImage = {
|
isoImage = {
|
||||||
isoName = "toolshed-${self.lastModifiedDate}.iso";
|
isoName = "toolshed-${self.lastModifiedDate}.iso";
|
||||||
|
@ -35,11 +35,14 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
# https://github.com/NixOS/nixpkgs/issues/83694#issuecomment-605657381
|
boot = {
|
||||||
boot.kernel.sysctl."kernel.sysrq" = "438";
|
# https://github.com/NixOS/nixpkgs/issues/83694#issuecomment-605657381
|
||||||
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;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user