Migrate runescape to jagexlauncher

This commit is contained in:
♥ Minnie ♥ 2024-07-26 09:31:10 +08:00
parent a22ee8c669
commit 79af1976ef
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 21 additions and 6 deletions

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
./mangohud.nix ./mangohud.nix
./runescape.nix
]; ];
home = { home = {
@ -10,12 +11,6 @@
gamemode gamemode
protonup-ng protonup-ng
prismlauncher prismlauncher
runelite
]; ];
persistence."/persist/home/sajenim" = {
directories = [
".runelite"
];
};
}; };
} }

View file

@ -0,0 +1,20 @@
{ inputs, lib, ... }:
{
imports = [
inputs.nix-flatpak.homeManagerModules.nix-flatpak
];
services.flatpak.remotes = lib.mkOptionDefault [
{ name = "flathub"; location = "https://dl.flathub.org/repo/flathub.flatpakrepo"; }
{ name = "JagexLauncher"; location = "https://jagexlauncher.flatpak.mcswain.dev/JagexLauncher.flatpakrepo"; }
];
services.flatpak.packages = [
{ appId = "org.freedesktop.Platform.Compat.i386/x86_64/23.08"; origin = "flathub"; }
{ appId = "org.freedesktop.Platform.GL32.default/x86_64/23.08"; origin = "flathub"; }
{ appId = "com.jagex.Launcher"; origin = "JagexLauncher"; }
{ appId = "com.jagex.Launcher.ThirdParty.RuneLite"; origin = "JagexLauncher"; }
];
}