diff --git a/flake.lock b/flake.lock index 8b385dc..9fa8092 100644 --- a/flake.lock +++ b/flake.lock @@ -21,6 +21,21 @@ "type": "github" } }, + "nixos-hardware": { + "locked": { + "lastModified": 1641965797, + "narHash": "sha256-AfxfIzAZbt9aAzpVBn0Bwhd/M4Wix7G91kEjm9H6FPo=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "87a35a0d58f546dc23f37b4f6af575d0e4be6a7a", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixos-hardware", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1641710811, @@ -54,6 +69,7 @@ "root": { "inputs": { "home-manager": "home-manager", + "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", "nur": "nur" } diff --git a/flake.nix b/flake.nix index 554a9f1..e8624d2 100644 --- a/flake.nix +++ b/flake.nix @@ -5,12 +5,15 @@ inputs = rec { nur.url = "github:nix-community/NUR"; + nixos-hardware.url = "github:NixOS/nixos-hardware"; + home-manager.url = "github:nix-community/home-manager/master"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, home-manager, + nixos-hardware, ...}@inputs: let system = "x86_64-linux"; @@ -42,6 +45,7 @@ outputs = { self, ./common/config ./laptop/config home-manager.nixosModules.home-manager + nixos-hardware.nixosModules.microsoft-surface { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true;