Skip to content

Commit

Permalink
feat(nix): add zoxide and build aliases for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Feb 19, 2024
1 parent 422e2ec commit 690803e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions nix/modules/darwin/tools/misc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ in {
tree
unzip
yq
zoxide
];
};
}
10 changes: 10 additions & 0 deletions nix/modules/darwin/user/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ in {
shell = pkgs.fish;
};

programs = {
fish = {
enable = true;
shellAliases = {
nixup = "darwin-rebuild switch --flake ~/dotfiles/nix";
nixt = "darwin-rebuild check --flake ~/dotfiles/nix";
};
};
};

snowfallorg.user.${config.custom.user.name}.home.config = {
home = {
file = {
Expand Down
7 changes: 6 additions & 1 deletion nix/modules/home/desktop/addons/wezterm/wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ config.font = wezterm.font_with_fallback {
{ family = "Symbols Nerd Font Mono", scale = 0.9 },
{ family = "DejaVu Sans", weight = "Regular", scale = 0.75 },
}
config.font_size = 14
if wezterm.target_triple == "x86_64-apple-darwin" then
config.font_size = 18
-- Linux Setup
else
config.font_size = 14
end
-- }}}
-- Windows
-- {{{
Expand Down

0 comments on commit 690803e

Please sign in to comment.