Group modules into feature directories
This commit is contained in:
parent
0baed7e6f6
commit
9782272a76
49 changed files with 244 additions and 83 deletions
16
nix/modules/nixos/features/gaming.nix
Normal file
16
nix/modules/nixos/features/gaming.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options.features.desktop.gaming.enable = lib.mkEnableOption "Enable games";
|
||||
|
||||
config = lib.mkIf config.features.desktop.gaming.enable {
|
||||
programs.steam.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [ zeroad ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue