modified: modules/default.nix new file: modules/desktop/apps/emulationstation.nix modified: modules/desktop/games.nix
20 lines
No EOL
591 B
Nix
20 lines
No EOL
591 B
Nix
/* -------------------------------------------------------------------------- */
|
|
/* App config: EmulationStation */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
{ lib, config, options, pkgs ? import <nixpkgs>, ... }:
|
|
|
|
with lib;
|
|
let cfg = config.modules.desktop.apps.emulationstation;
|
|
in {
|
|
options.modules.desktop.apps.emulationstation = {
|
|
enable = mkEnableOption false;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs.unstable; [
|
|
emulationstation-de
|
|
];
|
|
};
|
|
} |