mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-19 02:46:06 -07:00
Compare commits
3 Commits
1c0e56b2b6
...
b773c64e3b
Author | SHA1 | Date | |
---|---|---|---|
b773c64e3b | |||
71e99b459d | |||
88427286e7 |
@ -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[@]}"
|
||||
|
@ -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`
|
||||
|
@ -86,6 +86,8 @@
|
||||
};
|
||||
gaming = {
|
||||
steam.enable = true;
|
||||
emulation.enable = true;
|
||||
misc.enable = true;
|
||||
};
|
||||
services = {
|
||||
jellyfin.enable = false;
|
||||
|
@ -91,6 +91,8 @@
|
||||
};
|
||||
gaming = {
|
||||
steam.enable = true;
|
||||
emulation.enable = true;
|
||||
misc.enable = true;
|
||||
};
|
||||
services = {
|
||||
jellyfin.enable = false;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [ ./steam.nix ];
|
||||
imports = [ ./steam.nix ./misc.nix ./emulation.nix ];
|
||||
}
|
||||
|
25
provision/modules/gaming/emulation.nix
Normal file
25
provision/modules/gaming/emulation.nix
Normal 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
|
||||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
15
provision/modules/gaming/misc.nix
Normal file
15
provision/modules/gaming/misc.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
@ -18,17 +18,6 @@ in {
|
||||
steam
|
||||
steamtinkerlaunch
|
||||
gamescope
|
||||
yuzu-archive
|
||||
citra-archive
|
||||
dolphin-emu
|
||||
ppsspp
|
||||
mgba
|
||||
ares
|
||||
sunshine
|
||||
moonlight-qt
|
||||
prismlauncher
|
||||
jdk17
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -25,6 +25,7 @@ in {
|
||||
bash-completion
|
||||
tmux
|
||||
tmuxp
|
||||
thefuck
|
||||
|
||||
nnn
|
||||
# for nnn
|
||||
|
BIN
resources/img/Retroarch/boxart.png
Normal file
BIN
resources/img/Retroarch/boxart.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 730 KiB |
BIN
resources/img/Retroarch/hero.png
Normal file
BIN
resources/img/Retroarch/hero.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 619 KiB |
BIN
resources/img/Retroarch/icons.png
Normal file
BIN
resources/img/Retroarch/icons.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
resources/img/Retroarch/logo.png
Normal file
BIN
resources/img/Retroarch/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
BIN
resources/img/Retroarch/tenfoot.png
Normal file
BIN
resources/img/Retroarch/tenfoot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 464 KiB |
Loading…
x
Reference in New Issue
Block a user