Extract a gtk mixin

This commit is contained in:
Oliver Davies 2025-04-05 09:36:06 +01:00
parent c7bfbcc965
commit 39392dcc5a
7 changed files with 23 additions and 41 deletions

View file

@ -1,6 +0,0 @@
{
imports = [
./gtk.nix
./media
];
}

View file

@ -1,31 +0,0 @@
{
config,
lib,
pkgs,
...
}:
with lib;
{
options.homeManagerModules.gtk.enable = mkEnableOption "Enable gtk";
config = mkIf config.homeManagerModules.gtk.enable {
gtk = {
enable = true;
theme = {
name = "Arc-Dark";
package = pkgs.arc-theme;
};
iconTheme = {
name = "Arc";
package = pkgs.arc-icon-theme;
};
gtk3.extraConfig.gtk-enable-animations = false;
gtk4.extraConfig.gtk-enable-animations = false;
};
};
}