Add physical system profile

This commit is contained in:
emily 2024-06-12 16:20:58 +02:00
parent 88b7a63bb0
commit 4ffe117269
Signed by: emily
GPG key ID: F6F4C66207FCF995
2 changed files with 14 additions and 3 deletions

View file

@ -3,8 +3,9 @@
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-extreme-gen4
../../common
../../profiles/graphical
./hardware-configuration.nix
../../profiles/physical.nix
./disko.nix
./hardware-configuration.nix
];
boot.extraModprobeConfig = ''
@ -27,7 +28,6 @@
};
hardware.bluetooth.enable = true;
hardware.cpu.intel.updateMicrocode = true;
hardware.gpgSmartcards.enable = true;
hardware.nitrokey.enable = true;
@ -44,7 +44,6 @@
extraBackends = [ pkgs.utsushi ];
};
kyouma.machine-type.physical = true;
kyouma.machine-type.portable = true;
networking.hostName = "ryuuko";

View file

@ -0,0 +1,12 @@
{ pkgs, ... }:{
environment.systemPackages = with pkgs; [
pciutils
usbutils
];
hardware.cpu.intel.updateMicrocode = true;
hardware.enableAllFirmware = true;
kyouma.machine-type.physical = true;
services.fwupd.enable = true;
}