diff --git a/flake.lock b/flake.lock index 0e79009..f8982ac 100644 --- a/flake.lock +++ b/flake.lock @@ -148,6 +148,22 @@ "type": "github" } }, + "nixos-hardware": { + "locked": { + "lastModified": 1717574423, + "narHash": "sha256-cz3P5MZffAHwL2IQaNzsqUBsJS+u0J/AAwArHMAcCa0=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "d6c6cf6f5fead4057d8fb2d5f30aa8ac1727f177", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "master", + "repo": "nixos-hardware", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1717281328, @@ -197,6 +213,7 @@ "flake-parts": "flake-parts", "home-manager": "home-manager", "impermanence": "impermanence", + "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable" } diff --git a/flake.nix b/flake.nix index 76e48da..c267d0e 100644 --- a/flake.nix +++ b/flake.nix @@ -21,6 +21,8 @@ impermanence.url = "github:nix-community/impermanence"; + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + flake-parts.url = "github:hercules-ci/flake-parts"; }; diff --git a/hosts/tabby/default.nix b/hosts/tabby/default.nix index 7f4a010..eb575db 100644 --- a/hosts/tabby/default.nix +++ b/hosts/tabby/default.nix @@ -2,10 +2,11 @@ # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{ pkgs, lib, ... }: { +{ pkgs, lib, inputs, ... }: { imports = [ ../../profiles/desktop ./hardware-configuration.nix + inputs.nixos-hardware.nixosModules.framework-16-7040-amd ]; cherrykitten.impermanence.enable = true;