Nixos hardware now has support for T14 AMD G2

This commit is contained in:
James Patrick 2022-08-06 17:52:19 -04:00
parent cd23139014
commit 7db66bf1b4

View File

@ -31,7 +31,7 @@
utils.lib.mkFlake { utils.lib.mkFlake {
hosts = { hosts = {
nil.modules = [ nil.modules = [
nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1 nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen2
./hosts/nil.nix ./hosts/nil.nix
]; ];
}; };
@ -39,16 +39,16 @@
# Shared logic below. # Shared logic below.
inherit self inputs; inherit self inputs;
supportedSystems = [ "x86_64-linux" ]; supportedSystems = [ "x86_64-linux" ];
channels.nixpkgs = { channels.nixpkgs = {
input = nixpkgs; input = nixpkgs;
overlaysBuilder = channels: [ ]; overlaysBuilder = channels: [ ];
}; };
channelsConfig = { allowUnfree = true; }; channelsConfig = { allowUnfree = true; };
sharedOverlays = [ nur.overlay emacs-overlay.overlay ]; sharedOverlays = [ nur.overlay emacs-overlay.overlay ];
hostDefaults = { hostDefaults = {
modules = [ modules = [
nixos-hardware.nixosModules.lenovo-thinkpad-t14-amd-gen1
./hosts/nil.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;