Fish: Difference between revisions

Pigs (talk | contribs)
Reorganized and polished content, added information about installing fish for those not using home manager
Tags: Mobile edit Mobile web edit Advanced mobile edit
Pigs (talk | contribs)
m NixOS System Configuration: make the nixos system configuration accomplish the same thing as the home manager example config
Line 54: Line 54:
{{file|/etc/nixos/configuration.nix|nix|
{{file|/etc/nixos/configuration.nix|nix|
<nowiki>
<nowiki>
environment.systemPackages = with pkgs; [
  programs.fish = {
  ...
    enable = true;
  fishPlugins.done
    interactiveShellInit = ''
  fishPlugins.fzf-fish
      set fish_greeting # Disable greeting
  fishPlugins.forgit
    '';
  fishPlugins.hydro
  };
  fzf
 
  fishPlugins.grc
  environment.systemPackages = with pkgs; [
  grc
    ...
];
    fishPlugins.done
    fishPlugins.fzf-fish
    fishPlugins.forgit
    fishPlugins.hydro
    fzf
    fishPlugins.grc
    grc
  ];
</nowiki>
</nowiki>
}}
}}