From e189b8fd4eec90aec19e79315cf91561aec8227f Mon Sep 17 00:00:00 2001 From: buffet Date: Sun, 21 Jan 2024 14:21:59 +0100 Subject: [PATCH] fix bcachefs support --- hosts/alice/system.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/hosts/alice/system.nix b/hosts/alice/system.nix index 4d6e196..d9c6fba 100644 --- a/hosts/alice/system.nix +++ b/hosts/alice/system.nix @@ -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 = {