nixos/config/zsh.nix

18 lines
358 B
Nix
Raw Normal View History

2019-02-26 13:44:40 +01:00
{ config, lib, pkgs, ... }:
with lib;
mkIf (elem "zsh" config.machine.conffiles) {
2019-02-26 13:44:40 +01:00
programs.zsh = {
enable = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
ohMyZsh = {
enable = true;
plugins = [ "cabal" "docker" "gitfast" "python" "pip" "sudo" "systemd" "man" ];
2019-02-26 13:44:40 +01:00
theme = "gentoo";
};
};
}