style(fmt)

This commit is contained in:
Oliver Davies 2023-06-13 19:51:56 +01:00
parent e2a8f86899
commit 94b045c01f
2 changed files with 16 additions and 13 deletions

View file

@ -11,16 +11,19 @@ let
name = "configure-gtk"; name = "configure-gtk";
destination = "/bin/configure-gtk"; destination = "/bin/configure-gtk";
executable = true; executable = true;
text = let text =
let
schema = pkgs.gsettings-desktop-schemas; schema = pkgs.gsettings-desktop-schemas;
datadir = "${schema}/share/gsettings-schemas/${schema.name}"; datadir = "${schema}/share/gsettings-schemas/${schema.name}";
in '' in
''
export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS
gnome_schema=org.gnome.desktop.interface gnome_schema=org.gnome.desktop.interface
gsettings set $gnome_schema gtk-theme 'Breeze Dark' gsettings set $gnome_schema gtk-theme 'Breeze Dark'
''; '';
}; };
in { in
{
nixpkgs = nixpkgs; nixpkgs = nixpkgs;
imports = [ imports = [