Skip to content

Commit

Permalink
fix(home-manager): add xdg assertion for gtk
Browse files Browse the repository at this point in the history
  • Loading branch information
EnzioKam committed Apr 12, 2024
1 parent 0608789 commit 84c4c6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/home-manager/gtk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ in
};

config.xdg.configFile = lib.mkIf enable {
assertions = [(
lib.ctp.assertXdgEnabled "gtk")
];

"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
Expand Down

0 comments on commit 84c4c6e

Please sign in to comment.