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 4f7a531
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 @@ -63,6 +63,10 @@ in
};
};

config.assertions = [
(lib.ctp.assertXdgEnabled "gtk")
];

config.xdg.configFile = lib.mkIf enable {
"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";
Expand Down

0 comments on commit 4f7a531

Please sign in to comment.