Add some more of my stuff
This commit is contained in:
parent
943ba9c139
commit
b79110e20a
1 changed files with 18 additions and 10 deletions
28
home.nix
28
home.nix
|
|
@ -1,7 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# TODO please change the username & home directory to your own
|
||||
home.username = "alex";
|
||||
home.homeDirectory = "/home/alex";
|
||||
|
||||
|
|
@ -20,18 +19,19 @@
|
|||
# xxx
|
||||
# '';
|
||||
|
||||
# set cursor size and dpi for 4k monitor
|
||||
# xresources.properties = {
|
||||
# "Xcursor.size" = 16;
|
||||
# "Xft.dpi" = 172;
|
||||
# };
|
||||
|
||||
home.shellAliases = {
|
||||
e = "ls -lh";
|
||||
vi = "nvim";
|
||||
vim = "nvim";
|
||||
tree = "eza --tree";
|
||||
l = "ls";
|
||||
ll = "eza -l";
|
||||
clip = "xclip -selection clipboard";
|
||||
vi = "nvim";
|
||||
vim = "nvim";
|
||||
mtr = "mtr -t";
|
||||
tm = "tmux attach || tmux";
|
||||
};
|
||||
|
||||
|
||||
# Packages that should be installed to the user profile.
|
||||
home.packages = with pkgs; [
|
||||
# here is some command line tools I use frequently
|
||||
|
|
@ -48,10 +48,13 @@
|
|||
|
||||
# utils
|
||||
ripgrep # recursively searches directories for a regex pattern
|
||||
# jq # A lightweight and flexible command-line JSON processor
|
||||
bat
|
||||
jq # A lightweight and flexible command-line JSON processor
|
||||
# yq-go # yaml processor https://github.com/mikefarah/yq
|
||||
eza # A modern replacement for ‘ls’
|
||||
fzf # A command-line fuzzy finder
|
||||
fd
|
||||
xclip
|
||||
|
||||
# networking tools
|
||||
mtr # A network diagnostic tool
|
||||
|
|
@ -159,6 +162,11 @@
|
|||
'';
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
};
|
||||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue