modified: modules/default.nix new file: modules/desktop/apps/emulationstation.nix modified: modules/desktop/games.nix
16 lines
No EOL
283 B
Nix
16 lines
No EOL
283 B
Nix
{ lib, config, options, pkgs, ... }:
|
|
|
|
with lib;
|
|
let cfg = config.modules.desktop.games;
|
|
in {
|
|
options.modules.desktop.games = {
|
|
enable = mkEnableOption false;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
steam
|
|
lutris
|
|
];
|
|
};
|
|
} |