autojump: add module
This also deprecates the `programs.bash.enableAutojump` option in favor of this module.
This commit is contained in:
parent
7e5fee4268
commit
8537920706
8 changed files with 93 additions and 12 deletions
13
tests/modules/programs/autojump/default-settings.nix
Normal file
13
tests/modules/programs/autojump/default-settings.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
config = {
|
||||
programs.autojump.enable = true;
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-path/bin/autojump
|
||||
'';
|
||||
};
|
||||
}
|
||||
1
tests/modules/programs/autojump/default.nix
Normal file
1
tests/modules/programs/autojump/default.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ autojump = ./default-settings.nix; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue