diff --git a/modules/graphical/alacritty.nix b/modules/graphical/alacritty.nix index d52a6cad..0fc41937 100644 --- a/modules/graphical/alacritty.nix +++ b/modules/graphical/alacritty.nix @@ -30,9 +30,6 @@ multiplier = 3; }; - # When true, bold text is drawn using the bright variant of colors. - draw_bold_text_with_bright_colors = true; - font = { # The normal (roman) font face to use. normal = { @@ -68,7 +65,7 @@ }; }; - key_bindings = [ + keyboard.bindings = [ { key = "V"; mods = "Control|Alt"; @@ -168,6 +165,9 @@ foreground = "0xe3e1e4"; }; + # When true, bold text is drawn using the bright variant of colors. + draw_bold_text_with_bright_colors = true; + # Cursor colors # # Colors which should be used to draw the terminal cursor. diff --git a/modules/graphical/default.nix b/modules/graphical/default.nix index 9117d4d1..c5b9b536 100644 --- a/modules/graphical/default.nix +++ b/modules/graphical/default.nix @@ -7,7 +7,7 @@ with lib; let psCfg = config.pub-solar; cfg = config.pub-solar.graphical; - yamlFormat = pkgs.formats.yaml {}; + tomlFormat = pkgs.formats.toml {}; recursiveMerge = attrList: let f = attrPath: zipAttrsWith ( @@ -27,7 +27,7 @@ in { enable = mkEnableOption "Life in color"; alacritty = { settings = mkOption { - type = yamlFormat.type; + type = tomlFormat.type; default = {}; }; }; @@ -113,8 +113,8 @@ in { toggle-kbd-layout ]; - xdg.configFile."alacritty/alacritty.yml" = { - source = yamlFormat.generate "alacritty.yml" (recursiveMerge [(import ./alacritty.nix) cfg.alacritty.settings]); + xdg.configFile."alacritty/alacritty.toml" = { + source = tomlFormat.generate "alacritty.toml" (recursiveMerge [(import ./alacritty.nix) cfg.alacritty.settings]); }; gtk = {