mirror of
https://github.com/inexcode/nixos-config.git
synced 2024-11-30 09:31:28 +00:00
43 lines
806 B
Nix
43 lines
806 B
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
users.defaultUserShell = pkgs.zsh;
|
||
|
programs.zsh = {
|
||
|
enable = true;
|
||
|
#interactiveShellInit = "ponysay -q";
|
||
|
autosuggestions = {
|
||
|
enable = true;
|
||
|
};
|
||
|
syntaxHighlighting = {
|
||
|
enable = true;
|
||
|
};
|
||
|
ohMyZsh = {
|
||
|
enable = true;
|
||
|
plugins = [
|
||
|
"git"
|
||
|
"python"
|
||
|
"man"
|
||
|
"z"
|
||
|
"catimg"
|
||
|
"copyfile"
|
||
|
"encode64"
|
||
|
"extract"
|
||
|
"lol"
|
||
|
"npm"
|
||
|
"pip"
|
||
|
];
|
||
|
theme = "spaceship";
|
||
|
customPkgs = with pkgs; [
|
||
|
pkgs.nix-zsh-completions
|
||
|
pkgs.spaceship-prompt
|
||
|
pkgs.zsh-autosuggestions
|
||
|
pkgs.zsh-syntax-highlighting
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
zsh-autosuggestions
|
||
|
zsh-syntax-highlighting
|
||
|
];
|
||
|
}
|