Compare commits

..

2 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt 14d832f7be zed 2024-09-22 02:14:03 +02:00
Peder Bergebakken Sundt 6f02b1df41 home: force micro 2024-09-22 02:12:59 +02:00
3 changed files with 18 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;

View File

@ -5,6 +5,7 @@
imports = [ imports = [
./lxterminal ./lxterminal
./pulsar ./pulsar
./zed
]; ];
# TODO: doesn't work? # TODO: doesn't work?

View File

@ -0,0 +1,15 @@
{ lib, pkgs, ... }:
{
home.shellAliases.atom = lib.mkDefault "zed";
home.packages = with pkgs; [
unstable.zed-editor
];
# TODO:
#.config/zed/keymap.json
#.config/zed/settings.json
#.config/zed/themes
}