i heard you liked modules so i
put modules in you r modules so you can mo dule while you mod ule
This commit is contained in:
parent
2d08836672
commit
8bac46929b
13 changed files with 274 additions and 83 deletions
18
modules/gaming/steam.nix
Normal file
18
modules/gaming/steam.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options = {
|
||||
gaming = {
|
||||
steam.enable = lib.mkEnableOption "enable steam";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.gaming.steam.enable {
|
||||
home.packages = with pkgs; [steam];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue