feat: add lutris module and enable it on andromedae
This commit is contained in:
parent
68337c6411
commit
f111a8a3cc
@ -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;
|
||||
|
24
modules/home/applications/games/lutris.nix
Normal file
24
modules/home/applications/games/lutris.nix
Normal 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" ];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user