modules: programs: add steam
This commit is contained in:
parent
45321072fc
commit
37bb7fd625
|
@ -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