46 lines
1.2 KiB
Nix
46 lines
1.2 KiB
Nix
{ lib, config, pkgs, ... }:
|
|
|
|
let
|
|
hyprLib = import ../../lib/hypr.nix { inherit lib; };
|
|
in
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules
|
|
./gaming.nix
|
|
./wireguard.nix
|
|
./nvidia.nix
|
|
./kanshi.nix
|
|
./obs-studio.nix
|
|
./openrgb.nix
|
|
];
|
|
|
|
networking.hostName = "tuxcomp";
|
|
system.stateVersion = "26.05";
|
|
|
|
|
|
hardware.tuxedo-rs = {
|
|
enable = true;
|
|
tailor-gui.enable = true;
|
|
};
|
|
hardware.tuxedo-drivers.enable = true;
|
|
|
|
# tuxcomp specific binds
|
|
home-manager.users."djai".wayland.windowManager.hyprland.settings.bind = [
|
|
(hyprLib.bind "SUPER + SHIFT + G" (hyprLib.exec "~/.config/hypr/scripts/gamemode_power.sh") "Toggle gaming power profile mode")
|
|
(hyprLib.bind "META + ALT + F6" (hyprLib.exec "~/.config/hypr/scripts/gamemode_power.sh") "Toggle gaming power profile mode")
|
|
];
|
|
|
|
# FIXME: this patch does not work
|
|
# adds a `stretch_aspect` scaler (Valve/gamescope#927) and lets `--rt` use the
|
|
# rtprio limit from modules/gaming.nix instead of CAP_SYS_NICE.
|
|
# nixpkgs.overlays = [
|
|
# (_final: prev: {
|
|
# gamescope = prev.gamescope.overrideAttrs (old: {
|
|
# patches = (old.patches or [ ]) ++ [ ../../patches/gamescope-stretch-aspect.patch ];
|
|
# });
|
|
# })
|
|
# ];
|
|
}
|
|
|