aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/twm.nix
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-03-21 18:43:01 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2026-03-21 18:43:01 +0100
commite08f800b6dc1bc6a6a6127c12b7df72bd219d50b (patch)
treed8946586bdda098983322316d02421c57ffb885d /modules/home/twm.nix
parent1fd92fcaf3aadea1e9509f859340f57100218c41 (diff)
downloaddotfiles-e08f800b6dc1bc6a6a6127c12b7df72bd219d50b.tar.gz
dotfiles-e08f800b6dc1bc6a6a6127c12b7df72bd219d50b.zip
use nix
Diffstat (limited to 'modules/home/twm.nix')
-rw-r--r--modules/home/twm.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/modules/home/twm.nix b/modules/home/twm.nix
new file mode 100644
index 0000000..cebfc6e
--- /dev/null
+++ b/modules/home/twm.nix
@@ -0,0 +1,37 @@
+{ config, ... }:
+
+{
+ home.file.".config/twm/twm.yaml".text = ''
+ search_paths:
+ - ${config.home.homeDirectory}/ghq
+ - ~/.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
+ '';
+}