about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/secure-boot.nix6
-rw-r--r--nixos/default.nix1
2 files changed, 5 insertions, 2 deletions
diff --git a/modules/secure-boot.nix b/modules/secure-boot.nix
index 72f2d83..7f079e4 100644
--- a/modules/secure-boot.nix
+++ b/modules/secure-boot.nix
@@ -1,9 +1,13 @@
-{ config, pkgs, lib, ... }:
+{ config, inputs, pkgs, lib, ... }:
 
 let
   cfg = config.modules.secure-boot;
 in
 {
+  imports = [
+    inputs.lanzaboote.nixosModules.lanzaboote
+  ];
+
   options.modules.secure-boot = {
     enable = lib.mkEnableOption "Secure boot with lanzaboote";
   };
diff --git a/nixos/default.nix b/nixos/default.nix
index 16e3cbf..599ba75 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -15,7 +15,6 @@
     name = "haruka";
     nixpkgs = unstable;
     extraModules = [
-      inputs.lanzaboote.nixosModules.lanzaboote
       inputs.sops-nix.nixosModules.sops
       inputs.impermanence.nixosModules.impermanence
       inputs.attic.nixosModules.atticd