Skip to content

Commit

Permalink
more emulation module
Browse files Browse the repository at this point in the history
  • Loading branch information
Octelly committed Dec 25, 2024
1 parent 23bd5b0 commit 4fe1845
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
9 changes: 7 additions & 2 deletions hosts/ocean-desktop/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
emulation = {
enable = true;
switch = true;
wii = true;
};
};
awesome = {
Expand Down Expand Up @@ -59,6 +60,10 @@
# #"async" # ??
# ];
#};
networking.firewall.allowedTCPPorts = [ 3216 ]; # EA App
networking.firewall.allowedUDPPorts = [ 3216 ]; # EA App
networking.firewall.allowedTCPPorts = [
3216 # EA App
];
networking.firewall.allowedUDPPorts = [
3216 # EA App
];
}
4 changes: 4 additions & 0 deletions hosts/ocean-t460/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
steam.enable = true;
olympus.enable = false;
minecraft.enable = true;
emulation = {
enable = true;
wii = true;
};
};
awesome = {
enable = true;
Expand Down
8 changes: 7 additions & 1 deletion modules/desktop/gaming/emulation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ in {
options.modules.desktop.gaming.emulation = {
enable = mkEnableOption "enable the emulation module";
switch = mkEnableOption "Nintendo Switch";
gamecube = mkEnableOption "Nintendo GameCube";
wii = mkEnableOption "Nintendo Wii";

primehack = mkEnableOption "Metroid Prime GCN/Wii mouse keyboard hack";
};

config = mkIf cfg.enable {
Expand All @@ -23,6 +27,8 @@ in {
# a configurator for them
goverlay
]
++ optional cfg.switch pkgs.ryujinx;
++ optional cfg.switch pkgs.ryujinx
++ optional (cfg.gamecube || cfg.wii) pkgs.dolphin-emu
++ optional cfg.primehack pkgs.dolphin-emu-primehack;
};
}
1 change: 0 additions & 1 deletion users/octelly/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ rec {
#tmuf
tetrio-desktop
xonotic-glx
dolphin-emu
#emulationstation-de
inputs.aagl.packages.${pkgs.system}.sleepy-launcher

Expand Down

0 comments on commit 4fe1845

Please sign in to comment.