diff --git a/modules/features/terminal/helix.nix b/modules/features/terminal/helix.nix index 098fbf2..8ec2757 100644 --- a/modules/features/terminal/helix.nix +++ b/modules/features/terminal/helix.nix @@ -8,60 +8,63 @@ { # defines a custom helix module - flake.nixosModules.helix = { + flake.nixosModules.helix = + { pkgs, ... }: - imports = [ inputs.home-manager.nixosModules.home-manager ]; + { - home-manager.users.serenity = { + imports = [ inputs.home-manager.nixosModules.home-manager ]; - home.packages = with pkgs; [ - helix - ]; + home-manager.users.serenity = { - programs.helix = { + home.packages = with pkgs; [ + helix + ]; - # enables helix - enable = true; + programs.helix = { - settings = { + # enables helix + enable = true; + + settings = { + + # cursor settings + editor.cursor-shape = { + normal = "underline"; + insert = "bar"; + select = "block"; + }; + + # declare theme to use + theme = "onedarker_transparent"; - # cursor settings - editor.cursor-shape = { - normal = "underline"; - insert = "bar"; - select = "block"; }; - # declare theme to use - theme = "onedarker_transparent"; + # list of themes + themes = { - }; + # modified theme + onedarker_transparent = { + "inherits" = "onedarker"; + "ui.background" = { }; + }; - # list of themes - themes = { - - # modified theme - onedarker_transparent = { - "inherits" = "onedarker"; - "ui.background" = { }; }; - }; + # lsp settings + languages = { - # lsp settings - languages = { - - # nix - language = [ - { - name = "nix"; - auto-format = true; - formatter.command = lib.getExe pkgs.nxfmt; - } - ]; + # nix + language = [ + { + name = "nix"; + auto-format = true; + formatter.command = lib.getExe pkgs.nxfmt; + } + ]; + }; }; }; }; - }; } diff --git a/modules/features/terminal/kitty.nix b/modules/features/terminal/kitty.nix index d638190..ee48cfc 100644 --- a/modules/features/terminal/kitty.nix +++ b/modules/features/terminal/kitty.nix @@ -7,78 +7,81 @@ { # defines a custom kitty module - flake.nixosModules.kitty = { + flake.nixosModules.kitty = + { pkgs, ... }: - imports = [ inputs.home-manager.nixosModules.home-manager ]; + { - home-manager.users.serenity = { + imports = [ inputs.home-manager.nixosModules.home-manager ]; - # packages to include - home.packages = with pkgs; [ - kitty - ]; + home-manager.users.serenity = { - # cli fuzzy finder - programs.fzf = { - enable = true; - enableFishIntegration = true; - }; + # packages to include + home.packages = with pkgs; [ + kitty + ]; - programs.kitty = { - - # enables kitty - enable = true; - - # kitty integrations - enableGitIntegration = true; - shellIntegration.enableFishIntegration = true; - - # font settings - font = { - name = "spleen 32x64"; - size = 12; + # cli fuzzy finder + programs.fzf = { + enable = true; + enableFishIntegration = true; }; - # misecellaneous kitty config - extraConfig = '' - window_padding_width 0 20 - ''; + programs.kitty = { - settings = { + # enables kitty + enable = true; - # sets fish as the default shell - shell = "${pkgs.fish}/bin/fish"; + # kitty integrations + enableGitIntegration = true; + shellIntegration.enableFishIntegration = true; - # misc. settings - url_style = "curly"; - disable_ligutures = "never"; - scrollback_lines = 10000; - enable_audio_bell = false; - update_check_interval = 0; + # font settings + font = { + name = "spleen 32x64"; + size = 12; + }; - # cursor settings - cursor_shape = "Underline"; - cursor_shape_unfocused = "unchanged"; - cursor_underline_thickness = 1; - cursor_trail = 1; + # misecellaneous kitty config + extraConfig = '' + window_padding_width 0 20 + ''; - # window settings - window_padding_width = 5; - remember_window_size = "no"; - initial_window_width = 1200; - initial_window_height = 600; - confirm_os_window_close = "0"; - hide_window_decorations = true; - show_window_resize_notification = false; + settings = { - # Colours - # NOT YET IMPLEMENTED + # sets fish as the default shell + shell = "${pkgs.fish}/bin/fish"; + + # misc. settings + url_style = "curly"; + disable_ligutures = "never"; + scrollback_lines = 10000; + enable_audio_bell = false; + update_check_interval = 0; + + # cursor settings + cursor_shape = "Underline"; + cursor_shape_unfocused = "unchanged"; + cursor_underline_thickness = 1; + cursor_trail = 1; + + # window settings + window_padding_width = 5; + remember_window_size = "no"; + initial_window_width = 1200; + initial_window_height = 600; + confirm_os_window_close = "0"; + hide_window_decorations = true; + show_window_resize_notification = false; + + # Colours + # NOT YET IMPLEMENTED + + }; }; }; - }; - }; }