diff --git a/flake.lock b/flake.lock index 244705e..db9400f 100644 --- a/flake.lock +++ b/flake.lock @@ -35,6 +35,22 @@ "type": "github" } }, + "nixos-hardware": { + "locked": { + "lastModified": 1723310128, + "narHash": "sha256-IiH8jG6PpR4h9TxSGMYh+2/gQiJW9MwehFvheSb5rPc=", + "owner": "NixOS", + "repo": "nixos-hardware", + "rev": "c54cf53e022b0b3c1d3b8207aa0f9b194c24f0cf", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "master", + "repo": "nixos-hardware", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1723400035, @@ -71,6 +87,7 @@ "inputs": { "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 5c8afd5..311ddd1 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,9 @@ }; impermanence.url = "github:nix-community/impermanence"; + # required for configs + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + }; @@ -43,6 +46,7 @@ "x13yz" = nixosSystem { modules = [ + inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x13-yoga { # hardware hardware.cpu.type = "intel";