Added gtk module

This commit is contained in:
Julien Malka 2021-12-23 11:00:26 +01:00
parent 631b449bc1
commit 011ec1a24e
2 changed files with 25 additions and 15 deletions

View file

@ -0,0 +1,24 @@
{ 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";
};
};
}