Skip to content

Commit 9808a44

Browse files
authored
Update inputs, add Jujutsu, use Ghostty from Nix (#185)
* Zed configuration tweaks * Update inputs * Add Jujutsu * Remove jj-starship (for now) * Use Ghostty from Nix
1 parent a5e2527 commit 9808a44

File tree

13 files changed

+67
-50
lines changed

13 files changed

+67
-50
lines changed

flake.lock

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/development/treefmt.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
inherit (config.flake-root) projectRootFile;
88

99
programs = {
10+
actionlint.enable = true;
1011
deadnix.enable = true;
1112
statix.enable = true;
1213
nixfmt = {
@@ -22,8 +23,7 @@
2223
formatter = inputs.treefmt.lib.mkWrapper pkgs treefmtConfig;
2324

2425
devShells.treefmt = pkgs.mkShell {
25-
nativeBuildInputs = with pkgs;
26-
[ config.treefmt.build.wrapper ]
26+
nativeBuildInputs = [ config.treefmt.build.wrapper ]
2727
++ (builtins.attrValues config.treefmt.build.programs);
2828
};
2929
};

modules/overlays/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
};
1111
in {
1212
nixpkgs-master-darwin-linux-builder = nixpkgs-master.darwin.linux-builder;
13+
14+
inherit (nixpkgs-master) ghostty-bin;
1315
};
1416
};
1517
}

modules/profiles/home/ghostty.nix

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
{
2-
programs.fish.shellInit = ''
3-
if set -q GHOSTTY_RESOURCES_DIR
4-
source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish"
5-
end
6-
'';
7-
8-
xdg.configFile."ghostty/config".text = ''
9-
adjust-cell-height = 10
10-
cursor-style = bar
11-
font-family = PragmataPro Mono Liga
12-
font-size = 16
13-
theme = nord
14-
window-padding-x = 8
15-
'';
1+
{ pkgs, ... }: {
2+
programs.ghostty = {
3+
enable = true;
4+
enableFishIntegration = true;
5+
package = pkgs.ghostty-bin;
6+
settings = {
7+
adjust-cell-height = 10;
8+
cursor-style = "bar";
9+
font-family = "PragmataPro Mono Liga";
10+
font-size = 16;
11+
theme = "nord";
12+
window-padding-x = 8;
13+
};
14+
};
1615
}

modules/profiles/home/jujutsu.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
programs.jujutsu = {
3+
enable = true;
4+
settings = { user.name = "Ethan Turkeltaub"; };
5+
};
6+
7+
programs.jjui.enable = true;
8+
}

modules/profiles/home/starship.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
programs.starship = {
33
enable = true;
44
enableFishIntegration = true;
5-
settings.character.success_symbol = "[➜](bold green)";
5+
settings = { nix_shell.symbol = "❄️ "; };
66
};
77
}

modules/profiles/home/zed-editor.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
git.inline_blame.enabled = false;
2929

3030
# File associations
31-
file_types = { "Haskell" = [ "ghci" ]; };
31+
file_types = { "Haskell" = [ "ghci" "persistentmodels" ]; };
3232

3333
# Language-specific
3434
languages = {
@@ -50,7 +50,7 @@
5050
};
5151

5252
# AI
53-
show_edit_predictions = false;
53+
disable_ai = true;
5454
};
5555
};
5656
}

modules/profiles/system/darwin/brew.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"docker-desktop"
1919
"elgato-stream-deck"
2020
"emacs-mac-spacemacs-icon"
21-
"ghostty"
21+
# "ghostty"
2222
"fantastical"
2323
"firefox"
2424
"istat-menus"

modules/suites/home.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ with profiles;
1414
ghostty
1515
helix
1616
lazygit
17+
jujutsu
1718
navi
1819
paths
1920
rippkgs

users/et/home.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
base ++ development ++ identity ++ (with profiles; [ haskell nodejs ])
44
++ [ secrets.users.et.home ] ++ [
55
./profiles/git.nix
6+
./profiles/jujutsu.nix
67
./profiles/tmuxp.nix
78
./profiles/tools.nix
89
./profiles/vscode.nix

0 commit comments

Comments
 (0)