feat(homeModule:lutris): lutris configuration init
This commit is contained in:
parent
f9915fbb1d
commit
8f67be9e68
2 changed files with 15 additions and 1 deletions
14
home/modules/desktop/gaming/lutris/default.nix
Normal file
14
home/modules/desktop/gaming/lutris/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.homeModules.desktop.gaming.lutris;
|
||||
in
|
||||
|
||||
{
|
||||
options.homeModules.desktop.gaming.lutris.enable = mkEnableOption "Enable lutris home-manager module";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = [ pkgs.lutris ];
|
||||
};
|
||||
}
|
||||
|
|
@ -11,7 +11,7 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
homeModules.desktop = {
|
||||
gaming = {
|
||||
factorio.enable = false;
|
||||
lutris.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue