From 14703dc73372e60ce1dcb9385c8741c372390b2c Mon Sep 17 00:00:00 2001 From: h7x4 Date: Wed, 30 Oct 2024 01:53:36 +0100 Subject: [PATCH] flake.nix: opinionated app --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index f419785..6fa00b9 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,9 @@ package = self.packages.${system}.greg-ng-wrapped; in { type = "app"; - program = lib.getExe package; + program = toString (pkgs.writeShellScript "greg-ng" '' + ${lib.getExe package} --mpv-socket-path /tmp/greg-ng-mpv.sock -vvvv + ''); }; });