mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
overlays/rotp-foodogsquared: init
This commit is contained in:
parent
1d0eb3c32c
commit
2f0eafcabf
@ -7,5 +7,6 @@
|
|||||||
ffmpeg-foodogsquared = import ./ffmpeg-foodogsquared;
|
ffmpeg-foodogsquared = import ./ffmpeg-foodogsquared;
|
||||||
firefox-foodogsquared = import ./firefox-foodogsquared;
|
firefox-foodogsquared = import ./firefox-foodogsquared;
|
||||||
blender-foodogsquared = import ./blender-foodogsquared;
|
blender-foodogsquared = import ./blender-foodogsquared;
|
||||||
|
rotp-foodogsquared = import ./rotp-foodogsquared;
|
||||||
thunderbird-foodogsquared = import ./thunderbird-foodogsquared;
|
thunderbird-foodogsquared = import ./thunderbird-foodogsquared;
|
||||||
}
|
}
|
||||||
|
BIN
overlays/rotp-foodogsquared/com.remnantsoftheprecursors.ROTP.png
Normal file
BIN
overlays/rotp-foodogsquared/com.remnantsoftheprecursors.ROTP.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
24
overlays/rotp-foodogsquared/default.nix
Normal file
24
overlays/rotp-foodogsquared/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
final: prev:
|
||||||
|
|
||||||
|
let
|
||||||
|
rotpDesktop = prev.makeDesktopItem {
|
||||||
|
name = "com.remnantsoftheprecursors.ROTP";
|
||||||
|
desktopName = "Remnants of the Precursors";
|
||||||
|
exec = "rotp";
|
||||||
|
type = "Application";
|
||||||
|
icon = "com.remnantsoftheprecursors.ROTP";
|
||||||
|
categories = [ "Application" "Game" ];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
rotp-foodogsquared = prev.rotp.overrideAttrs (finalAttrs: prevAttrs: {
|
||||||
|
desktopItems = (prevAttrs.desktopItems or []) ++ [ rotpDesktop ];
|
||||||
|
nativeBuildInputs = prevAttrs.nativeBuildInputs or [] ++ [
|
||||||
|
prev.copyDesktopItems
|
||||||
|
];
|
||||||
|
postInstall = ''
|
||||||
|
${prevAttrs.postInstall or ""}
|
||||||
|
install -Dm0644 ${./com.remnantsoftheprecursors.ROTP.png} ${placeholder "out"}/share/icons/hicolor/128x128/apps/com.remnantsoftheprecursors.ROTP.png
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user