summaryrefslogtreecommitdiff
path: root/modules/gaming/homestuck.nix
blob: 12641a47224fff322f09cd1b7d0c9e879d6602c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  lib,
  config,
  pkgs,
  inputs,
  ...
}: let
  inherit (lib) mkIf;
  cfg = config.gaming;
  system = pkgs.stdenv.hostPlatform.system;
in {
  config = mkIf cfg.homestuck {
    home-manager.users.${config.user} = {
      home.packages = [
        inputs.self.packages.${system}.unofficial-homestuck-collection
      ];
    };
  };
}