Reorganized
This commit is contained in:
1 parent
c3c61ce654
commit
760815da50
145 files changed
-1444
No files matched your search
@@ -0,0 +1,22 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.pcsx2;
|
||||
in
|
||||
{
|
||||
options.modules.pcsx2 = {
|
||||
enable = mkEnableOption "pcsx2";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
pcsx2
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.retroarch;
|
||||
in
|
||||
{
|
||||
options.modules.retroarch = {
|
||||
enable = mkEnableOption "RetroArch";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
modules.unfree.allowedPackages = [
|
||||
"libretro-fbalpha2012"
|
||||
"libretro-fbneo"
|
||||
"libretro-fmsx"
|
||||
"libretro-genesis-plus-gx"
|
||||
"libretro-mame2000"
|
||||
"libretro-mame2003"
|
||||
"libretro-mame2003-plus"
|
||||
"libretro-mame2010"
|
||||
"libretro-mame2015"
|
||||
"libretro-opera"
|
||||
"libretro-picodrive"
|
||||
"libretro-snes9x"
|
||||
"libretro-snes9x2002"
|
||||
"libretro-snes9x2005"
|
||||
"libretro-snes9x2005-plus"
|
||||
"libretro-snes9x2010"
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# retroarch-full
|
||||
retroarch-free
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.ryujinx;
|
||||
in
|
||||
{
|
||||
options.modules.ryujinx = {
|
||||
enable = mkEnableOption "ryujinx";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
ryubing
|
||||
];
|
||||
|
||||
# TODO: Make more general
|
||||
wayland.windowManager.river.settings.rule-add."-app-id"."'Ryujinx'" = "fullscreen";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user