1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-19 07:21:10 +01:00

atuin: always generate config file

This commit is contained in:
Charlie Collard 2025-11-07 12:53:43 +00:00
parent 0562fef070
commit 75a72dbc45
No known key found for this signature in database
GPG key ID: D6A8F8C6CFACFBD8

View file

@ -152,11 +152,11 @@ in
# If there are user-provided settings, generate the config file. # If there are user-provided settings, generate the config file.
xdg.configFile = lib.mkMerge [ xdg.configFile = lib.mkMerge [
(mkIf (cfg.settings != { }) { {
"atuin/config.toml" = { "atuin/config.toml" = {
source = tomlFormat.generate "atuin-config" cfg.settings; source = tomlFormat.generate "atuin-config" cfg.settings;
}; };
}) }
(mkIf (cfg.themes != { }) ( (mkIf (cfg.themes != { }) (
lib.mapAttrs' ( lib.mapAttrs' (