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