refactor ft home configuration
This commit is contained in:
17
homeConfigs/modules/game.nix
Normal file
17
homeConfigs/modules/game.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.mods.game.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "install packages for games (except steam , it's installed systemwide)";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.mods.game.enable {
|
||||
home.packages = with pkgs;[
|
||||
lutris
|
||||
mangohud
|
||||
moonlight-qt
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user