home: add emulation module
This commit is contained in:
parent
e9451f4a4a
commit
625e67339e
2 changed files with 20 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ in {
|
|||
./wow.nix
|
||||
./wine.nix
|
||||
./bottles.nix
|
||||
./emulation.nix
|
||||
];
|
||||
config = mkIf (elem "gaming" profiles) {
|
||||
ooknet.binds = {
|
||||
|
|
|
|||
19
modules/home/workstation/gaming/emulation.nix
Normal file
19
modules/home/workstation/gaming/emulation.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf elem;
|
||||
inherit (builtins) attrValues;
|
||||
inherit (osConfig.ooknet.workstation) profiles;
|
||||
in {
|
||||
config = mkIf (elem "gaming" profiles) {
|
||||
home.packages = attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
ryujinx
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue