about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 18:13:06 +0200
committerPatryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou>2024-09-29 18:13:06 +0200
commit98d95851f87fe31fb073b1e91954f7b536e737da (patch)
treef86eb1051598f11aeef5d7b54c0b07cc932eeb88
parent97bbafe3cd95c720daad07dc675a9387ea7eba6b (diff)
downloaddots-98d95851f87fe31fb073b1e91954f7b536e737da.tar.gz
dots-98d95851f87fe31fb073b1e91954f7b536e737da.zip
18 current 2024-09-29 18:07:04 24.05.20240928.fbca5e7 6.6.52 *
-rw-r--r--flake.lock17
-rw-r--r--flake.nix2
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;