From b8cdae6a50081915eba55b1e23a55cdee0ff3d43 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sat, 6 Jan 2024 06:05:04 +0800 Subject: [PATCH] home: add osu-stable --- .../home-manager/applications/osu-lazer/default.nix | 8 ++++++-- .../home-manager/applications/osu-stable/default.nix | 12 ++++++++++++ .../profiles/common/opt-in/gaming/home/default.nix | 1 + 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 users/guanranwang/home-manager/applications/osu-stable/default.nix diff --git a/users/guanranwang/home-manager/applications/osu-lazer/default.nix b/users/guanranwang/home-manager/applications/osu-lazer/default.nix index 7d6d44b..d90985c 100644 --- a/users/guanranwang/home-manager/applications/osu-lazer/default.nix +++ b/users/guanranwang/home-manager/applications/osu-lazer/default.nix @@ -1,3 +1,7 @@ -{pkgs, ...}: { - home.packages = [pkgs.osu-lazer-bin]; +{ + pkgs, + inputs, + ... +}: { + home.packages = [inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.osu-lazer-bin]; } diff --git a/users/guanranwang/home-manager/applications/osu-stable/default.nix b/users/guanranwang/home-manager/applications/osu-stable/default.nix new file mode 100644 index 0000000..687e5a2 --- /dev/null +++ b/users/guanranwang/home-manager/applications/osu-stable/default.nix @@ -0,0 +1,12 @@ +{ + pkgs, + inputs, + config, + ... +}: { + home.packages = [ + (inputs.nix-gaming.packages.${pkgs.stdenv.hostPlatform.system}.osu-stable.override { + location = "${config.xdg.dataHome}/osu-stable"; + }) + ]; +} diff --git a/users/guanranwang/nixos/profiles/common/opt-in/gaming/home/default.nix b/users/guanranwang/nixos/profiles/common/opt-in/gaming/home/default.nix index cab065b..49eda0f 100644 --- a/users/guanranwang/nixos/profiles/common/opt-in/gaming/home/default.nix +++ b/users/guanranwang/nixos/profiles/common/opt-in/gaming/home/default.nix @@ -3,6 +3,7 @@ "steam" "prismlauncher" "osu-lazer" + "osu-stable" "mangohud" "protonup-qt" ];