feat: add umu-launcher on andromedae
This commit is contained in:
parent
9e641c97bf
commit
f00ecb7c9b
@ -69,6 +69,7 @@ in
|
|||||||
ataraxia.defaults.role = "desktop";
|
ataraxia.defaults.role = "desktop";
|
||||||
ataraxia.programs.lutris.enable = true;
|
ataraxia.programs.lutris.enable = true;
|
||||||
ataraxia.programs.mangohud.enable = true;
|
ataraxia.programs.mangohud.enable = true;
|
||||||
|
ataraxia.programs.umu-launcher.enable = true;
|
||||||
ataraxia.services.modprobed-db.enable = true;
|
ataraxia.services.modprobed-db.enable = true;
|
||||||
ataraxia.theme.catppuccin.enable = true;
|
ataraxia.theme.catppuccin.enable = true;
|
||||||
|
|
||||||
|
20
modules/home/applications/games/umu-launcher.nix
Normal file
20
modules/home/applications/games/umu-launcher.nix
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) mkEnableOption mkIf;
|
||||||
|
cfg = config.ataraxia.programs.umu-launcher;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.ataraxia.programs.umu-launcher = {
|
||||||
|
enable = mkEnableOption "Enable umu-launcher program";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [ umu-launcher ];
|
||||||
|
persist.state.directories = [ ".local/share/umu" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user