nixos-dotfiles/home.nix
2023-09-09 18:03:51 -04:00

137 lines
3.4 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ config, pkgs, ... }:
{
# TODO please change the username & home direcotry to your own
home.username = "tacocat";
home.homeDirectory = "/home/tacocat";
# link the configuration file in current directory to the specified location in home directory
# home.file.".config/i3/wallpaper.jpg".source = ./wallpaper.jpg;
# link all files in `./scripts` to `~/.config/i3/scripts`
# home.file.".config/i3/scripts" = {
# source = ./scripts;
# recursive = true; # link recursively
# executable = true; # make all files executable
# };
# encode the file content in nix configuration file directly
# home.file.".xxx".text = ''
# xxx
# '';
# basic configuration of git, please change to your own
programs.git = {
enable = true;
userName = "Aria Nolan";
userEmail = "aria@chytrid.xyz";
};
# Packages that should be installed to the user profile.
home.packages = with pkgs; [
# here is some command line tools I use frequently
# feel free to add your own or remove some of them
# archives
zip
unzip
p7zip
# utils
exa # A modern replacement for ls
fzf # A command-line fuzzy finder
# networking tools
aria2 # A lightweight multi-protocol & multi-source command-line download utility
# misc
file
which
tree
gnused
gnutar
gawk
zstd
gnupg
# nix related
#
# it provides the command `nom` works just like `nix`
# with more details log output
nix-output-monitor
# productivity
hugo # static site generator
glow # markdown previewer in terminal
btop # replacement of htop/nmon
iotop # io monitoring
iftop # network monitoring
# system call monitoring
strace # system call monitoring
ltrace # library call monitoring
lsof # list open files
# system tools
sysstat
lm_sensors # for `sensors` command
ethtool
pciutils # lspci
usbutils # lsusb
];
# starship - an customizable prompt for any shell
# programs.starship = {
# enable = true;
# # custom settings
# settings = {
# add_newline = false;
# aws.disabled = true;
# gcloud.disabled = true;
# line_break.disabled = true;
# };
# };
# alacritty - a cross-platform, GPU-accelerated terminal emulator
# programs.alacritty = {
# enable = true;
# # custom settings
# settings = {
# env.TERM = "xterm-256color";
# font = {
# size = 12;
# draw_bold_text_with_bright_colors = true;
# };
# scrolling.multiplier = 5;
# selection.save_to_clipboard = true;
# };
# };
programs.bash = {
enable = true;
enableCompletion = true;
# TODO add your custom bashrc here
bashrcExtra = ''
export PATH="$PATH:$HOME/bin:$HOME/.local/bin:$HOME/go/bin"
'';
# set some aliases, feel free to add more or remove some
shellAliases = {
};
};
# 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 = "23.05";
# Let home Manager install and manage itself.
programs.home-manager.enable = true;
}