Last active
July 28, 2022 03:46
-
-
Save uonr/25f09d8229635b5ec18ba6271ced4309 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
# Home Manager needs a bit of information about you and the | |
# paths it should manage. | |
home.username = "mikan"; | |
home.homeDirectory = "/Users/mikan"; | |
home.sessionVariables.EDITOR = "hx"; | |
# This value determines the Home Manager release that your | |
# configuration is compatible with. This helps avoid breakage | |
# when a new Home Manager release introduces backwards | |
# incompatible changes. | |
# | |
# You can update Home Manager without changing this value. See | |
# the Home Manager release notes for a list of state version | |
# changes in each release. | |
home.stateVersion = "22.05"; | |
# Let Home Manager install and manage itself. | |
programs.home-manager.enable = true; | |
home.packages = with pkgs; [ | |
jq | |
htop | |
fortune | |
python3 | |
helix | |
rustup | |
]; | |
programs.direnv = { | |
enable = true; | |
nix-direnv.enable = true; | |
}; | |
programs.git = { | |
enable = true; | |
userName = "Tachibana Kiyomi"; | |
userEmail = "me@yuru.me"; | |
difftastic = { | |
enable = true; | |
}; | |
ignores = [ ".DS_Store" ]; | |
}; | |
programs.exa = { | |
enable = true; | |
enableAliases = true; | |
}; | |
programs.zsh = { | |
enable = true; | |
enableAutosuggestions = true; | |
enableCompletion = true; | |
enableSyntaxHighlighting = true; | |
autocd = true; | |
# https://stackoverflow.com/a/24237590 | |
initExtraBeforeCompInit = "zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'"; | |
# theme = "agnoster"; | |
}; | |
# environment.pathsToLink = [ "/share/zsh" ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment