feat: add lutris module and enable it on andromedae

This commit is contained in:
Dmitriy Kholkin 2025-07-04 14:32:41 +03:00
parent 68337c6411
commit f111a8a3cc
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
2 changed files with 25 additions and 0 deletions

View File

@ -65,6 +65,7 @@ in
# Home-manager
home-manager.users.${defaultUser} = {
ataraxia.defaults.role = "desktop";
ataraxia.programs.lutris.enable = true;
ataraxia.programs.mangohud.enable = true;
ataraxia.services.modprobed-db.enable = true;
ataraxia.theme.catppuccin.enable = true;

View File

@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.ataraxia.programs.lutris;
in
{
options.ataraxia.programs.lutris = {
enable = mkEnableOption "Enable lutris program";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
lutris
wine
];
persist.state.directories = [ ".local/share/lutris" ];
};
}