diff --git a/flake.lock b/flake.lock index 66b704d..67318e1 100644 --- a/flake.lock +++ b/flake.lock @@ -216,6 +216,22 @@ "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": { "locked": { "lastModified": 1741048562, @@ -271,6 +287,7 @@ "nextcloud-side-menu": "nextcloud-side-menu", "nextcloud-twofactor-totp": "nextcloud-twofactor-totp", "nix-vscode-extensions": "nix-vscode-extensions", + "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", "sops-nix": "sops-nix", diff --git a/flake.nix b/flake.nix index be4f4a7..9c44a90 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,8 @@ nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + flake-parts.url = "github:hercules-ci/flake-parts"; deploy-rs = { diff --git a/hosts/fern/hardware.nix b/hosts/fern/hardware.nix index 82615a9..a2b283f 100644 --- a/hosts/fern/hardware.nix +++ b/hosts/fern/hardware.nix @@ -1,6 +1,9 @@ { inputs, ... }: { - imports = [ inputs.disko.nixosModules.default ]; + imports = [ + inputs.disko.nixosModules.default + inputs.nixos-hardware.nixosModules.framework-13-7040-amd + ]; nixpkgs.hostPlatform = "x86_64-linux";