home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

zsh.nix (339B)


      1 { config, lib, pkgs, ... }:
      2 
      3 with lib;
      4 let
      5   cfg = config.profiles.zsh;
      6 in
      7 {
      8   options = {
      9     profiles.zsh = {
     10       enable = mkOption {
     11         default = true;
     12         description = "Enable zsh profile";
     13         type = types.bool;
     14       };
     15     };
     16   };
     17   config = mkIf cfg.enable {
     18     programs.zsh = {
     19       enable = true;
     20     };
     21   };
     22 }