diff --git a/README.md b/README.md index b527b9e..01d8440 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,14 @@ Then use [stow](https://www.gnu.org/software/stow/) to create symlinks for each **i.e.** `$ stow -S vim` +### Anything nix related +I use [nix: home-manager](https://github.com/nix-community/home-manager). I suggest you do too. `stow` is fine until it isn't. +If you want to try out my nix config, then you can do this: +```sh +home-manager switch --flake .#elal +``` + +Be sure that your hostname is `exa` and your username is `elal`. + +I suggest you change the above to **your** hostname and **your** username. diff --git a/nix-darwin/home.nix b/nix-darwin/home.nix index a58bc72..bc78ae8 100644 --- a/nix-darwin/home.nix +++ b/nix-darwin/home.nix @@ -91,9 +91,12 @@ # Development stuff gcc + + # rust rustc rustup + # js/ts/node/web nodejs_22 nodePackages.pnpm @@ -102,6 +105,10 @@ ruby julia_19-bin # compat + # py + python3 + python312Packages.pip + # DE/WM/Ricing yabai # wm skhd # key mngr @@ -116,6 +123,7 @@ # # Building this configuration will create a copy of 'dotfiles/screenrc' in # # the Nix store. Activating the configuration will then make '~/.screenrc' a # # symlink to the Nix store copy. + # ".screenrc".source = dotfiles/screenrc; # # You can also set the file content immediately. @@ -168,6 +176,13 @@ programs.zsh = { enable = true; + shellAliases = { + dev = "cd $HOME/Projects/almtech/exa/"; + xcopy = "pbcopy"; + xpaste = "pbpaste"; + ccd = "echo $PWD | xcopy"; + cr = "cd $(git rev-parse --show-toplevel)"; + }; oh-my-zsh = { enable = true; theme = "half-life"; @@ -187,6 +202,29 @@ programs.alacritty = { enable = true; + settings = { + font = { + normal = { + family = "Hack Nerd Font"; + style = "Regular"; + }; + bold = { + family = "Hack Nerd Font"; + style = "Bold"; + }; + italic = { + family = "Hack Nerd Font"; + style = "Italic"; + }; + size = 12; + }; + window = { + padding = { + x = 8; + y = 8; + }; + }; + }; }; programs.neovim = {