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.2 kB 36 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{ 11 #imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ]; 12 hardware.firmware = [ dummy_firmware ]; 13 hardware.enableRedistributableFirmware = true; 14 15 boot.initrd.availableKernelModules = [ 16 "xhci_pci" 17 "usbhid" 18 "usb_storage" 19 "sd_mod" 20 "sdhci_acpi" 21 "sdhci_pci" 22 ]; 23 boot.kernelPackages = pkgs.linuxPackages_4_14; 24 boot.kernelParams = [ 25 "fbcon=rotate:1" 26 ]; 27 services.xserver.displayManager.sessionCommands = '' 28 (sleep 2 && ${pkgs.xorg.xrandr}/bin/xrandr --output DSI1 --rotate right) 29 (sleep 2 && ${pkgs.xorg.xinput}/bin/xinput set-prop 'Goodix Capacitive TouchScreen' 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1) 30 ''; 31 services.xserver.dpi = 200; 32 fonts.fontconfig.dpi = 200; 33 lass.fonts.regular = "xft:Hack-Regular:pixelsize=22,xft:Symbola"; 34 lass.fonts.bold = "xft:Hack-Bold:pixelsize=22,xft:Symbola"; 35 lass.fonts.italic = "xft:Hack-RegularOblique:pixelsize=22,xft:Symbol"; 36}