added: hytale launcher to desktop host
This commit is contained in:
4
modules/alecaframe/default.nix
Normal file
4
modules/alecaframe/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
_: {
|
||||
home = ./home.nix;
|
||||
# nixos: ./nixos.nix;
|
||||
}
|
||||
34
modules/alecaframe/home.nix
Normal file
34
modules/alecaframe/home.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.alecaframe;
|
||||
in
|
||||
{
|
||||
# You gotta install it into prefix yourself. this just makes a desktop file
|
||||
options.modules.alecaframe = {
|
||||
enable = lib.mkEnableOption "";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
xdg.desktopEntries = {
|
||||
alecaframe = {
|
||||
name = "Alecaframe";
|
||||
comment = "launches alecaframe";
|
||||
exec = ''
|
||||
protonhax run 230410 "
|
||||
/home/branden/.local/share/Steam/steamapps/compatdata/230410/pfx/drive_c/users/steamuser/AppData/Roaming/Microsoft/Windows/Start
|
||||
Menu/Programs/Overwolf/AlecaFrame.lnk
|
||||
"
|
||||
'';
|
||||
# icon = "system-reboot";
|
||||
terminal = false;
|
||||
type = "Application";
|
||||
categories = [ "System" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user