mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36: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:
parent
17c3ea43bf
commit
6a40be5eaf
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ in
|
||||||
# mode 0600.
|
# mode 0600.
|
||||||
systemd.user.tmpfiles.settings.glab = lib.mkIf (cfg.settings != { }) {
|
systemd.user.tmpfiles.settings.glab = lib.mkIf (cfg.settings != { }) {
|
||||||
rules."${config.xdg.configHome}/glab-cli/config.yml" = {
|
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";
|
z.mode = "0600";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue