{ pkgs, ... }: {
  imports = [
    (let
      # TODO: Why does `pkgs` above not work?
      pkgs = import <nixpkgs> {};
      flake-dms = pkgs.flake-compat {
        src = (pkgs.npinsed {input = ./sources.json;}).DankMaterialShell;
      };
    in flake-dms.defaultNix.homeModules.dank-material-shell)
    ./settings.nix
    ./plugins.nix
  ];
  programs.dank-material-shell = {
    enable = true;
    # https://github.com/AvengeMedia/DankMaterialShell/issues/1489
    dgop.package = let
      flake-dgop = pkgs.flake-compat {
        src = (pkgs.npinsed {input = ./sources.json;}).dgop;
      };
    in flake-dgop.defaultNix.packages.${builtins.currentSystem}.default;
  };
  home.packages = [
    # App icons for many apps not showing in App Launcher.
    # https://github.com/AvengeMedia/DankMaterialShell/issues/1132
    pkgs.papirus-icon-theme
    pkgs.adwaita-icon-theme
  ];
}