1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-30 18:38:31 +02:00
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
'';
};
};
}