{ pkgs, aagl, ... }: { imports = [ aagl.nixosModules.default ]; environment.systemPackages = with pkgs; [ unstable.heroic unstable.lutris unstable.mangohud unstable.prismlauncher wine # unstable.parsec-bin ]; nixpkgs.config.permittedInsecurePackages = [ "electron-24.8.6" # "electron-12.2.3" ]; 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; }; }; # "pipewire/pipewire.d/99-input-denoising.conf" = json.generate "99-input-denoising.conf" { # context.modules = [{ # name = "libpipewire-module-filter-chain"; # }]; # }; }; }