depot/third_party/home-manager/tests/modules/programs/fish/no-functions.nix

23 lines
339 B
Nix
Raw Normal View History

{ config, lib, ... }:
with lib;
{
config = {
programs.fish = {
enable = true;
functions = { };
};
nmt = {
description =
"if fish.functions is blank, the functions folder should not exist.";
script = ''
assertPathNotExists home-files/.config/fish/functions
'';
};
};
}