- Add Nixcloud host configurations including networking, hardware, and system settings - Refactor existing configurations for clarity and organization - Remove unused podman configuration from home-manager - Update SSH agent settings and session variables in Nixbook host
46 lines
925 B
Nix
46 lines
925 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
config = {
|
|
home.file."scripts/lsgpu.sh" = {
|
|
source = ./scripts/lsgpu.sh;
|
|
executable = true;
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
initContent = ''
|
|
eval "$(direnv hook zsh)"
|
|
export GPG_TTY=$(tty)
|
|
export EDITOR="nvim -n -c 'set noswapfile nobackup nowritebackup'"
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
|
|
'';
|
|
|
|
shellAliases = {
|
|
"vi" = "nvim";
|
|
"vim" = "nvim";
|
|
"ll" = "ls -l";
|
|
"lsgpu" = "$HOME/scripts/lsgpu.sh";
|
|
"gedit" = "gnome-text-editor";
|
|
"pbcopy" = "wl-copy";
|
|
"pbpaste" = "wl-paste";
|
|
};
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "bureau";
|
|
plugins = [
|
|
"git"
|
|
"history"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|