added config for framework specific hardware things

This commit is contained in:
Leyla Becker 2024-06-06 15:47:44 -05:00
parent f0a6d7362a
commit 85a34279b3

View file

@ -10,9 +10,11 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
}; };
outputs = { self, nixpkgs, ... }@inputs: outputs = { self, nixpkgs, nixos-hardware, ... }@inputs:
let let
forEachSystem = nixpkgs.lib.genAttrs [ "x86_64-linux" ]; forEachSystem = nixpkgs.lib.genAttrs [ "x86_64-linux" ];
forEachPkgs = lambda: forEachSystem (system: lambda nixpkgs.legacyPackages.${system}); forEachPkgs = lambda: forEachSystem (system: lambda nixpkgs.legacyPackages.${system});
@ -26,6 +28,7 @@
modules = [ modules = [
./hosts/horizon/configuration.nix ./hosts/horizon/configuration.nix
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
nixos-hardware.nixosModules.framework-11th-gen-intel
]; ];
}; };
}; };