about summary refs log tree commit diff
path: root/home/profiles/gaming/default.nix
blob: 9885fac885737529d94ead0e2becfcb48146d21b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ inputs, config, lib, pkgs, ... }:
let
  cfg = config.profiles.gaming;
in
{
  imports = [ ../../../modules/nixpkgs.nix ];

  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
    ];
  };
}