diff options
-rw-r--r-- | modules/bare-metal.nix | 13 | ||||
-rw-r--r-- | modules/intel-gpu.nix | 6 | ||||
-rw-r--r-- | modules/t470s.nix | 7 | ||||
-rw-r--r-- | satoshipad.nix | 3 |
4 files changed, 29 insertions, 0 deletions
diff --git a/modules/bare-metal.nix b/modules/bare-metal.nix new file mode 100644 index 0000000..04046b1 --- /dev/null +++ b/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; +} diff --git a/modules/intel-gpu.nix b/modules/intel-gpu.nix new file mode 100644 index 0000000..775396a --- /dev/null +++ b/modules/intel-gpu.nix @@ -0,0 +1,6 @@ +{ config, pkgs, ... }: + +{ hardware.opengl.extraPackages = with pkgs; [ + vaapiIntel + ]; +} diff --git a/modules/t470s.nix b/modules/t470s.nix new file mode 100644 index 0000000..ba2c17c --- /dev/null +++ b/modules/t470s.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ hardware.usbWwan.enable = true; + hardware.firmware = with pkgs; [ + firmwareLinuxNonfree + ]; +} diff --git a/satoshipad.nix b/satoshipad.nix index 4b84ab5..b5178ca 100644 --- a/satoshipad.nix +++ b/satoshipad.nix @@ -18,6 +18,9 @@ ./modules/trackball.nix ./modules/xserver.nix ./modules/british-english.nix + ./modules/bare-metal.nix + ./modules/intel-gpu.nix + ./modules/t470s.nix ]; networking.hostName = "satoshipad"; |