{ pkgs, aagl, ... }: { imports = [ aagl.nixosModules.default ]; environment.systemPackages = with pkgs; [ unstable.lutris unstable.mangohud unstable.prismlauncher wine unstable.heroic # unstable.parsec-bin ]; programs.steam.enable = true; programs.gamemode.enable = true; programs.gamescope.enable = true; nix.settings = aagl.nixConfig; programs.honkers-railway-launcher.enable = true; security.rtkit.enable = true; environment.etc = let json = pkgs.formats.json { }; in { "pipewire/pipewire.d/92-low-latency.conf".source = json.generate "92-low-latency.conf" { context.properties = { # default.clock.rate = 48000; # default.allowed-rates = [] default.clock.quantum = 32; default.clock.min-quantum = 32; default.clock.max-quantum = 32; }; }; }; }