feat(nixos:appearance): move appearance options to nixos
This commit is contained in:
parent
cedeb52103
commit
ceb66c03cf
51 changed files with 393 additions and 377 deletions
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
config,
|
||||
osConfig,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
|
||||
inherit (lib) mkIf;
|
||||
inherit (osConfig.ooknet.appearance.colorscheme) palette;
|
||||
cfg = config.ooknet.gtk;
|
||||
in {
|
||||
config = mkIf cfg.enable rec {
|
||||
|
|
@ -17,8 +17,8 @@ in {
|
|||
size = 12;
|
||||
};
|
||||
theme = {
|
||||
name = config.colorscheme.slug;
|
||||
package = gtkThemeFromScheme {scheme = config.colorscheme;};
|
||||
name = "adw-gtk3";
|
||||
package = pkgs.adw-gtk3;
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
|
|
@ -26,6 +26,8 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
#TODO: add gtk css configuration
|
||||
|
||||
services.xsettingsd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue