1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-07-13 22:45:42 +02:00
parent 60f8850908
commit 56c97b3712
No known key found for this signature in database
9 changed files with 28 additions and 88 deletions

View file

@ -1,16 +0,0 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.profiles.emulation;
in
{
config = lib.mkIf cfg.enable {
environment.systemPackages = [
pkgs.cemu
];
};
}

View file

@ -1,18 +0,0 @@
{ config, lib, ... }:
let
cfg = config.profiles.emulation;
in
{
options.profiles.emulation = {
enable = lib.mkEnableOption "emulation";
};
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = config.profiles.desktop.enable;
message = "The emulation profile depends on the desktop profile.";
}
];
};
}

View file

@ -1,16 +0,0 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.profiles.emulation;
in
{
config = lib.mkIf cfg.enable {
environment.systemPackages = [
pkgs.dolphin-emu
];
};
}

View file

@ -1,16 +0,0 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.profiles.emulation;
in
{
config = lib.mkIf cfg.enable {
environment.systemPackages = [
pkgs.rmg-wayland
];
};
}

View file

@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.profiles.gaming;
in
{
config = lib.mkIf cfg.enable {
environment.systemPackages =
let
retroarch = pkgs.retroarch.withCores (cores: [
cores.parallel-n64
cores.dolphin
]);
in
[ retroarch ];
};
}