lots of stuff

Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2025-06-30 18:13:14 -04:00
parent cf1df09a9e
commit 58f06d6729
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
55 changed files with 2154 additions and 584 deletions

View file

@ -20,10 +20,21 @@
# use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)
#media-session.enable = true;
extraConfig.pipewire.adjust-sample-rate = {
"context.properties" = {
"default.clock.rate" = 192000;
#"defautlt.allowed-rates" = [ 192000 48000 44100 ];
"defautlt.allowed-rates" = [ 192000 ];
#"default.clock.quantum" = 32;
#"default.clock.min-quantum" = 32;
#"default.clock.max-quantum" = 32;
};
};
};
environment.systemPackages = with pkgs; [
pipewire
wireplumber
easyeffects
];
}

18
common/gui/retroarch.nix Normal file
View file

@ -0,0 +1,18 @@
{ pkgs, ... }:
let
retroarchWithCores = (
pkgs.retroarch.withCores (
cores: with cores; [
bsnes
mgba
quicknes
genesis-plus-gx
]
)
);
in
{
environment.systemPackages = [
retroarchWithCores
];
}

View file

@ -3,7 +3,8 @@
lib,
pkgs,
...
}: {
}:
{
options = {
steam.enable = lib.mkEnableOption "Enables steam";
};
@ -13,8 +14,8 @@
nixpkgs.config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs = pkgs:
with pkgs; [
extraPkgs =
pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
@ -46,6 +47,9 @@
WINE_FULLSCREEN_FSR = "1";
};
environment.systemPackages = with pkgs; [protonup];
environment.systemPackages = with pkgs; [
protonup
scanmem
];
};
}