all repos — nixfiles @ cca3a69947eb84d79c5816648cc104ad9b55623f

System and user configuration, managed by nix and home-manager

Create more hardware modules

Alan Pearce
commit

cca3a69947eb84d79c5816648cc104ad9b55623f

parent

a3761db1bf6df8cc4e58dbbdde75f10059dd6068

4 files changed, 29 insertions(+), 0 deletions(-)

jump to
A modules/bare-metal.nix
@@ -0,0 +1,13 @@
+{ config, pkgs, ... }: + +{ environment.systemPackages = with pkgs; [ + fuse_exfat + cryptsetup + dmidecode + hdparm + pciutils + usbutils + ]; + + boot.kernelPackages = pkgs.linuxPackages_4_12; +}
A modules/intel-gpu.nix
@@ -0,0 +1,6 @@
+{ config, pkgs, ... }: + +{ hardware.opengl.extraPackages = with pkgs; [ + vaapiIntel + ]; +}
A modules/t470s.nix
@@ -0,0 +1,7 @@
+{ config, pkgs, ... }: + +{ hardware.usbWwan.enable = true; + hardware.firmware = with pkgs; [ + firmwareLinuxNonfree + ]; +}
M satoshipad.nixsatoshipad.nix
@@ -18,6 +18,9 @@ ./modules/colemak.nix
./modules/trackball.nix ./modules/xserver.nix ./modules/british-english.nix + ./modules/bare-metal.nix + ./modules/intel-gpu.nix + ./modules/t470s.nix ]; networking.hostName = "satoshipad";