osu-lazer-container: Rename to osu-lazer-sandbox

This commit is contained in:
Simon Bruder 2021-02-28 13:27:47 +01:00
parent 83f1c69713
commit b2449c3fe6
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ in
bwrap-helper = super.callPackage ./bwrap-helper { }; bwrap-helper = super.callPackage ./bwrap-helper { };
osu-lazer = super.callPackage ./osu-lazer { inherit (super) osu-lazer; }; osu-lazer = super.callPackage ./osu-lazer { inherit (super) osu-lazer; };
osu-lazer-container = super.callPackage ./osu-lazer-container { }; osu-lazer-sandbox = super.callPackage ./osu-lazer-sandbox { };
wordclock-dimmer = super.python3Packages.callPackage ./wordclock-dimmer { }; wordclock-dimmer = super.python3Packages.callPackage ./wordclock-dimmer { };

View file

@ -1,5 +1,5 @@
{ bwrap-helper, osu-lazer, writeShellScriptBin }: { bwrap-helper, osu-lazer, writeShellScriptBin }:
writeShellScriptBin "osu-lazer-container" '' writeShellScriptBin "osu-lazer-sandbox" ''
state_dir="''${XDG_DATA_HOME:-$HOME/.local/share}/osu" state_dir="''${XDG_DATA_HOME:-$HOME/.local/share}/osu"
mkdir -p "$state_dir" mkdir -p "$state_dir"

View file

@ -1,5 +1,5 @@
{ lib, nixosConfig, pkgs, ... }: { lib, nixosConfig, pkgs, ... }:
lib.mkIf nixosConfig.sbruder.games.enable { lib.mkIf nixosConfig.sbruder.games.enable {
home.packages = [ ] home.packages = [ ]
++ lib.optional nixosConfig.sbruder.unfree.allowSoftware pkgs.unstable.osu-lazer-container; ++ lib.optional nixosConfig.sbruder.unfree.allowSoftware pkgs.unstable.osu-lazer-sandbox;
} }