feat: add prismlauncher on andromedae
This commit is contained in:
parent
0822712332
commit
30487353cb
@ -111,7 +111,7 @@ in
|
|||||||
modprobed-db
|
modprobed-db
|
||||||
# packwiz
|
# packwiz
|
||||||
# piper
|
# piper
|
||||||
# prismlauncher
|
prismlauncher
|
||||||
# radeontop
|
# radeontop
|
||||||
# streamrip
|
# streamrip
|
||||||
# wayvnc
|
# wayvnc
|
||||||
@ -124,6 +124,7 @@ in
|
|||||||
".config/lsfg-vk"
|
".config/lsfg-vk"
|
||||||
".config/sops/age"
|
".config/sops/age"
|
||||||
".config/WarThunder"
|
".config/WarThunder"
|
||||||
|
".local/share/PrismLauncher"
|
||||||
"nixos-config"
|
"nixos-config"
|
||||||
"projects"
|
"projects"
|
||||||
];
|
];
|
||||||
|
@ -34,9 +34,13 @@ in
|
|||||||
# nix-index-update = inputs.nix-alien.packages.${system}.nix-index-update;
|
# nix-index-update = inputs.nix-alien.packages.${system}.nix-index-update;
|
||||||
osu-lazer = unstable.osu-lazer;
|
osu-lazer = unstable.osu-lazer;
|
||||||
osu-lazer-bin = unstable.osu-lazer-bin;
|
osu-lazer-bin = unstable.osu-lazer-bin;
|
||||||
# prismlauncher = inputs.prismlauncher.packages.${system}.prismlauncher.override {
|
prismlauncher = inputs.prismlauncher.packages.${system}.prismlauncher.override {
|
||||||
# jdks = [ final.temurin-bin ];
|
jdks = [
|
||||||
# };
|
final.temurin-jre-bin
|
||||||
|
final.temurin-jre-bin-17
|
||||||
|
];
|
||||||
|
textToSpeechSupport = false;
|
||||||
|
};
|
||||||
proton-ge-bin = unstable.proton-ge-bin;
|
proton-ge-bin = unstable.proton-ge-bin;
|
||||||
xray = unstable.xray;
|
xray = unstable.xray;
|
||||||
# youtube-to-mpv = prev.callPackage ./packages/youtube-to-mpv.nix { term = config.defaultApplications.term.cmd; };
|
# youtube-to-mpv = prev.callPackage ./packages/youtube-to-mpv.nix { term = config.defaultApplications.term.cmd; };
|
||||||
@ -63,14 +67,10 @@ in
|
|||||||
util-linux
|
util-linux
|
||||||
zip
|
zip
|
||||||
]);
|
]);
|
||||||
postUnpack =
|
postUnpack = oa.postUnpack or "" + ''
|
||||||
oa.postUnpack or ""
|
|
||||||
+ ''
|
|
||||||
patchShebangs --build ${spotx}
|
patchShebangs --build ${spotx}
|
||||||
'';
|
'';
|
||||||
postInstall =
|
postInstall = oa.postInstall or "" + ''
|
||||||
oa.postInstall or ""
|
|
||||||
+ ''
|
|
||||||
bash ${spotx} -f -h -P "$out/share/spotify"
|
bash ${spotx} -f -h -P "$out/share/spotify"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
@ -79,17 +79,13 @@ in
|
|||||||
# Move modprobed config to subdir. Easier to use with impermanence
|
# Move modprobed config to subdir. Easier to use with impermanence
|
||||||
modprobed-db = prev.modprobed-db.overrideAttrs (oa: {
|
modprobed-db = prev.modprobed-db.overrideAttrs (oa: {
|
||||||
nativeBuildInputs = [ prev.makeWrapper ] ++ oa.nativeBuildInputs or [ ];
|
nativeBuildInputs = [ prev.makeWrapper ] ++ oa.nativeBuildInputs or [ ];
|
||||||
postPatch =
|
postPatch = (oa.postPatch or "") + ''
|
||||||
(oa.postPatch or "")
|
|
||||||
+ ''
|
|
||||||
substituteInPlace ./common/modprobed-db.in \
|
substituteInPlace ./common/modprobed-db.in \
|
||||||
--replace-fail "/modprobed-db.conf" "/modprobed-db/modprobed-db.conf"
|
--replace-fail "/modprobed-db.conf" "/modprobed-db/modprobed-db.conf"
|
||||||
substituteInPlace ./common/modprobed-db.skel \
|
substituteInPlace ./common/modprobed-db.skel \
|
||||||
--replace-fail "/.config" "/.config/modprobed-db"
|
--replace-fail "/.config" "/.config/modprobed-db"
|
||||||
'';
|
'';
|
||||||
postInstall =
|
postInstall = (oa.postInstall or "") + ''
|
||||||
(oa.postInstall or "")
|
|
||||||
+ ''
|
|
||||||
wrapProgram $out/bin/modprobed-db \
|
wrapProgram $out/bin/modprobed-db \
|
||||||
--set PATH ${
|
--set PATH ${
|
||||||
with final;
|
with final;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user