start making modules as actual modules, wip no battery left

This commit is contained in:
2025-02-09 04:57:29 +01:00
parent a2037ffb56
commit 5363e26357
6 changed files with 59 additions and 22 deletions

View File

@ -1,10 +1,14 @@
{ config, lib, inputs, pkgs, ... }:
{config, lib, ... }:
{
programs.steam.enable=true;
programs.steam.protontricks.enable=true;
options.mods.gayming.enable = lib.mkOption {
type = lib.types.bool;
default = true;
description = "enable games on the host";
};
# environment.systemPackages = with pkgs; [ qemu quickemu];
# programs.virt-manager.enable = true;
# virtualisation.libvirtd.enable = true;
config = lib.mkIf config.mods.gayming.enable {
programs.steam.enable = true;
programs.steam.protontricks.enable = true;
};
}