overlay: Add osu-lazer-container
This commit is contained in:
parent
a1efb5faa1
commit
b586b7d2b5
|
@ -2,4 +2,5 @@ self: super: {
|
|||
bwrap-helper = super.callPackage ./bwrap-helper { };
|
||||
|
||||
osu-lazer = super.callPackage ./osu-lazer { inherit (super) osu-lazer; };
|
||||
osu-lazer-container = super.callPackage ./osu-lazer-container { };
|
||||
}
|
||||
|
|
11
pkgs/osu-lazer-container/default.nix
Normal file
11
pkgs/osu-lazer-container/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ 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!
|
||||
''
|
Loading…
Reference in a new issue