fork/home-manager

git clone https://git.julia.blue/fork/home-manager

mat essfish: always run fish_indent7e81e7ae

master
515 B26 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    programs.fish = {
8      enable = true;
9
10      functions = { };
11    };
12
13    # Needed to avoid error with dummy fish package.
14    xdg.dataFile."fish/home-manager_generated_completions".source =
15      lib.mkForce (builtins.toFile "empty" "");
16
17    nmt = {
18      description =
19        "if fish.functions is blank, the functions folder should not exist.";
20      script = ''
21        assertPathNotExists home-files/.config/fish/functions
22      '';
23
24    };
25  };
26}