Use framework nixos hardware module

This commit is contained in:
Natsu Kagami 2024-06-20 03:36:47 +02:00
parent 15a74c324f
commit 54264260ed
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 18 additions and 0 deletions

View file

@ -852,6 +852,21 @@
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1718806950,
"narHash": "sha256-E+W/kbedZAiOuPtT+KQRposLaXGDLd7lyK7oL3IH/5U=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "acb4f0e9bfa8ca2d6fca5e692307b5c994e7dbda",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixos-m1": {
"inputs": {
"flake-compat": "flake-compat_6",
@ -1195,6 +1210,7 @@
"lanzaboote": "lanzaboote",
"mpd-mpris": "mpd-mpris",
"nix-gaming": "nix-gaming",
"nixos-hardware": "nixos-hardware",
"nixos-m1": "nixos-m1",
"nixpkgs": "nixpkgs_9",
"nixpkgs-unstable": "nixpkgs-unstable",

View file

@ -4,6 +4,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
darwin.url = "github:lnl7/nix-darwin/master";
darwin.inputs.nixpkgs.follows = "nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager/release-24.05";
@ -168,6 +169,7 @@
modules = [
(common-nixos nixpkgs)
inputs.lanzaboote.nixosModules.lanzaboote
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
({ ... }: {
# Sets up secure boot
boot.loader.systemd-boot.enable = lib.mkForce false;