41 lines
994 B
Nix
41 lines
994 B
Nix
{ 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;
|
|
};
|
|
};
|
|
};
|
|
}
|