1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

Revert "glab: remove the config file if it is empty or glab disabled"

This reverts commit b5ed4afc22.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-11-05 12:19:54 -06:00
parent 17c3ea43bf
commit 6a40be5eaf

View file

@ -38,7 +38,7 @@ in
# mode 0600.
systemd.user.tmpfiles.settings.glab = lib.mkIf (cfg.settings != { }) {
rules."${config.xdg.configHome}/glab-cli/config.yml" = {
"C+$".argument = yaml.generate "glab-config" cfg.settings;
"C+".argument = yaml.generate "glab-config" cfg.settings;
z.mode = "0600";
};
};