2023-08-02 23:20:31 -04:00
|
|
|
# CLI home.nix
|
|
|
|
{ config, lib, pkgs, inputs, user, ... }:
|
|
|
|
{
|
|
|
|
home.shellAliases = {
|
|
|
|
wget = "wget --hsts-file=${config.xdg.configHome}/wget-hsts";
|
|
|
|
doas = "sudo";
|
|
|
|
ls = "ls -l";
|
|
|
|
ll = "ls -alF";
|
|
|
|
trim = "awk '{\$1=\$1;print}'";
|
|
|
|
};
|
|
|
|
home.sessionPath = [
|
|
|
|
"${config.home.homeDirectory}/.local/share/go/bin"
|
|
|
|
];
|
2024-01-11 22:45:23 -05:00
|
|
|
xdg.configFile = {
|
|
|
|
"cava" = {
|
|
|
|
source = ./dots/cava;
|
|
|
|
target = "cava";
|
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
};
|
2023-08-02 23:20:31 -04:00
|
|
|
xdg = {
|
|
|
|
userDirs = {
|
|
|
|
enable = true;
|
|
|
|
createDirectories = true;
|
|
|
|
desktop = "${config.home.homeDirectory}/Desktop";
|
|
|
|
documents = "${config.home.homeDirectory}/Documents";
|
|
|
|
download = "${config.home.homeDirectory}/Downloads";
|
|
|
|
music = "${config.home.homeDirectory}/Music";
|
|
|
|
pictures = "${config.home.homeDirectory}/Pictures";
|
|
|
|
publicShare = "${config.home.homeDirectory}/Public";
|
|
|
|
templates = "${config.home.homeDirectory}/Templates";
|
|
|
|
videos = "${config.home.homeDirectory}/Videos";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
programs = {
|
|
|
|
go = {
|
|
|
|
goPath = "${config.xdg.dataHome}/go";
|
|
|
|
};
|
|
|
|
neovim = {
|
|
|
|
extraConfig = ''
|
|
|
|
let g:limelight_conceal_ctermfg = 'block'
|
|
|
|
'';
|
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
|
|
dracula-nvim
|
|
|
|
goyo-vim
|
|
|
|
limelight-vim
|
2024-01-13 00:49:00 -05:00
|
|
|
twilight-nvim
|
2023-08-02 23:20:31 -04:00
|
|
|
vim-nix
|
|
|
|
vimwiki
|
2024-01-13 00:49:00 -05:00
|
|
|
zen-mode-nvim
|
2023-08-02 23:20:31 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
yt-dlp = {
|
|
|
|
extraConfig = ''
|
|
|
|
--update
|
|
|
|
'';
|
|
|
|
settings = {
|
|
|
|
embed-thumbnail = true;
|
|
|
|
embed-subs = true;
|
|
|
|
sub-langs = "all";
|
|
|
|
downloader = "aria2c";
|
|
|
|
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|