ctucx.git: nixfiles

ctucx' nixfiles

commit 721c161e8c18719d3d2fc838ec1782e335c783e9
parent 180157508cf1e22e43b948d3f67d0fd3c77bea24
Author: Katja (ctucx) <git@ctu.cx>
Date: Sat, 30 Nov 2024 22:43:51 +0100

flake.nix: add `lanzaboote`
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/configurations/common/default.nix b/configurations/common/default.nix
@@ -13,6 +13,7 @@ in {
     ]
     (if (currentSystem == "x86_64-linux") then [
       inputs.home-manager.nixosModules.home-manager
+      inputs.lanzaboote.nixosModules.lanzaboote
       ../linux
     ] else [])
     (if (currentSystem == "aarch64-darwin") || (currentSystem == "x86_64-darwin") then [
diff --git a/flake.nix b/flake.nix
@@ -175,6 +175,14 @@
       inputs.nixpkgs.follows = "nixpkgs";
     };
 
+    lanzaboote = {
+      type  = "github";
+      owner = "nix-community";
+      repo  = "lanzaboote";
+      ref   = "v0.4.1";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
+
     simple-nixos-mailserver = {
       type  = "gitlab";
       owner = "simple-nixos-mailserver";