overlays: patch prismlauncher to allow cracked accounts
This commit is contained in:
parent
2ef4f15dbd
commit
d69188d887
2 changed files with 24 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./nautilus.nix
|
./nautilus.nix
|
||||||
./sway.nix # broken
|
./sway.nix
|
||||||
|
./prismlauncher.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
22
nixos/packages/overlays/prismlauncher.nix
Normal file
22
nixos/packages/overlays/prismlauncher.nix
Normal file
|
@ -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=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue