From 711e24bed2db32d419f484e7cc9231b7cdf69605 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 1 Feb 2024 13:05:09 +0100 Subject: [PATCH] Lanzaboot initial setup --- flake.nix | 6 ++++++ nixos/desktop/configuration.nix | 1 + 2 files changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index 3b565c4..ea49f6d 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,10 @@ nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; # Also see the 'unstable-packages' overlay at 'overlays/default.nix'. + # Lanzaboot (secure boot) + #lanzaboote.url = "github:nix-community/lanzaboote"; + + # Jovian nixos (steam deck) jovian.url = "github:Jovian-Experiments/Jovian-NixOS"; # Home manager @@ -79,6 +83,7 @@ # > Our main nixos configuration file < ./nixos/hosts/EDI/configuration.nix sops-nix.nixosModules.sops + #lanzaboote.nixosModules.lanzaboote home-manager.nixosModules.home-manager { home-manager.sharedModules = [plasma-manager.homeManagerModules.plasma-manager]; @@ -95,6 +100,7 @@ # > Our main nixos configuration file < ./nixos/hosts/GLaDOS/configuration.nix sops-nix.nixosModules.sops + #lanzaboote.nixosModules.lanzaboote home-manager.nixosModules.home-manager { home-manager.sharedModules = [plasma-manager.homeManagerModules.plasma-manager]; diff --git a/nixos/desktop/configuration.nix b/nixos/desktop/configuration.nix index b0323b9..04a0d3c 100644 --- a/nixos/desktop/configuration.nix +++ b/nixos/desktop/configuration.nix @@ -163,6 +163,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.configurationLimit = 3; boot.loader.efi.canTouchEfiVariables = true; + boot.bootspec.enable = true; users.users = { lillian = {