feat: add hardware-configs

This commit is contained in:
Jacob Bachmann 2024-04-22 17:53:01 +02:00
parent cacfc5b2d3
commit 21ea9638e5
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
3 changed files with 16 additions and 9 deletions

View file

@ -23,7 +23,7 @@
ags.url = "github:Aylur/ags";
};
outputs = { self, nixpkgs, nixos-hardware, ... }@inputs: {
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations = {
W530 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
@ -53,8 +53,6 @@
./modules
./hosts/T430
nixos-hardware.nixosModules.lenovo-thinkpad-t430
inputs.home-manager.nixosModules.home-manager
{

View file

@ -1,6 +1,12 @@
{ ... }: {
{ ... }@inputs: {
imports = [ ./hardware.nix ];
imports = [
./hardware.nix
inputs.nixos-hardware.nixosModules.common-cpu-intel
inputs.nixos-hardware.nixosModules.common-pc
inputs.nixos-hardware.nixosModules.common-pc-ssd
inputs.nixos-hardware.nixosModules.common-gpu-nvidia-nonprime
];
networking.hostName = "IROH";
@ -8,8 +14,8 @@
gui = {
enable = true;
greeter.enable = true;
flavour = [ "Hyprland" "sway" "i3" ];
greeter.enable = false;
flavour = [ "sway" ];
};
nvidia.enable = true;
audio.enable = true;

View file

@ -1,6 +1,9 @@
{ ... }: {
{ ... }@inputs: {
imports = [ ./hardware.nix ];
imports = [
./hardware.nix
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t430
];
networking.hostName = "T430";