86 lines
1.6 KiB
Nix
86 lines
1.6 KiB
Nix
{ config, pkgs, inputs, my-r, my-python,... }: {
|
|
home.username = "louis";
|
|
home.homeDirectory = "/home/louis";
|
|
|
|
home.enableNixpkgsReleaseCheck = false;
|
|
|
|
imports = [
|
|
../apps/neovim
|
|
../apps/sway
|
|
../apps/waybar
|
|
../apps/fuzzel
|
|
#../modules/model-downloads.nix
|
|
];
|
|
|
|
home.packages = with pkgs; [
|
|
fzf
|
|
chromium
|
|
poppler-utils
|
|
my-r.env
|
|
my-r.rstudio
|
|
my-python
|
|
which
|
|
ripgrep
|
|
kitty
|
|
gcc
|
|
gnumake
|
|
kdePackages.okular
|
|
quarto
|
|
julia
|
|
wechat
|
|
wemeet
|
|
zotero
|
|
sqlite
|
|
anki-bin
|
|
sqlitebrowser
|
|
dig
|
|
ghostty
|
|
inkscape
|
|
tig
|
|
wofi
|
|
grim
|
|
slurp
|
|
wl-clipboard
|
|
brightnessctl
|
|
pulseaudio
|
|
neofetch
|
|
llama-cpp
|
|
];
|
|
|
|
my.apps.fuzzel.enable = true;
|
|
|
|
programs.fish = {
|
|
enable = true;
|
|
interactiveShellInit = ''
|
|
export QUARTO_R="/home/louis/.nix-profile/bin/R";
|
|
export EDITOR="nvim";
|
|
'';
|
|
};
|
|
|
|
#programs.zsh = {
|
|
# enable = true;
|
|
# enableCompletion = true;
|
|
# autosuggestion.enable = true;
|
|
# syntaxHighlighting.enable = true;
|
|
# sessionVariables = {
|
|
# QUARTO_R = "/home/louis/.nix-profile/bin/R";
|
|
# EDITOR = "nvim";
|
|
# };
|
|
#};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Louis Chih-Ming Lee";
|
|
userEmail = "louis@louisclee.com";
|
|
};
|
|
|
|
#modelDownloads = {
|
|
# enable = true;
|
|
# dir = "${config.home.homeDirectory}/data/ai/models";
|
|
# urls = [
|
|
# "https://huggingface.co/bartowski/Meta-Llama-3.1-8B-Instruct-GGUF/resolve/main/Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf"
|
|
# ];
|
|
#};
|
|
|
|
home.stateVersion = "25.05";
|
|
}
|