fix bcachefs support

This commit is contained in:
buffet 2024-01-21 14:21:59 +01:00
parent 78a91c4d1c
commit e189b8fd4e

View file

@ -1,4 +1,5 @@
{ {
pkgs,
nixpkgs, nixpkgs,
nixpkgs-unstable, nixpkgs-unstable,
nixos-hardware, nixos-hardware,
@ -13,17 +14,14 @@
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
boot.loader = { boot = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
supportedFilesystems = ["bcachefs"]; supportedFilesystems = ["bcachefs"];
kernelPackages = pkgs.linuxPackages_latest; # TODO: remove when default kernel hits 6.7 kernelPackages = pkgs.linuxPackages_latest; # TODO: remove when default kernel hits 6.7
};
fileSystems = { loader = {
"/".options = ["compress=zstd"]; systemd-boot.enable = true;
"/home".options = ["compress=zstd"]; efi.canTouchEfiVariables = true;
"/nix".options = ["compress=zstd" "noatime"]; };
}; };
networking = { networking = {