about summary refs log tree commit diff
path: root/home/profiles/gaming/default.nix
blob: 5c7f6bc8476208a3e6436f43ea273782e21b133d (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/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
    ];
  };
}