feat: better modules aragement.
This commit is contained in:
parent
de11ee0676
commit
6e967a751f
49 changed files with 27 additions and 19 deletions
29
modules/linux/home-manager/emulators.nix
Normal file
29
modules/linux/home-manager/emulators.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
crony.emulators.enable = lib.mkEnableOption "Install my emulators";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.crony.emulators.enable {
|
||||
home.packages = with pkgs; [
|
||||
(retroarch.withCores (
|
||||
cores:
|
||||
with cores; [
|
||||
beetle-saturn
|
||||
mupen64plus
|
||||
flycast
|
||||
desmume
|
||||
]
|
||||
))
|
||||
duckstation
|
||||
pcsx2
|
||||
dolphin-emu
|
||||
rpcs3
|
||||
mame-tools
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue