This repository has no description
0

Configure Feed

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

superconfig / machines / coaxmetal / physical.nix
1.7 kB 59 lines
1{ config, lib, pkgs, modulesPath, ... }: 2{ 3 imports = [ 4 ./config.nix 5 (modulesPath + "/installer/scan/not-detected.nix") 6 ]; 7 8 networking.hostId = "e0c335ea"; 9 boot.zfs.requestEncryptionCredentials = true; 10 boot.zfs.enableUnstable = true; 11 boot.loader.efi.canTouchEfiVariables = true; 12 boot.loader.grub = { 13 enable = true; 14 # device = "/dev/disk/by-id/nvme-WDC_PC_SN730_SDBQNTY-1T00-1001_205349800040"; 15 device = "nodev"; 16 efiSupport = true; 17 # efiInstallAsRemovable = true; 18 }; 19 20 services.xserver.videoDrivers = [ 21 "amdgpu" 22 ]; 23 24 hardware.opengl.extraPackages = [ pkgs.amdvlk ]; 25 environment.variables.VK_ICD_FILENAMES = 26 "/run/opengl-driver/share/vulkan/icd.d/amd_icd64.json"; 27 28 boot.initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; 29 boot.kernelModules = [ "kvm-amd" ]; 30 31 fileSystems."/" = { 32 device = "zpool/root/root"; 33 fsType = "zfs"; 34 }; 35 36 fileSystems."/home" = { 37 device = "zpool/root/home"; 38 fsType = "zfs"; 39 }; 40 41 fileSystems."/boot" = { 42 device = "/dev/disk/by-uuid/50A7-1889"; 43 fsType = "vfat"; 44 }; 45 46 services.logind.lidSwitch = "ignore"; 47 services.logind.lidSwitchDocked = "ignore"; 48 49 # Mouse stuff 50 services.xserver.libinput.enable = lib.mkForce false; 51 services.xserver.synaptics.enable = true; 52 53 services.xserver.displayManager.sessionCommands = '' 54 xinput disable 'ETPS/2 Elantech Touchpad' 55 xinput set-prop 'ETPS/2 Elantech TrackPoint' 'Evdev Wheel Emulation' 1 56 xinput set-prop 'ETPS/2 Elantech TrackPoint' 'Evdev Wheel Emulation Button' 2 57 xinput set-prop 'ETPS/2 Elantech TrackPoint' 'Evdev Wheel Emulation Axes' 6 7 4 5 58 ''; 59}