Fix launching ship of harkinian from KDE plasma's start menu.
This commit is contained in:
parent
7dcdcc906c
commit
5d4ebf90b3
@ -25,7 +25,7 @@
|
|||||||
}
|
}
|
||||||
(lib.mkIf config.me.graphical {
|
(lib.mkIf config.me.graphical {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
(config.lib.nixGL.wrap shipwright)
|
shipwright
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file.".local/share/soh/shipofharkinian.json" = {
|
home.file.".local/share/soh/shipofharkinian.json" = {
|
||||||
@ -45,6 +45,26 @@
|
|||||||
".local/share/soh/oot.otr"
|
".local/share/soh/oot.otr"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
shipwright = pkgs.buildEnv {
|
||||||
|
name = prev.shipwright.name;
|
||||||
|
paths = [
|
||||||
|
(config.lib.nixGL.wrap prev.shipwright)
|
||||||
|
];
|
||||||
|
extraOutputsToInstall = [
|
||||||
|
"man"
|
||||||
|
"doc"
|
||||||
|
"info"
|
||||||
|
];
|
||||||
|
# We have to use 555 instead of the normal 444 here because the .desktop file ends up inside $HOME on steam deck and desktop files must be either not in $HOME or must be executable, otherwise KDE Plasma refuses to execute them.
|
||||||
|
postBuild = ''
|
||||||
|
chmod 0555 $out/share/applications/soh.desktop
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user