diff options
Diffstat (limited to 'home')
-rw-r--r-- | home/profiles/gaming/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
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 + ]; + }; +} |