initial commit for module-refactor

This commit is contained in:
pagedmov
2024-11-01 21:01:52 -04:00
parent 7bee6ebce5
commit ff2535e7a7
62 changed files with 2819 additions and 2670 deletions

View File

@@ -1,5 +1,10 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
snes9x-gtk
];
{lib, config, pkgs, ...}: {
options = {
gamingPkgs.enable = lib.mkEnableOption "enables gaming packages";
};
config = lib.mkIf config.gamingPkgs.enable {
environment.systemPackages = with pkgs; [
snes9x-gtk
];
};
}

View File

@@ -1,6 +1,11 @@
{...}: {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
{lib, config, ...}: {
options = {
steamOpts.enable = lib.mkEnableOption "enables steam configuration";
};
config = lib.mkIf config.steamOpts.enable {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
};
}