2021-11-04 16:42:44 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2020-10-12 00:22:58 +00:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.fish = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
functions = { };
|
|
|
|
};
|
|
|
|
|
2021-11-04 16:42:44 +00:00
|
|
|
# Needed to avoid error with dummy fish package.
|
|
|
|
xdg.dataFile."fish/home-manager_generated_completions".source =
|
|
|
|
lib.mkForce (builtins.toFile "empty" "");
|
|
|
|
|
2020-10-12 00:22:58 +00:00
|
|
|
nmt = {
|
|
|
|
description =
|
|
|
|
"if fish.functions is blank, the functions folder should not exist.";
|
|
|
|
script = ''
|
|
|
|
assertPathNotExists home-files/.config/fish/functions
|
|
|
|
'';
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|