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

bacon: add prefs location to settings decription (#7030)

This commit is contained in:
awwpotato 2025-05-11 17:29:02 -07:00 committed by GitHub
parent 7a3f3e5507
commit c74665abd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,8 @@ in
};
};
description = ''
Bacon configuration.
Bacon configuration written to either {file}`Library/Application Support/org.dystroy.bacon/prefs.toml`
(darwin) or {file}`$XDG_CONFIG_HOME/bacon/prefs.toml`.
For available settings see <https://dystroy.org/bacon/#global-preferences>.
'';
};
@ -51,7 +52,7 @@ in
home.packages = lib.mkIf (cfg.package != null) [ cfg.package ];
home.file."${configDir}/prefs.toml" = lib.mkIf (cfg.settings != { }) {
source = settingsFormat.generate "prefs.toml" cfg.settings;
source = settingsFormat.generate "bacon-prefs" cfg.settings;
};
};
}