From 4ba20053a624499af7dbcefcae40b1733dd45742 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Fri, 20 Oct 2023 16:38:22 +0300 Subject: [PATCH] Use new option to set helix to default editor --- machines/asus/helix/default.nix | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/machines/asus/helix/default.nix b/machines/asus/helix/default.nix index ec6b3cb..57b121c 100644 --- a/machines/asus/helix/default.nix +++ b/machines/asus/helix/default.nix @@ -5,11 +5,9 @@ ]) (homeConfiguration "nixos" { - programs.nushell.environmentVariables = { - EDITOR = "hx"; - }; - programs.helix = enabled { + defaultEditor = true; + settings.theme = "catppuccin_mocha"; settings.editor = { @@ -23,13 +21,13 @@ }; settings.editor.auto-pairs = { - "(" = ")"; - "{" = "}"; - "[" = "]"; + "(" = ")"; + "{" = "}"; + "[" = "]"; "\"" = "\""; - "'" = "'"; - "<" = ">"; - "`" = "`"; + "'" = "'"; + "<" = ">"; + "`" = "`"; }; settings.editor.statusline.mode = {