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