1
0
Fork 0
forked from emily/nixfiles

Add physical system profile

This commit is contained in:
emily 2024-06-12 16:20:58 +02:00
parent 88b7a63bb0
commit 4ffe117269
Signed by untrusted user: 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 inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-extreme-gen4
../../common ../../common
../../profiles/graphical ../../profiles/graphical
./hardware-configuration.nix ../../profiles/physical.nix
./disko.nix ./disko.nix
./hardware-configuration.nix
]; ];
boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''
@ -27,7 +28,6 @@
}; };
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.cpu.intel.updateMicrocode = true;
hardware.gpgSmartcards.enable = true; hardware.gpgSmartcards.enable = true;
hardware.nitrokey.enable = true; hardware.nitrokey.enable = true;
@ -44,7 +44,6 @@
extraBackends = [ pkgs.utsushi ]; extraBackends = [ pkgs.utsushi ];
}; };
kyouma.machine-type.physical = true;
kyouma.machine-type.portable = true; kyouma.machine-type.portable = true;
networking.hostName = "ryuuko"; 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;
}