diff options
Diffstat (limited to 'system-profiles')
-rw-r--r-- | system-profiles/bcachefs.nix | 12 | ||||
-rw-r--r-- | system-profiles/lanzaboote.nix | 14 |
2 files changed, 25 insertions, 1 deletions
diff --git a/system-profiles/bcachefs.nix b/system-profiles/bcachefs.nix index f9f048b9..ebb14b62 100644 --- a/system-profiles/bcachefs.nix +++ b/system-profiles/bcachefs.nix | |||
@@ -1,6 +1,16 @@ | |||
1 | { pkgs, ... } : { | 1 | { pkgs, lib, ... } : { |
2 | config = { | 2 | config = { |
3 | boot.supportedFilesystems.bcachefs = true; | 3 | boot.supportedFilesystems.bcachefs = true; |
4 | environment.systemPackages = with pkgs; [ bcachefs-tools ]; | 4 | environment.systemPackages = with pkgs; [ bcachefs-tools ]; |
5 | |||
6 | boot.kernelPatches = [ | ||
7 | { | ||
8 | name = "bcachefs-casefold-fix"; | ||
9 | patch = null; | ||
10 | extraStructuredConfig = with lib.kernel; { | ||
11 | UNICODE = lib.mkOverride 90 no; | ||
12 | }; | ||
13 | } | ||
14 | ]; | ||
5 | }; | 15 | }; |
6 | } | 16 | } |
diff --git a/system-profiles/lanzaboote.nix b/system-profiles/lanzaboote.nix new file mode 100644 index 00000000..f1e179cf --- /dev/null +++ b/system-profiles/lanzaboote.nix | |||
@@ -0,0 +1,14 @@ | |||
1 | { flakeInputs, pkgs, ... }: | ||
2 | { | ||
3 | imports = [ | ||
4 | flakeInputs.lanzaboote.nixosModules.lanzaboote | ||
5 | ]; | ||
6 | |||
7 | config = { | ||
8 | environment.systemPackages = [ pkgs.sbctl ]; | ||
9 | boot.lanzaboote = { | ||
10 | enable = true; | ||
11 | pkiBundle = "/var/lib/sbctl"; | ||
12 | }; | ||
13 | }; | ||
14 | } | ||