mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Desktop/Gaming] Add emulation, and start by adding Yuzu
This commit is contained in:
parent
03f285849e
commit
69c5fdb954
1 changed files with 9 additions and 0 deletions
|
|
@ -9,6 +9,13 @@ in {
|
|||
options = {
|
||||
aviallon.desktop.gaming = {
|
||||
enable = mkEnableOption "gaming features";
|
||||
emulation = mkEnableOption "console emulators";
|
||||
yuzu.package = mkOption {
|
||||
description = "Yuzu switch emulator package";
|
||||
type = with types; package;
|
||||
example = pkgs.yuzu-early-access;
|
||||
default = pkgs.yuzu-mainline;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -22,6 +29,8 @@ in {
|
|||
#gamescope
|
||||
mangohud
|
||||
lutris
|
||||
] ++ optionals cfg.gaming.emulation [
|
||||
cfg.gaming.yuzu.package
|
||||
];
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue