mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 15:11:03 +01:00
This is not officially supported and causes issues in some cases. Also adds a warning to the option.
30 lines
666 B
Nix
30 lines
666 B
Nix
{ pkgs, ... }:
|
|
{
|
|
gtk = {
|
|
enable = true;
|
|
gtk4 = {
|
|
theme = {
|
|
name = "catppuccin-macchiato-blue-standard";
|
|
package = pkgs.catppuccin-gtk;
|
|
};
|
|
extraConfig = {
|
|
gtk-cursor-blink = false;
|
|
gtk-recent-files-limit = 20;
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script =
|
|
let
|
|
gtk4Path = "home-files/.config/gtk-4.0";
|
|
in
|
|
''
|
|
assertFileExists ${gtk4Path}/settings.ini
|
|
assertFileContent ${gtk4Path}/settings.ini \
|
|
${./gtk4-basic-settings-expected.ini}
|
|
|
|
assertFileExists ${gtk4Path}/gtk.css
|
|
assertFileContent ${gtk4Path}/gtk.css \
|
|
${./gtk4-basic-settings-expected.css}
|
|
'';
|
|
}
|