mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 02:09:04 +02:00
Added gtk module
This commit is contained in:
parent
eb517d5692
commit
9c4d5b2921
2 changed files with 25 additions and 15 deletions
24
home-manager-modules/gtk/default.nix
Normal file
24
home-manager-modules/gtk/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue