refactor(gaming): replace polymc with prismlauncher
This commit is contained in:
parent
6d1a57e091
commit
65aee92ff4
5 changed files with 79 additions and 5 deletions
72
flake.lock
generated
72
flake.lock
generated
|
@ -313,6 +313,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-compat_4": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1650374568,
|
||||||
|
"narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=",
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "b4a34015c698c7793d592d66adbab377907a2be8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "edolstra",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1631561581,
|
"lastModified": 1631561581,
|
||||||
|
@ -567,6 +583,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"libnbtplusplus": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1650031308,
|
||||||
|
"narHash": "sha256-TvVOjkUobYJD9itQYueELJX3wmecvEdCbJ0FinW2mL4=",
|
||||||
|
"owner": "PrismLauncher",
|
||||||
|
"repo": "libnbtplusplus",
|
||||||
|
"rev": "2203af7eeb48c45398139b583615134efd8d407f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "PrismLauncher",
|
||||||
|
"repo": "libnbtplusplus",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-minecraft": {
|
"nix-minecraft": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_5",
|
"flake-utils": "flake-utils_5",
|
||||||
|
@ -771,6 +803,29 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"prismlauncher": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat_4",
|
||||||
|
"libnbtplusplus": "libnbtplusplus",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixos"
|
||||||
|
],
|
||||||
|
"tomlplusplus": "tomlplusplus"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1666182516,
|
||||||
|
"narHash": "sha256-oN+DpJ08N/ar5wLAahgpBV9DeHtMTwSrE7uOwT3A+Yo=",
|
||||||
|
"owner": "PrismLauncher",
|
||||||
|
"repo": "PrismLauncher",
|
||||||
|
"rev": "41032aaac26eee06c9f9eec183da3df3beee41bc",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "PrismLauncher",
|
||||||
|
"repo": "PrismLauncher",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"quick-nix-registry": {
|
"quick-nix-registry": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"globalRegistry": "globalRegistry"
|
"globalRegistry": "globalRegistry"
|
||||||
|
@ -805,6 +860,7 @@
|
||||||
"nixos": "nixos",
|
"nixos": "nixos",
|
||||||
"nixos-hardware": "nixos-hardware_2",
|
"nixos-hardware": "nixos-hardware_2",
|
||||||
"nixos-wsl": "nixos-wsl",
|
"nixos-wsl": "nixos-wsl",
|
||||||
|
"prismlauncher": "prismlauncher",
|
||||||
"quick-nix-registry": "quick-nix-registry",
|
"quick-nix-registry": "quick-nix-registry",
|
||||||
"stable": "stable",
|
"stable": "stable",
|
||||||
"staging": "staging"
|
"staging": "staging"
|
||||||
|
@ -876,6 +932,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tomlplusplus": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1666091090,
|
||||||
|
"narHash": "sha256-djpMCFPvkJcfynV8WnsYdtwLq+J7jpV1iM4C6TojiyM=",
|
||||||
|
"owner": "marzer",
|
||||||
|
"repo": "tomlplusplus",
|
||||||
|
"rev": "1e4a3833d013aee08f58c5b31c69f709afc69f73",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "marzer",
|
||||||
|
"repo": "tomlplusplus",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1637014545,
|
"lastModified": 1637014545,
|
||||||
|
|
|
@ -44,6 +44,8 @@
|
||||||
# # --- Minecraft
|
# # --- Minecraft
|
||||||
nix-minecraft.url = "github:Infinidoge/nix-minecraft/develop";
|
nix-minecraft.url = "github:Infinidoge/nix-minecraft/develop";
|
||||||
nix-minecraft.inputs.nixpkgs.follows = "nixos";
|
nix-minecraft.inputs.nixpkgs.follows = "nixos";
|
||||||
|
prismlauncher.url = "github:PrismLauncher/PrismLauncher";
|
||||||
|
prismlauncher.inputs.nixpkgs.follows = "nixos";
|
||||||
|
|
||||||
# # --- Rust
|
# # --- Rust
|
||||||
fenix.url = "github:nix-community/fenix";
|
fenix.url = "github:nix-community/fenix";
|
||||||
|
@ -76,6 +78,7 @@
|
||||||
|
|
||||||
# --- Domain-Specific Overlays
|
# --- Domain-Specific Overlays
|
||||||
inputs.nix-minecraft.overlay
|
inputs.nix-minecraft.overlay
|
||||||
|
inputs.prismlauncher.overlay
|
||||||
inputs.fenix.overlay
|
inputs.fenix.overlay
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
wm.enable = true;
|
wm.enable = true;
|
||||||
gaming = {
|
gaming = {
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
polymc.enable = true;
|
prismlauncher.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
virtualization.enable = true;
|
virtualization.enable = true;
|
||||||
|
|
|
@ -12,9 +12,9 @@ in
|
||||||
enable = mkBoolOpt cfg.enableAll;
|
enable = mkBoolOpt cfg.enableAll;
|
||||||
package = mkOpt package pkgs.steam;
|
package = mkOpt package pkgs.steam;
|
||||||
};
|
};
|
||||||
polymc = {
|
prismlauncher = {
|
||||||
enable = mkBoolOpt cfg.enableAll;
|
enable = mkBoolOpt cfg.enableAll;
|
||||||
package = mkOpt package pkgs.polymc;
|
package = mkOpt package pkgs.prismlauncher;
|
||||||
};
|
};
|
||||||
lutris = {
|
lutris = {
|
||||||
enable = mkBoolOpt cfg.enableAll;
|
enable = mkBoolOpt cfg.enableAll;
|
||||||
|
@ -29,7 +29,7 @@ in
|
||||||
config = mkMerge [
|
config = mkMerge [
|
||||||
{
|
{
|
||||||
home.home.packages = with pkgs; [
|
home.home.packages = with pkgs; [
|
||||||
(mkIf cfg.polymc.enable cfg.polymc.package)
|
(mkIf cfg.prismlauncher.enable cfg.prismlauncher.package)
|
||||||
(mkIf cfg.lutris.enable cfg.lutris.package)
|
(mkIf cfg.lutris.enable cfg.lutris.package)
|
||||||
(mkIf cfg.olympus.enable cfg.olympus.package)
|
(mkIf cfg.olympus.enable cfg.olympus.package)
|
||||||
];
|
];
|
||||||
|
|
|
@ -4,7 +4,6 @@ channels: final: prev: {
|
||||||
|
|
||||||
inherit (channels.latest)
|
inherit (channels.latest)
|
||||||
discord-canary
|
discord-canary
|
||||||
polymc
|
|
||||||
kmscon
|
kmscon
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue