home: force micro

This commit is contained in:
Peder Bergebakken Sundt 2024-09-22 02:12:59 +02:00
parent 13354fb6bf
commit 6f02b1df41
1 changed files with 2 additions and 0 deletions

View File

@ -83,9 +83,11 @@ in {
home.sessionVariables = mkIf cfg.trueColor { MICRO_TRUECOLOR = "1"; }; home.sessionVariables = mkIf cfg.trueColor { MICRO_TRUECOLOR = "1"; };
xdg.configFile."micro/settings.json".force = true; # TODO: this should be an option
xdg.configFile."micro/settings.json".source = xdg.configFile."micro/settings.json".source =
jsonFormat.generate "micro-settings" cfg.settings; jsonFormat.generate "micro-settings" cfg.settings;
xdg.configFile."micro/bindings.json".force = true; # TODO: this should be an option
xdg.configFile."micro/bindings.json".source = xdg.configFile."micro/bindings.json".source =
jsonFormat.generate "micro-bindings" cfg.bindings; jsonFormat.generate "micro-bindings" cfg.bindings;