Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions modules/profiles/home/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@
set -g fish_color_autosuggestion 555 brblack
'';

# interactiveShellInit = ''
# function __fish_command_not_found_handler --on-event="fish_command_not_found"
# ${lib.getExe pkgs.bashInteractive} -c \
# "source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh; command_not_found_handle $argv"
# end
# '';

functions.fish_greeting = "";

plugins = [{
Expand Down
6 changes: 0 additions & 6 deletions modules/profiles/home/ghostty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
end
'';

programs.zsh.initContent = ''
if [[ -n $GHOSTTY_RESOURCES_DIR ]]; then
source "$GHOSTTY_RESOURCES_DIR"/shell-integration/zsh/ghostty-integration
fi
'';

xdg.configFile."ghostty/config".text = ''
adjust-cell-height = 10
cursor-style = bar
Expand Down
1 change: 1 addition & 0 deletions modules/profiles/home/tools/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
just
mtr
nh
nixd
nix-index
nix-output-monitor
ripgrep
Expand Down
45 changes: 45 additions & 0 deletions modules/profiles/home/zed-editor.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ pkgs, lib, ... }: {
programs.zed-editor = {
enable = true;
extensions = [ "nix" "nord" ];
userSettings = {
# Keymaps
base_keymap = "Atom";
multi_cursor_modifier = "cmd_or_ctrl";

# Fonts
ui_font_size = 16;
buffer_font_family = "PragmataPro Mono Liga";
buffer_font_size = 16;

# Theme
theme = {
mode = "dark";
light = "Nord Light";
dark = "Nord Dark";
};

# Git
git.inline_blame.enabled = false;

# Language-specific
languages = {
Nix = {
language_servers = [ "nixd" "!nil" ];
formatter = {
external = {
command = lib.getExe pkgs.nixfmt-classic;
arguments = [ ];
};
};
};
};

# Telemetry
telemetry = {
diagnostics = false;
metrics = false;
};
};
};
}
1 change: 1 addition & 0 deletions modules/suites/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ with profiles;
tools.common
tools.darwin
xdg
zed-editor
zellij
];

Expand Down
1 change: 1 addition & 0 deletions users/et/profiles/zed-editor.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ programs.zed-editor.extensions = [ "haskell" ]; }