snowfield/home-manager-modules/gtk/default.nix
2021-12-23 11:00:26 +01:00

24 lines
399 B
Nix

{ config, pkgs, lib, ... }:
let
cfg = config.luj.programs.gtk;
in
with lib;
{
options.luj.programs.gtk = {
enable = mkEnableOption "Enable gtk customizations";
};
config = mkIf cfg.enable {
gtk = {
enable = true;
theme = {
name = "Nordic";
package = pkgs.nordic;
};
};
qt = {
enable = true;
platformTheme = "gtk";
};
};
}