Compare commits

..

2 Commits

Author SHA1 Message Date
Jan-Bulthuis a760c0251e Moved steam desktop entries to its own subfolder 2025-01-29 16:49:11 +01:00
Jan-Bulthuis dad0cdb169 Added retroarch 2025-01-29 00:07:45 +01:00
6 changed files with 37 additions and 1 deletions

1
dotfiles Submodule

@ -0,0 +1 @@
Subproject commit 9d73b0d728c81aeab28b0af68b390532279f0ab1

View File

@ -3,6 +3,7 @@
{
imports = [
./emulators/pcsx2.nix
./emulators/retroarch.nix
./emulators/ryujinx.nix
./launchers/es-de.nix
./launchers/modrinth.nix

View File

@ -0,0 +1,22 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.retroarch;
in
{
options.modules.retroarch = {
enable = mkEnableOption "RetroArch";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
retroarch-free
];
};
}

View File

@ -16,7 +16,10 @@ in
config = mkIf cfg.enable {
home.packages = with pkgs; [
ryujinx
ryubing
];
# TODO: Make more general
wayland.windowManager.river.settings.rule-add."-app-id"."'Ryujinx'" = "fullscreen";
};
}

View File

@ -1,6 +1,7 @@
{
lib,
config,
pkgs,
...
}:
@ -17,5 +18,12 @@ in
];
programs.steam.enable = true;
# Make steam create desktop entries in a subfolder
programs.steam.package = pkgs.steam.override {
extraBwrapArgs = [
"--bind $HOME/.local/share/applications/Steam $HOME/.local/share/applications"
];
};
};
}

View File

@ -67,6 +67,7 @@
modrinth.enable = true;
es-de.enable = true;
pcsx2.enable = true;
retroarch.enable = true;
ryujinx.enable = true;
# Media