modules: programs: add steam
This commit is contained in:
parent
91489d5b71
commit
24b540d948
|
@ -3,6 +3,6 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
# FIXME
|
||||
./steam.nix
|
||||
];
|
||||
}
|
||||
|
|
15
modules/programs/steam.nix
Normal file
15
modules/programs/steam.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.my.programs.steam;
|
||||
in
|
||||
{
|
||||
options.my.programs.steam = with lib; {
|
||||
enable = mkEnableOption "steam configuration";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue