nixcfg/nixosModules/apps/steam/default.nix

29 lines
649 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
config,
2024-06-28 21:07:20 -04:00
lib,
pkgs,
2024-04-07 22:16:33 -04:00
...
}: {
2024-06-28 21:07:20 -04:00
config =
lib.mkIf (
config.ar.apps.steam.enable
|| config.ar.desktop.steam.enable
) {
hardware.steam-hardware.enable = true;
2024-06-28 21:07:20 -04:00
programs = {
gamescope.enable = config.ar.desktop.steam.enable;
2024-06-28 21:07:20 -04:00
steam = {
enable = true;
dedicatedServer.openFirewall = true;
add pacifidlog (legion go) (#120) * flake: add jovian input * hosts/pacifidlog: add initial output and config * pacifidlog: set jovian desktopSession to gamescope-wayland * pacifidlog: use latest kernel * github: add pacifidlog build * pacifidlog: disable jovian * pacifidlog: remove swapfile * create pacifidlog hardware config * pacifidlog: enable jovian * secrets: add pacifidlog * pacifidlog: add monitor settings * pacifidlog/hyprland: map touch to screen transformation * pacifidlog: set desktopSession to hyprland * pacifidlog: fixup hyprland input settings * secrets: add aly@pacifidlog and rekey * pacifidlog: use lanzaboote * pacifidog: disable steam desktop due to conficts with jovian * pacifidlog: transform touch device in hyprland * pacifidlog: enable tabletmode * reformat * pacifidlog: add legion module * pacifidlog: set consoleMode to max * pacifidlog: enable amdgpu in initrd * lenovo/legion/go: disable legion module due to build failure * accidentally changed petalburg :\ * pacifidlog: try consoleMode 1 * pacifidlog: add hdd-decky * pacifidlog: disable missing plugins * pacifidlog: run decky loader as root * decky-loader: add python * pacifidlog: clean up dekcy oader * pacifidlog: set jovian has.amd.gpu = true * legion go: add acpi_call * add nix-gaming and jovian-nixos substituters * pacifidlog: add hdd adjustor * legion go: disable ppd * pacifidlog: add hdd-ui * pacifidlog: test systemd hhd-ui * pacifidlog: add README * cleanup before merge * create pkgs/ * adjustor,hhd-ui: update to latest versions
2024-10-13 18:41:35 -04:00
extest.enable = true;
2024-06-28 21:07:20 -04:00
extraCompatPackages = with pkgs; [proton-ge-bin];
gamescopeSession.enable = config.ar.desktop.steam.enable;
localNetworkGameTransfers.openFirewall = true;
remotePlay.openFirewall = true;
};
2024-06-15 20:21:34 -04:00
};
};
}