35 lines
604 B
Nix
35 lines
604 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
home.shellAliases = {
|
|
suspend = "systemctl hibernate";
|
|
nrs = "sudo nixos-rebuild switch --flake ~/src/nixos-config";
|
|
nrb = "sudo nixos-rebuild build --flake ~/src/nixos-config";
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
initContent = ''
|
|
[ $TERM = "dumb" ] && unsetopt zle && PS1='$ '
|
|
'';
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [
|
|
"git"
|
|
"fzf"
|
|
"z"
|
|
];
|
|
theme = "simple";
|
|
};
|
|
};
|
|
}
|