Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/takagiy/nixos-declarative-fish-plugin-mgr

NixOS module to manage fish plugins declaratively
https://github.com/takagiy/nixos-declarative-fish-plugin-mgr

fish fish-plugin fish-shell fishshell nixos nixos-configuration plugin-manager

Last synced: 6 days ago
JSON representation

NixOS module to manage fish plugins declaratively

Lists

README

        

# nixos-declarative-fish-plugin-mgr
NixOS module to manage fish plugins declaratively

## Usage and Examples

In your `/etc/nixos/configuration.nix`:

```nix
{ config, pkgs, ... }:

{
imports =
[
# 1. Add archive of this repository to your imports.
(fetchTarball
"https://github.com/takagiy/nixos-declarative-fish-plugin-mgr/archive/0.0.5.tar.gz")

#...
];

programs.fish = {
# 2. Enable fish-shell if you didn't.
enable = true;

# 3. Declare fish plugins to be installed.
plugins = [
"jethrokuan/fzf"
"b4b4r07/enhancd"
];
};

# 4. Make sure that the dependencies of the installed fish plugins are satisfised.
environment.systemPackages = with pkgs; [
fzf # Required by jethrokuan/fzf.
fzy # Required by b4b4r07/enhancd.

#...
];

#...
}
```

\# 5. Re-login to the shell.