Something went wrong. Try again.
❄️ Dotfiles and NixOS configurations
Something went wrong. Try again.
515 B · 22 lines
Nix
1234567891011121314151617181920212223{ config, inputs, lib, pkgs, ...}: let inherit (lib.modules) mkIf; inherit (lib.options) mkEnableOption;
cfg = config.profile.vr;in { options.profile.vr.enableHighPrioKernelPatch = mkEnableOption "kernel patch to allow high priority graphics for all clients";
config = { boot.kernelPatches = mkIf cfg.enableHighPrioKernelPatch [inputs.scrumpkgs.kernelPatches.cap_sys_nice_begone];
services.monado.enable = true;
environment.systemPackages = [pkgs.opencomposite-helper]; };}