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

programs.foot: Always create config file (#2091)

foot complains if there is no config file.
This commit is contained in:
Rosario Pulella 2021-06-10 12:40:36 -04:00 committed by GitHub
parent 42847469b3
commit 666eee4f72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View file

@ -51,7 +51,7 @@ in {
config = mkIf cfg.enable {
home.packages = [ cfg.package ];
xdg.configFile."foot/foot.ini" = mkIf (cfg.settings != { }) {
xdg.configFile."foot/foot.ini" = {
source = iniFormat.generate "foot.ini" cfg.settings;
};