-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/profiles: enable bcachefs for new-kernel profile
- Loading branch information
1 parent
eb06fb7
commit 52de04c
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
{ | ||
lib, | ||
pkgs, | ||
... | ||
}: | ||
|
||
{ | ||
boot.kernelPackages = pkgs.linuxPackages_latest; | ||
boot.supportedFilesystems = [ "bcachefs" ]; | ||
# Might be required as a workaround for bcachefs bug | ||
# https://github.com/NixOS/nixpkgs/issues/32279#issuecomment-1093682970 | ||
boot.postBootCommands = '' | ||
${lib.getExe pkgs.keyutils "keyctl"} link @u @s | ||
''; | ||
} |