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:
parent
7a3f3e5507
commit
c74665abd6
1 changed files with 3 additions and 2 deletions
|
|
@ -41,7 +41,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
description = ''
|
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>.
|
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.packages = lib.mkIf (cfg.package != null) [ cfg.package ];
|
||||||
|
|
||||||
home.file."${configDir}/prefs.toml" = lib.mkIf (cfg.settings != { }) {
|
home.file."${configDir}/prefs.toml" = lib.mkIf (cfg.settings != { }) {
|
||||||
source = settingsFormat.generate "prefs.toml" cfg.settings;
|
source = settingsFormat.generate "bacon-prefs" cfg.settings;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue