From afa5a1c0f1b6206391f19baf9233ce746777e90f Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 9 Dec 2023 14:26:23 +0900 Subject: feat(home/gaming): init --- home/profiles/gaming/default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 home/profiles/gaming/default.nix (limited to 'home/profiles') diff --git a/home/profiles/gaming/default.nix b/home/profiles/gaming/default.nix new file mode 100644 index 0000000..5c7f6bc --- /dev/null +++ b/home/profiles/gaming/default.nix @@ -0,0 +1,19 @@ +{ inputs, config, lib, pkgs, ... }: +let + cfg = config.profiles.gaming; +in +{ + imports = [ ../../modules/programs/nixpkgs ]; + + options.profiles.gaming = { + enable = lib.mkEnableOption + "A profile that enables the system to be used for gaming."; + }; + + config = lib.mkIf cfg.enable { + home.packages = with inputs.nix-gaming.packages.${pkgs.system}; [ + osu-stable + # osu-lazer-bin + ]; + }; +} -- cgit 1.4.1