diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/desktop/hardware-configuration.nix index 0d55cbc..9f68bfc 100644 --- a/hosts/desktop/hardware-configuration.nix +++ b/hosts/desktop/hardware-configuration.nix @@ -10,8 +10,8 @@ boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.kernelModules = [ "kvm-amd" "v4l2loopback" ]; + boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ]; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix index 5c9a870..530657d 100644 --- a/modules/hyprland/default.nix +++ b/modules/hyprland/default.nix @@ -32,6 +32,8 @@ in # Whether to enable hyprland-session.target on hyprland startup systemd.enable = true; + # Whether to enable patching wlroots for better Nvidia support + enableNvidiaPatches = true; extraConfig = lib.strings.concatStrings [ monitor_config '' diff --git a/modules/neovim.nix b/modules/neovim.nix index 329323d..285e85d 100644 --- a/modules/neovim.nix +++ b/modules/neovim.nix @@ -125,6 +125,16 @@ in key = "K"; action = ":m '<-2gv=gv"; } + { + mode = "v"; + key = ">"; + action = ">gv"; + } + { + mode = "v"; + key = "<"; + action = "