diff --git a/nixos/packages/overlays/default.nix b/nixos/packages/overlays/default.nix index c2f0f15..7fc7ef3 100644 --- a/nixos/packages/overlays/default.nix +++ b/nixos/packages/overlays/default.nix @@ -3,6 +3,7 @@ { imports = [ ./nautilus.nix - ./sway.nix # broken + ./sway.nix + ./prismlauncher.nix ]; } \ No newline at end of file diff --git a/nixos/packages/overlays/prismlauncher.nix b/nixos/packages/overlays/prismlauncher.nix new file mode 100644 index 0000000..47ee61d --- /dev/null +++ b/nixos/packages/overlays/prismlauncher.nix @@ -0,0 +1,22 @@ +{ ... }: + +{ + nixpkgs = { + overlays = [ + (final: prev: + { + prismlauncher = prev.prismlauncher.overrideAttrs (old: { + # Offline mode for Prism Launcher + # .patch file from some Misterio77's nix-config repo + patches = (old.patches or []) ++ [ + (prev.fetchpatch { + url = "https://raw.githubusercontent.com/Misterio77/nix-config/main/overlays/offline-mode-prism-launcher.diff"; + hash = "sha256-vMcAvhD0Ms4Tvwpzs/YfORc8ki7MNMurdJJ/yswfxFM="; + }) + ]; + }); + } + ) + ]; + }; +} \ No newline at end of file