From 45e402d44d7ec51e6782924f5e5af50791bb6f8d Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Tue, 10 Jan 2023 21:21:32 +1000 Subject: [PATCH] add nixos-hardware --- flake.lock | 29 +++++++++++++++++++++++------ flake.nix | 3 +++ 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 7b4b974f..8afa8e25 100644 --- a/flake.lock +++ b/flake.lock @@ -327,6 +327,22 @@ "type": "github" } }, + "nixos-hardware": { + "locked": { + "lastModified": 1672644464, + "narHash": "sha256-RYlvRMcQNT7FDoDkViijQBHg9g+blsB+U6AvL/gAsPI=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "ca29e25c39b8e117d4d76a81f1e229824a9b3a26", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "master", + "repo": "nixos-hardware", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1662099760, @@ -345,11 +361,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1670193339, - "narHash": "sha256-oHTAhX4p6+uxcabq0rKL4EyKWPbDLGKec88ocPIU/2Y=", + "lastModified": 1672844754, + "narHash": "sha256-o26WabuHABQsaHxxmIrR3AQRqDFUEdLckLXkVCpIjSU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e169cf5b3b1e6cc4a25ff15087c2621605f83409", + "rev": "e9ade2c8240e00a4784fac282a502efff2786bdc", "type": "github" }, "original": { @@ -419,6 +435,7 @@ "hardware": "hardware", "home-manager": "home-manager", "nix-matrix-appservices": "nix-matrix-appservices", + "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_2", "nur": "nur", "poonam": "poonam", @@ -510,11 +527,11 @@ }, "unstable": { "locked": { - "lastModified": 1670152712, - "narHash": "sha256-LJttwIvJqsZIj8u1LxVRv82vwUtkzVqQVi7Wb8gxPS4=", + "lastModified": 1672791794, + "narHash": "sha256-mqGPpGmwap0Wfsf3o2b6qHJW1w2kk/I6cGCGIU+3t6o=", "owner": "nixos", "repo": "nixpkgs", - "rev": "14ddeaebcbe9a25748221d1d7ecdf98e20e2325e", + "rev": "9813adc7f7c0edd738c6bdd8431439688bb0cb3d", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 01636300..dd577cea 100644 --- a/flake.nix +++ b/flake.nix @@ -5,6 +5,7 @@ # Nixpkgs nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11"; unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; # Home manager home-manager.url = "github:nix-community/home-manager"; @@ -52,6 +53,7 @@ { self , nixpkgs , unstable + , nixos-hardware , home-manager , deploy-rs , agenix @@ -145,6 +147,7 @@ agenix.nixosModules.age self.nixosModules.backup self.nixosModules.wireguard + nixos-hardware.nixosModules.lenovo-thinkpad-x270 home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true;