refactor(treewide): format with alejandra

This commit is contained in:
ooks-io 2024-07-29 15:00:38 +12:00
parent 7fefb94400
commit 61cef505da
216 changed files with 5995 additions and 3969 deletions

View file

@ -1,12 +1,15 @@
{ config, pkgs, inputs, lib, ... }:
let
inherit (inputs.nix-colors.lib-contrib { inherit pkgs; }) gtkThemeFromScheme;
{
config,
pkgs,
inputs,
lib,
...
}: let
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
inherit (lib) mkIf;
cfg = config.ooknet.gtk;
in
{
config = mkIf cfg.enable (rec {
in {
config = mkIf cfg.enable rec {
gtk = {
enable = true;
font = {
@ -15,7 +18,7 @@ in
};
theme = {
name = config.colorscheme.slug;
package = gtkThemeFromScheme { scheme = config.colorscheme; };
package = gtkThemeFromScheme {scheme = config.colorscheme;};
};
iconTheme = {
name = "Papirus-Dark";
@ -30,6 +33,5 @@ in
"Net/IconThemeName" = gtk.iconTheme.name;
};
};
});
};
}