fix bcachefs support
This commit is contained in:
parent
78a91c4d1c
commit
e189b8fd4e
1 changed files with 6 additions and 8 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue