Use Heroic account switching build
This commit is contained in:
18
nixos/flake.lock
generated
18
nixos/flake.lock
generated
@@ -761,6 +761,23 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"heroic-games-launcher": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1781264135,
|
||||||
|
"narHash": "sha256-Ee0Y7CZG05J1ZK66rxfx7s7Q/1vgzVdJGagAPrRB2RM=",
|
||||||
|
"owner": "colonelpanic8",
|
||||||
|
"repo": "HeroicGamesLauncher",
|
||||||
|
"rev": "df53df1eea5eef59c7c7fc1c5d18dff8a5814838",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "colonelpanic8",
|
||||||
|
"ref": "colonelpanic/epic-multi-account-switching",
|
||||||
|
"repo": "HeroicGamesLauncher",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -1963,6 +1980,7 @@
|
|||||||
"git-ignore-nix": "git-ignore-nix",
|
"git-ignore-nix": "git-ignore-nix",
|
||||||
"git-sync-rs": "git-sync-rs",
|
"git-sync-rs": "git-sync-rs",
|
||||||
"grub2-themes": "grub2-themes",
|
"grub2-themes": "grub2-themes",
|
||||||
|
"heroic-games-launcher": "heroic-games-launcher",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hypr-dynamic-cursors": "hypr-dynamic-cursors",
|
"hypr-dynamic-cursors": "hypr-dynamic-cursors",
|
||||||
"hypr-workspace-history": "hypr-workspace-history",
|
"hypr-workspace-history": "hypr-workspace-history",
|
||||||
|
|||||||
@@ -291,6 +291,11 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
heroic-games-launcher = {
|
||||||
|
url = "github:colonelpanic8/HeroicGamesLauncher?ref=colonelpanic/epic-multi-account-switching";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
grub2-themes = {
|
grub2-themes = {
|
||||||
url = "github:vinceliuice/grub2-themes";
|
url = "github:vinceliuice/grub2-themes";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|||||||
@@ -1,10 +1,17 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
makeEnable,
|
makeEnable,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
heroicAccountSwitchingVersion = "${pkgs.heroic.version}-epic-account-switching-${inputs.heroic-games-launcher.shortRev or "dirty"}";
|
||||||
|
heroicWithEpicAccountSwitching = pkgs.heroic.overrideAttrs (oldAttrs: {
|
||||||
|
name = "${oldAttrs.pname or "heroic"}-${heroicAccountSwitchingVersion}";
|
||||||
|
version = heroicAccountSwitchingVersion;
|
||||||
|
src = inputs.heroic-games-launcher;
|
||||||
|
});
|
||||||
repairXwaylandSocket = pkgs.writeShellApplication {
|
repairXwaylandSocket = pkgs.writeShellApplication {
|
||||||
name = "repair-xwayland-socket";
|
name = "repair-xwayland-socket";
|
||||||
text = ''
|
text = ''
|
||||||
@@ -49,7 +56,7 @@ in
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
repairXwaylandSocket
|
repairXwaylandSocket
|
||||||
steamWithXwaylandSocketRepair
|
steamWithXwaylandSocketRepair
|
||||||
heroic
|
heroicWithEpicAccountSwitching
|
||||||
legendary-gl
|
legendary-gl
|
||||||
protontricks
|
protontricks
|
||||||
steam-run
|
steam-run
|
||||||
|
|||||||
Reference in New Issue
Block a user