Compare commits

...

3 Commits

14 changed files with 50 additions and 12 deletions

View File

@ -11,6 +11,7 @@ apps=(
"/run/current-system/sw/bin/ppsspp PPSSPP Emulator"
"/run/current-system/sw/bin/ares Ares Emulator"
"/run/current-system/sw/bin/citra-qt Citra Emulator"
"/run/current-system/sw/bin/retroarch Retroarch Emulator"
)
for app in "${apps[@]}"

View File

@ -16,6 +16,9 @@ shopt -s histappend;
# Autocorrect typos in path names when using `cd`
shopt -s cdspell;
# Setup thefuck
eval "$(thefuck --alias)"
# Enable some Bash 4 features when possible:
# * `autocd`, e.g. `**/qux` will enter `./foo/bar/baz/qux`
# * Recursive globbing, e.g. `echo **/*.txt`

View File

@ -86,6 +86,8 @@
};
gaming = {
steam.enable = true;
emulation.enable = true;
misc.enable = true;
};
services = {
jellyfin.enable = false;

View File

@ -91,6 +91,8 @@
};
gaming = {
steam.enable = true;
emulation.enable = true;
misc.enable = true;
};
services = {
jellyfin.enable = false;

View File

@ -1,4 +1,4 @@
{ ... }:
{
imports = [ ./steam.nix ];
imports = [ ./steam.nix ./misc.nix ./emulation.nix ];
}

View File

@ -0,0 +1,25 @@
{ config, lib, pkgs, user, ... }:
let cfg = config.modules.gaming.emulation;
in {
options.modules.gaming.emulation.enable = lib.mkEnableOption "emulation";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
yuzu-archive
citra-archive
dolphin-emu
ppsspp
mgba
ares
(retroarch.override {
cores = with libretro; [
nestopia
snes9x
mgba
melonds
];
})
];
};
}

View File

@ -0,0 +1,15 @@
{ config, lib, pkgs, user, ... }:
let cfg = config.modules.gaming.misc;
in {
options.modules.gaming.misc.enable = lib.mkEnableOption "misc";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
sunshine
moonlight-qt
prismlauncher
jdk17
];
};
}

View File

@ -18,17 +18,6 @@ in {
steam
steamtinkerlaunch
gamescope
yuzu-archive
citra-archive
dolphin-emu
ppsspp
mgba
ares
sunshine
moonlight-qt
prismlauncher
jdk17
];
};
}

View File

@ -25,6 +25,7 @@ in {
bash-completion
tmux
tmuxp
thefuck
nnn
# for nnn

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB