autojump: add module

This also deprecates the `programs.bash.enableAutojump` option in
favor of this module.
This commit is contained in:
Evan Stoll 2020-09-18 09:07:40 -04:00 committed by Robert Helgesson
parent 7e5fee4268
commit 8537920706
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
8 changed files with 93 additions and 12 deletions

View file

@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.autojump.enable = true;
nmt.script = ''
assertFileExists home-path/bin/autojump
'';
};
}

View file

@ -0,0 +1 @@
{ autojump = ./default-settings.nix; }