Copy-paste slip from 7064bbe: emulators.nix declared
profiles.gaming.gamescope.enable (already declared in gamescope.nix)
while reading profiles.gaming.emulators, which was never declared.
Declare the emulators option instead.
19 lines
286 B
Nix
19 lines
286 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.profiles.gaming.emulators;
|
|
in {
|
|
options.profiles.gaming.emulators.enable = mkEnableOption "Emulators";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
shadps4
|
|
shadps4-qtlauncher
|
|
];
|
|
};
|
|
}
|