about summary refs log tree commit diff
path: root/home/fish/default.nix
blob: ffb8f318765b004c693b66c16ce6a956270741e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, pkgs, ... }:
let cfg = config.my.home.fish;
in {
  options.my.home.fish = with lib; {
    enable = mkEnableOption "fish configuration";
  };
  config.programs.fish = lib.mkIf cfg.enable {
    enable = true;
    interactiveShellInit = ''
      set fish_greeting
    '';
  };
}