Import the nixos-hardware module for fern

This commit is contained in:
SebastianStork 2025-03-07 19:30:30 +01:00
parent 87b816e05d
commit 7db985c0fb
3 changed files with 23 additions and 1 deletions

17
flake.lock generated
View file

@ -216,6 +216,22 @@
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": {
"locked": {
"lastModified": 1741325094,
"narHash": "sha256-RUAdT8dZ6k/486vnu3tiNRrNW6+Q8uSD2Mq7gTX4jlo=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "b48cc4dab0f9711af296fc367b6108cf7b8ccb16",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1741048562, "lastModified": 1741048562,
@ -271,6 +287,7 @@
"nextcloud-side-menu": "nextcloud-side-menu", "nextcloud-side-menu": "nextcloud-side-menu",
"nextcloud-twofactor-totp": "nextcloud-twofactor-totp", "nextcloud-twofactor-totp": "nextcloud-twofactor-totp",
"nix-vscode-extensions": "nix-vscode-extensions", "nix-vscode-extensions": "nix-vscode-extensions",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",

View file

@ -4,6 +4,8 @@
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
deploy-rs = { deploy-rs = {

View file

@ -1,6 +1,9 @@
{ inputs, ... }: { inputs, ... }:
{ {
imports = [ inputs.disko.nixosModules.default ]; imports = [
inputs.disko.nixosModules.default
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
];
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";