mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
Added secure boot
This commit is contained in:
parent
a278c49f32
commit
445856d98a
@ -6,6 +6,11 @@
|
|||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
|
|
||||||
|
lanzaboote = {
|
||||||
|
url = "github:nix-community/lanzaboote/master";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
# Hyprland
|
# Hyprland
|
||||||
hyprland = {
|
hyprland = {
|
||||||
|
|||||||
@ -6,6 +6,7 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
|
modules.nixos.secureboot
|
||||||
modules.common.module
|
modules.common.module
|
||||||
modules.nixos.secrets
|
modules.nixos.secrets
|
||||||
modules.nixos.gaming.amd
|
modules.nixos.gaming.amd
|
||||||
|
|||||||
@ -21,6 +21,7 @@
|
|||||||
gnupg
|
gnupg
|
||||||
cmatrix
|
cmatrix
|
||||||
gh
|
gh
|
||||||
|
sbctl
|
||||||
# Browser
|
# Browser
|
||||||
inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default
|
inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
];
|
];
|
||||||
|
|||||||
@ -37,6 +37,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
bootloader = ./nixos/bootloader.nix;
|
bootloader = ./nixos/bootloader.nix;
|
||||||
|
secureboot = ./nixos/secureboot.nix;
|
||||||
locale = ./nixos/locale.nix;
|
locale = ./nixos/locale.nix;
|
||||||
secrets = ./nixos/secrets.nix;
|
secrets = ./nixos/secrets.nix;
|
||||||
swap = ./nixos/swap.nix;
|
swap = ./nixos/swap.nix;
|
||||||
|
|||||||
11
modules/nixos/secureboot.nix
Normal file
11
modules/nixos/secureboot.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{ pkgs, lib, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||||
|
|
||||||
|
boot.lanzaboote = {
|
||||||
|
enable = true;
|
||||||
|
pkiBundle = "/var/lib/sbctl";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user