# SPDX-FileCopyrightText: 2023 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0

{ pkgs, depot, lib, ... }:
{
  config = {
    my.home-manager.imports = lib.mkAfter [ ./home-manager/plasma.nix ];

    services.xserver.desktopManager.plasma5 = {
      enable = true;
      useQtScaling = true;
    };

    qt.platformTheme = "kde";

    environment.systemPackages = with pkgs.libsForQt5; [
      # Bismuth, tiling window manager
      bismuth
    ];
  };
}