aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/twm.nix
blob: f5609d77637baf9d9ff521c2b411e2739d16a15f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ config, ... }:

{
  home.file.".config/twm/twm.yaml".text = ''
    search_paths:
      - ${config.home.homeDirectory}/ghq
      - ${config.home.homeDirectory}/repositories
      - ~/.config/nvim/

    exclude_path_components:
      - .git
      - .direnv
      - node_modules
      - venv
      - target

    workspace_definitions:
      - name: catchall
        default_layout: catchall-dev

      - name: go
        has_all_files:
          - go.mod
          - go.sum

      - name: docker-compose
        has_any_file:
          - docker-compose.yml
          - docker-compose.yaml
        has_all_files:
          - Dockerfile
          - .git

      - name: pulumi
        has_all_files:
          - Pulumi.yaml
  '';
}