my nixos dotfiles :3 (git.koi.rip mirror) git.koi.rip/koi/dotfiles
linux dotfiles neovim nixos catppuccin
1
fork

Configure Feed

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

teto: update hardware config

june 613b9b25 9bf6e79d

+19 -11
-2
home/modules/programs/niri.nix
··· 8 8 home.sessionVariables = { 9 9 XDG_BACKEND = "wayland"; 10 10 NIXOS_OZONE_WL = "1"; 11 - LIBVA_DRIVER_NAME = "nvidia"; 12 - __GLX_VENDOR_LIBRARY_NAME = "nvidia"; 13 11 }; 14 12 15 13 programs.niri.settings = {
+5
systems/miku/hardware.nix
··· 53 53 }; 54 54 }; 55 55 56 + environment.sessionVariables = { 57 + LIBVA_DRIVER_NAME = "nvidia"; 58 + __GLX_VENDOR_LIBRARY_NAME = "nvidia"; 59 + }; 60 + 56 61 services.xserver.videoDrivers = [ "nvidia" ]; 57 62 }
+14 -9
systems/teto/hardware.nix
··· 18 18 "vmd" 19 19 "ahci" 20 20 "nvme" 21 - "usb_storage" 22 - "sd_mod" 21 + "usbhid" 23 22 ]; 24 23 boot.initrd.kernelModules = [ ]; 25 24 boot.kernelModules = [ "kvm-intel" ]; ··· 41 40 42 41 swapDevices = [ { device = "/dev/disk/by-uuid/0dcdc8f5-638b-4b93-bdd0-453aa8af66d9"; } ]; 43 42 44 - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 45 - # (the default) this is the recommended approach. When using systemd-networkd it's 46 - # still possible to use this option, but it's recommended to use it in conjunction 47 - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 48 - networking.useDHCP = lib.mkDefault true; 49 - # networking.interfaces.enp43s0.useDHCP = lib.mkDefault true; 50 - 51 43 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 52 44 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 45 + 46 + hardware = { 47 + graphics = { 48 + enable = true; 49 + enable32Bit = true; 50 + extraPackages = with pkgs; [ 51 + intel-media-driver 52 + vpl-gpu-rt 53 + ]; 54 + }; 55 + }; 56 + 57 + services.xserver.videoDrivers = [ "modesetting" ]; 53 58 }