nixos/modules/desktop/game/steam/default.nix

16 lines
289 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.game.steam;
in
{
options.modules.desktop.game.steam = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
steam
];
};
}