add desktop entry for holo script
This commit is contained in:
parent
936f554a95
commit
5333ab9ded
1 changed files with 7 additions and 2 deletions
|
@ -1,12 +1,17 @@
|
|||
{ lib, config, pkgs, ... }: let
|
||||
inherit (lib) mkIf mkMerge;
|
||||
holo = pkgs.writeShellApplication {
|
||||
name = "holo";
|
||||
holo-script = pkgs.writeShellApplication {
|
||||
name = "holo-script";
|
||||
runtimeInputs = [ pkgs.steam pkgs.gamescope ];
|
||||
text = ''
|
||||
gamescope -f -h 1504 -w 2256 -r 60 -F fsr -e -- steam
|
||||
'';
|
||||
};
|
||||
holo = pkgs.makeDesktopItem {
|
||||
name = "holo";
|
||||
desktopName = "Holo";
|
||||
exec = "${holo-script}/bin/holo-script";
|
||||
};
|
||||
in mkIf config.withGames (mkMerge [
|
||||
(mkIf config.withImpermanence {
|
||||
environment.persistence."/persist".users.${config.username}= {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue