Revert "nixosModules,pkgs: remove installer. clanModules: init installer module"

This reverts commit 29a7f0312b.
This commit is contained in:
Jörg Thalheim
2024-09-03 07:04:34 +02:00
parent e87a8ade5d
commit 696fd73711
13 changed files with 333 additions and 27 deletions

16
nixosModules/bcachefs.nix Normal file
View File

@@ -0,0 +1,16 @@
{
lib,
pkgs,
config,
...
}:
{
# If we also need zfs, we can use the unstable version as we otherwise don't have a new enough kernel version
boot.zfs.package = pkgs.zfsUnstable;
boot.kernelPackages = lib.mkIf config.boot.zfs.enabled (
lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages
);
# Enable bcachefs support
boot.supportedFilesystems.bcachefs = lib.mkDefault true;
}