mv steam to modules

This commit is contained in:
smayzy
2025-07-08 17:00:51 +02:00
parent 40a7288a5a
commit ef7111275b
5 changed files with 29 additions and 4 deletions
+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;
};
}