Move gtk configuration
All checks were successful
/ check (push) Successful in 1m38s

This commit is contained in:
Oliver Davies 2025-07-28 01:39:38 +01:00
parent aac84ce5b5
commit 3a6a2f0bcc
7 changed files with 29 additions and 39 deletions

View file

@ -2,7 +2,6 @@
imports = [
./bookmarkthis.nix
./dev-commit.nix
./gtk.nix
./node.nix
./starship.nix
./zsh

View file

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