Migrate runescape to jagexlauncher
This commit is contained in:
parent
a22ee8c669
commit
79af1976ef
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./mangohud.nix
|
||||
./runescape.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
|
@ -10,12 +11,6 @@
|
|||
gamemode
|
||||
protonup-ng
|
||||
prismlauncher
|
||||
runelite
|
||||
];
|
||||
persistence."/persist/home/sajenim" = {
|
||||
directories = [
|
||||
".runelite"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
20
home-manager/sajenim/features/games/runescape.nix
Normal file
20
home-manager/sajenim/features/games/runescape.nix
Normal 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"; }
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in a new issue