This commit is contained in:
parent
aac84ce5b5
commit
3a6a2f0bcc
7 changed files with 29 additions and 39 deletions
|
@ -13,10 +13,6 @@
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
zsh.enable = true;
|
zsh.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
desktop = {
|
|
||||||
gtk.enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./bookmarkthis.nix
|
./bookmarkthis.nix
|
||||||
./dev-commit.nix
|
./dev-commit.nix
|
||||||
./gtk.nix
|
|
||||||
./node.nix
|
./node.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./zsh
|
./zsh
|
||||||
|
|
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
6
modules2/gtk/animations.nix
Normal file
6
modules2/gtk/animations.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
flake.modules.homeManager.gui.gtk = {
|
||||||
|
gtk3.extraConfig.gtk-enable-animations = false;
|
||||||
|
gtk4.extraConfig.gtk-enable-animations = false;
|
||||||
|
};
|
||||||
|
}
|
3
modules2/gtk/enable.nix
Normal file
3
modules2/gtk/enable.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
flake.modules.homeManager.gui.gtk.enable = true;
|
||||||
|
}
|
10
modules2/gtk/icon-theme.nix
Normal file
10
modules2/gtk/icon-theme.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
flake.modules.homeManager.gui =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
gtk.iconTheme = {
|
||||||
|
name = "Arc";
|
||||||
|
package = pkgs.arc-icon-theme;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
10
modules2/gtk/theme.nix
Normal file
10
modules2/gtk/theme.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
flake.modules.homeManager.gui =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
gtk.theme = {
|
||||||
|
name = "Arc-Dark";
|
||||||
|
package = pkgs.arc-theme;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue