]> Git — Sourcephile - julm/julm-nix.git/blob - home-manager/profiles/gaming.nix
maint/update(overlays): pass inputs
[julm/julm-nix.git] / home-manager / profiles / gaming.nix
1 { pkgs, lib, ... }:
2 {
3 home.packages = [
4 pkgs.freeciv_gtk
5 pkgs.cockatrice
6 ];
7 home.sessionVariables = {
8 # Workaround: https://github.com/cemu-project/Cemu/issues/1150#issuecomment-3684818077
9 # Source: https://github.com/mdqinc/SDL_GameControllerDB
10 SDL_GAMECONTROLLERCONFIG = lib.concatStringsSep "\n" [
11 "030000006d0400001ac2000000000000,Logitech Precision Gamepad,a:b1,b:b2,x:b0,y:b3,back:b8,start:b9,leftshoulder:b4,rightshoulder:b5,dpup:-a1,dpdown:+a1,dpleft:-a0,dpright:+a0,lefttrigger:b6,righttrigger:b7,platform:Linux,"
12 ];
13 };
14 }