mv steam to modules

This commit is contained in:
smayzy committed 2025-07-08 17:00:51 +02:00
1 parent 40a7288a5a
commit ef7111275b
5 files changed
+29 -4

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
{ lib, config, pkgs, ... }:
{
imports = [
./steam.nix
];
}
+15
View File
@@ -0,0 +1,15 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.steam = mkOption {
type = types.bool;
default = false;
description = "steam support";
};
config = mkIf config.smayzy.steam {
programs.steam.enable = true;
};
}