feat: NixOS | add secure boot and nixos-hardware flake
This commit is contained in:
16
flake.nix
16
flake.nix
@@ -9,8 +9,18 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Hyprland cachix flake
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
|
||||
# NixOS community managed hardware specific features/fixes
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
|
||||
# Secure boot
|
||||
lanzaboote = {
|
||||
url = "github:nix-community/lanzaboote/v0.4.2";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Disko
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
@@ -23,6 +33,8 @@
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
disko,
|
||||
lanzaboote,
|
||||
nixos-hardware,
|
||||
...
|
||||
} @ inputs:
|
||||
let
|
||||
@@ -35,7 +47,9 @@
|
||||
"${host}" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
disko.nixosModules.disko
|
||||
lanzaboote.nixosModules.lanzaboote
|
||||
disko.nixosModules.disko
|
||||
nixos-hardware.nixosModules.framework-13-7040-amd
|
||||
./nixos/configuration.nix
|
||||
./nixos/disko-config.nix
|
||||
./nixos/hardware-configuration.nix
|
||||
|
||||
Reference in New Issue
Block a user