diff options
-rw-r--r-- | flake.lock | 17 | ||||
-rw-r--r-- | flake.nix | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock index a648657..df25053 100644 --- a/flake.lock +++ b/flake.lock @@ -21,6 +21,22 @@ "type": "github" } }, + "nixos-hardware": { + "locked": { + "lastModified": 1727613673, + "narHash": "sha256-qqIffTQfxMYo3MKQ9BoY2s2mdKZNnUiksdnxv81js9U=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "f5c239fa9acb27f0a5326ba2949c00fada89ca9f", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "master", + "repo": "nixos-hardware", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1727540905, @@ -40,6 +56,7 @@ "root": { "inputs": { "home-manager": "home-manager", + "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs" } } diff --git a/flake.nix b/flake.nix index 55100c5..40c9a4f 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,7 @@ url = "github:nix-community/home-manager/release-24.05"; inputs.nixpkgs.follows = "nixpkgs"; }; + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; }; outputs = { self, nixpkgs, ... }@inputs: { @@ -30,6 +31,7 @@ specialArgs = {inherit inputs;}; modules = [ ./machines/t14/configuration.nix + inputs.nixos-hardware.lenovo-thinkpad-t14-amd-gen2 inputs.home-manager.nixosModules.default { home-manager.useGlobalPkgs = true; |