nixos-config/pkgs/osu-lazer-container/default.nix

12 lines
331 B
Nix

{ bwrap-helper, osu-lazer, writeShellScriptBin }:
writeShellScriptBin "osu-lazer-container" ''
${bwrap-helper}/bin/bwrap-helper \
--audio \
--gui \
--network \
--passwd \
--x11 \
--bind $HOME/.local/share/osu $HOME/.local/share/osu \
${osu-lazer}/bin/osu!
''