From 4e211e0cd246efff885fda194bd55e3b75daad1d Mon Sep 17 00:00:00 2001 From: Jan Grosser Date: Sun, 21 Jul 2024 09:03:56 +0200 Subject: [PATCH] Added hardware profile for p14s Added hardware profile for p14s (Lenovo Thinkpad P14s --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index 28ad6b1..e65a7f0 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,9 @@ # Stylix - system-wide colorscheming and typography for NixOS # See: https://github.com/danth/stylix stylix.url = "github:danth/stylix"; + + # NixOS profiles to optimize settings for different hardware + nixos-hardware.url = "github:NixOS/nixos-hardware/master"; }; outputs = { self, nixpkgs, home-manager, stylix, ... }@inputs: { @@ -33,6 +36,10 @@ modules = [ stylix.nixosModules.stylix ./hosts/p14s/configuration.nix + # Model picked up from + # https://github.com/NixOS/nixos-hardware/blob/master/flake.nix + nixos-hardware.nixosModules.lenovo-thinkpad-p14s-amd-gen2 + # Home-Manager #inputs.home-manager.nixosModules.default home-manager.nixosModules.home-manager {