Compare commits
3 Commits
8dd4513997
...
emulation
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f2b5f7f57 | |||
| 14a0160309 | |||
| 43654c2946 |
@@ -65,6 +65,14 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vkbasalt = {
|
||||||
|
enable = lib.mkEnableOption "vkBasalt/ReShade/GShade post processing shaders";
|
||||||
|
};
|
||||||
|
|
||||||
|
mangohud = {
|
||||||
|
enable = lib.mkEnableOption "OpenGL/Vulkan overlay tool shown in games presenting FPS, CPU/GPU/memory utilization, load, etc.";
|
||||||
|
};
|
||||||
|
|
||||||
lutris = {
|
lutris = {
|
||||||
enable = lib.mkEnableOption "Lutris game manager and launcher";
|
enable = lib.mkEnableOption "Lutris game manager and launcher";
|
||||||
package = lib.mkOption {
|
package = lib.mkOption {
|
||||||
@@ -134,6 +142,19 @@ in {
|
|||||||
enable = lib.mkEnableOption "Zenless Zone Zero (ZZZ) launcher";
|
enable = lib.mkEnableOption "Zenless Zone Zero (ZZZ) launcher";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
emulators = {
|
||||||
|
enable = lib.mkEnableOption "Emulation";
|
||||||
|
|
||||||
|
n64 = {
|
||||||
|
enable = lib.mkEnableOption "Nintendo 64 (N64) emulator";
|
||||||
|
package = lib.mkOption {
|
||||||
|
type = lib.types.package;
|
||||||
|
default = pkgs.mupen64plus;
|
||||||
|
description = "Package used for the Nintendo 64 (N64) emulator";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = let
|
config = let
|
||||||
@@ -202,7 +223,13 @@ in {
|
|||||||
cfg.lutris.extraPackages
|
cfg.lutris.extraPackages
|
||||||
)) ++
|
)) ++
|
||||||
(lib.optionals cfg.minecraft.enable [pkgs.prismlauncher]) ++
|
(lib.optionals cfg.minecraft.enable [pkgs.prismlauncher]) ++
|
||||||
(lib.optionals cfg.ffxiv.enable [pkgs.xivlauncher]);
|
(lib.optionals cfg.ffxiv.enable [pkgs.xivlauncher pkgs.fflogs]) ++
|
||||||
|
(lib.optionals cfg.vkbasalt.enable [pkgs.vkbasalt pkgs.vkBasalt pkgs.vkbasalt-cli]) ++
|
||||||
|
(lib.optionals cfg.mangohud.enable [pkgs.mangohud]) ++
|
||||||
|
(lib.optionals (cfg.vkbasalt.enable || cfg.mangohud.enable) [pkgs.goverlay pkgs.mesa-demos pkgs.vulkan-tools]) ++
|
||||||
|
(lib.optionals cfg.emulators.enable (
|
||||||
|
lib.optionals cfg.emulators.n64.enable [pkgs.mupen64plus]
|
||||||
|
));
|
||||||
|
|
||||||
nix.settings = let
|
nix.settings = let
|
||||||
inherit agl;
|
inherit agl;
|
||||||
|
|||||||
@@ -89,8 +89,11 @@ in {
|
|||||||
localNetworkGameTransfers = true;
|
localNetworkGameTransfers = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
vkbasalt.enable = true;
|
||||||
gamemode.enable = true;
|
gamemode.enable = true;
|
||||||
gamescope.enable = true;
|
gamescope.enable = true;
|
||||||
|
mangohud.enable = true;
|
||||||
|
|
||||||
lutris = {
|
lutris = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wine = {
|
wine = {
|
||||||
@@ -100,10 +103,13 @@ in {
|
|||||||
compatibility = {
|
compatibility = {
|
||||||
protonSupport = true;
|
protonSupport = true;
|
||||||
};
|
};
|
||||||
extraPackages = with pkgs; [
|
};
|
||||||
gamemode
|
|
||||||
mangohud
|
emulators = {
|
||||||
];
|
enable = true;
|
||||||
|
n64 = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ffxiv.enable = true;
|
ffxiv.enable = true;
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
{...}: {
|
# TODO: refactor into module
|
||||||
|
{ pkgs, ...}: {
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
helvum
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user