diff --git a/flake.lock b/flake.lock index 49aa62c..2cb68a4 100644 --- a/flake.lock +++ b/flake.lock @@ -313,6 +313,22 @@ "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": { "locked": { "lastModified": 1631561581, @@ -567,6 +583,22 @@ "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": { "inputs": { "flake-utils": "flake-utils_5", @@ -771,6 +803,29 @@ "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": { "inputs": { "globalRegistry": "globalRegistry" @@ -805,6 +860,7 @@ "nixos": "nixos", "nixos-hardware": "nixos-hardware_2", "nixos-wsl": "nixos-wsl", + "prismlauncher": "prismlauncher", "quick-nix-registry": "quick-nix-registry", "stable": "stable", "staging": "staging" @@ -876,6 +932,22 @@ "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": { "locked": { "lastModified": 1637014545, diff --git a/flake.nix b/flake.nix index 145868f..609016b 100644 --- a/flake.nix +++ b/flake.nix @@ -44,6 +44,8 @@ # # --- Minecraft nix-minecraft.url = "github:Infinidoge/nix-minecraft/develop"; nix-minecraft.inputs.nixpkgs.follows = "nixos"; + prismlauncher.url = "github:PrismLauncher/PrismLauncher"; + prismlauncher.inputs.nixpkgs.follows = "nixos"; # # --- Rust fenix.url = "github:nix-community/fenix"; @@ -76,6 +78,7 @@ # --- Domain-Specific Overlays inputs.nix-minecraft.overlay + inputs.prismlauncher.overlay inputs.fenix.overlay ]; }; diff --git a/hosts/Infini-FRAMEWORK/default.nix b/hosts/Infini-FRAMEWORK/default.nix index 9bfd41d..67aec22 100644 --- a/hosts/Infini-FRAMEWORK/default.nix +++ b/hosts/Infini-FRAMEWORK/default.nix @@ -49,7 +49,7 @@ wm.enable = true; gaming = { steam.enable = true; - polymc.enable = true; + prismlauncher.enable = true; }; }; virtualization.enable = true; diff --git a/modules/modules/desktop/gaming.nix b/modules/modules/desktop/gaming.nix index 2bb1c1d..513a54c 100644 --- a/modules/modules/desktop/gaming.nix +++ b/modules/modules/desktop/gaming.nix @@ -12,9 +12,9 @@ in enable = mkBoolOpt cfg.enableAll; package = mkOpt package pkgs.steam; }; - polymc = { + prismlauncher = { enable = mkBoolOpt cfg.enableAll; - package = mkOpt package pkgs.polymc; + package = mkOpt package pkgs.prismlauncher; }; lutris = { enable = mkBoolOpt cfg.enableAll; @@ -29,7 +29,7 @@ in config = mkMerge [ { 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.olympus.enable cfg.olympus.package) ]; diff --git a/overlays/overrides.nix b/overlays/overrides.nix index 5ec02d6..9598260 100644 --- a/overlays/overrides.nix +++ b/overlays/overrides.nix @@ -4,7 +4,6 @@ channels: final: prev: { inherit (channels.latest) discord-canary - polymc kmscon ;