This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / 2configs / hw / gpd-pocket.nix
1.1 kB 28 lines
1{ pkgs, ... }: 2 3let 4 dummy_firmware = pkgs.writeTextFile { 5 name = "brcmfmac4356-pcie.txt"; 6 text = builtins.readFile ./brcmfmac4356-pcie.txt; 7 destination = "/lib/firmware/brcm/brcmfmac4356-pcie.txt"; 8 }; 9in { 10 #imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ]; 11 hardware.firmware = [ dummy_firmware ]; 12 hardware.enableRedistributableFirmware = true; 13 14 boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_acpi" "sdhci_pci" ]; 15 boot.kernelPackages = pkgs.linuxPackages_4_14; 16 boot.kernelParams = [ 17 "fbcon=rotate:1" 18 ]; 19 services.xserver.displayManager.sessionCommands = '' 20 (sleep 2 && ${pkgs.xorg.xrandr}/bin/xrandr --output DSI1 --rotate right) 21 (sleep 2 && ${pkgs.xorg.xinput}/bin/xinput set-prop 'Goodix Capacitive TouchScreen' 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1) 22 ''; 23 services.xserver.dpi = 200; 24 fonts.fontconfig.dpi = 200; 25 lass.fonts.regular = "xft:Hack-Regular:pixelsize=22,xft:Symbola"; 26 lass.fonts.bold = "xft:Hack-Bold:pixelsize=22,xft:Symbola"; 27 lass.fonts.italic = "xft:Hack-RegularOblique:pixelsize=22,xft:Symbol"; 28}