Skip to content

Commit

Permalink
[alacritty] Set shell from fish program package
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Jan 6, 2025
1 parent 025c7a5 commit 81ed26c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions home/alacritty/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ lib, pkgs, ... }:
{
config,
pkgs,
lib,
...
}:

{
programs.alacritty = {
Expand All @@ -10,7 +15,7 @@
};
font.size = 16;
general.import = [ "~/.config/alacritty/theme.toml" ];
terminal.shell.program = "${pkgs.fish}/bin/fish";
terminal.shell.program = lib.getExe config.programs.fish.package;
};
};

Expand All @@ -29,7 +34,7 @@
touch -h ~/.config/alacritty/alacritty.toml
'';
in
[
[
"/opt/homebrew/bin/dark-notify"
"-c"
"${script}/bin/alacritty-theme"
Expand Down

0 comments on commit 81ed26c

Please sign in to comment.