summaryrefslogtreecommitdiff
path: root/sys/boot/secure-boot.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/boot/secure-boot.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/boot/secure-boot.nix b/sys/boot/secure-boot.nix
index 3e874c3..b13ab7c 100644
--- a/sys/boot/secure-boot.nix
+++ b/sys/boot/secure-boot.nix
@@ -1,4 +1,9 @@
-{ config, lib, pkgs, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
with lib; let
cfg = config.local.boot.secureBoot;
@@ -6,8 +11,7 @@ with lib; let
if cfg.legacyPath
then "/etc/secureboot"
else "/var/lib/sbctl";
-in
-{
+in {
options.local.boot.secureBoot = {
enable = mkEnableOption "secure boot";
@@ -42,6 +46,6 @@ in
pkgs.sbctl
];
- local.boot.impermanence.directories = [ pkiBundle ];
+ local.boot.impermanence.directories = [pkiBundle];
};
}