This repository has been archived on 2024-11-22. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-old/modules/desktop/apps/emulationstation.nix

20 lines
591 B
Nix
Raw Normal View History

/* -------------------------------------------------------------------------- */
/* 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
];
};
}