Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macos #122

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Macos #122

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
2 changes: 1 addition & 1 deletion config/alacritty/alacritty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ decorations = "None"

[font]
size = 18
normal = { family = "JetBrains Mono NF" }
normal = { family = "JetBrainsMonoNL Nerd Font Mono" }

[cursor]
style = { shape = "Beam", blinking = "On" }
Expand Down
75 changes: 75 additions & 0 deletions config/macos_home.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{ pkgs, ... }:

{
home.username = "colby";
home.homeDirectory = "/Users/colby";

home.stateVersion = "23.11"; # Please read the comment before changing.

xdg.configFile = {
lazygit.source = ./lazygit;
ideavim.source = ./ideavim;
nvim.source = ./nvim;
wallpapers.source = ./wallpapers;
fish.source = ./fish;
bat.source = ./bat;
alacritty.source = ./alacritty;
zathura.source = ./zathura;
git.source = ./git;
tmux.source = ./tmux;
};
home.file.".bash_profile" = {
source = ./bash/.bash_profile;
};

nix = {
package = pkgs.nix;
settings.experimental-features = [
"nix-command"
"flakes"
];
};
programs.home-manager.enable = true;
fonts.fontconfig.enable = true;

home.packages = with pkgs; [
neovim
git
gnumake
just
gcc
gh
ghc
cabal-install
haskell-language-server
lazygit
gitui
fish
alacritty
fzf
delta
asciidoctor
ripgrep
stow
tmux
fd
tree
wget
zoxide
yazi
bat
xdg-utils
bottom
sd
zathura
mupdf
eza
temurin-bin-21
shellcheck
nodePackages.bash-language-server
mpv
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
jetbrains.idea-community
inkscape
];
}
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
...
}:
let
system = "x86_64-linux";
system = "aarch64-darwin";
pkgs = nixpkgs.legacyPackages.${system}.extend (
final: prev: {
# Add firefox extensions to our packages
Expand Down
Loading