aboutsummaryrefslogtreecommitdiff
path: root/home-manager/tests/modules/programs/fish/no-functions.nix
blob: c817b388953cde0ad4da50230f546120a8391748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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
      '';

    };
  };
}