Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
chore: clean up dots Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQCeabOnlQtRwImqRkfRRrnEOxB/uhFmWulmAdwM6fDthRFaZE/IiRiur9MpIk93JV3 wOsWBFqCzJ2OW8M/6G7wI= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
6 months ago
7 changed files, 18 additions(+), 381 deletions(-)
apps/gui/default.nixapps/nogui/default.nixapps/nogui/helix.nixapps/nogui/jq.nixapps/nogui/lsp.nixapps/nogui/senpai.nixmachines/dragonwell/restic.nix
M apps/gui/default.nixapps/gui/default.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/apps/gui/default.nix b/apps/gui/default.nix
index ad6da8ff9e7e90ced415cc22a9786ccc7720f665..ffb0a61d400785ec8f677fc1a924d9e32c2c28ea 100644
--- a/apps/gui/default.nix
+++ b/apps/gui/default.nix
@@ -12,16 +12,9 @@     ./zed.nix
   ];
   home = {
     packages = with pkgs; [
-      # Tools
-      #cinny-desktop
-      delve
       discord
       obsidian
       gimp
-
-      # LSPs
-      marksman
-      nodePackages.yaml-language-server
     ];
   };
 }
M apps/nogui/default.nixapps/nogui/default.nix
 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
diff --git a/apps/nogui/default.nix b/apps/nogui/default.nix
index 17f4019e032b95b3e3bc764eabf5798517f24a49..61355e1f26d57877e778c8e1b868744b3c92d36e 100644
--- a/apps/nogui/default.nix
+++ b/apps/nogui/default.nix
@@ -10,11 +10,10 @@     ./fzf.nix
     ./git.nix
     ./go.nix
     ./gpg.nix
-    #./helix.nix
     ./jj.nix
-    ./jq.nix
     ./lazygit.nix
     ./llm.nix
+    ./lsp.nix
     ./nushell.nix
     ./oh-my-posh.nix
     ./senpai.nix
@@ -24,36 +23,16 @@     ./zoxide.nix
   ];
   home = {
     packages = with pkgs; [
-      # Tools
       age
       bitwarden-cli
       cachix
       duf
       du-dust
       fd
-      git-absorb
       just
       ripgrep
       usql
 
-      # Dhall
-      dhall
-      dhall-nix
-      dhall-lsp-server
-
-      # LSPs
-      gopls
-      nil
-
-      # Jsonnet
-      go-jsonnet
-      jsonnet-language-server
-
-      # Formatters
-      nixfmt-rfc-style
-      gofumpt
-
-      # Flake overlays
       jolheiser.gist
       jolheiser.git-age
       tclip
D apps/nogui/helix.nix
  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
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
diff --git a/apps/nogui/helix.nix b/apps/nogui/helix.nix
deleted file mode 100644
index 3397587fb5bce40670b60bfc484e340b52ab2e2d..0000000000000000000000000000000000000000
--- a/apps/nogui/helix.nix
+++ /dev/null
@@ -1,349 +0,0 @@
-# This entire file is superceded by https://git.jolheiser.com/helix.drv
-{ pkgs, ... }:
-let
-  query =
-    scm:
-    builtins.readFile (
-      pkgs.fetchFromGitea {
-        domain = "git.jojodev.com";
-        owner = "jolheiser";
-        repo = "templ-helix";
-        rev = "2a47b9c5af0fd9ae8bba8198fd66abc6d07fdf10";
-        sha256 = "sha256-pTdOX9bPup626t+ko6k3Xq/tprAMAZCUBl+xeIBkhfs=";
-      }
-      + "/queries/templ/${scm}.scm"
-    );
-in
-{
-  programs.helix = {
-    enable = true;
-    defaultEditor = true;
-    settings = {
-      theme = "catppuccin_mocha_transparent";
-      editor = {
-        line-number = "relative";
-        mouse = false;
-        bufferline = "always";
-        color-modes = true;
-        cursor-shape = {
-          insert = "bar";
-          normal = "block";
-          select = "underline";
-        };
-        file-picker = {
-          hidden = false;
-        };
-        indent-guides = {
-          render = true;
-          skip-levels = 1;
-        };
-        soft-wrap = {
-          enable = true;
-        };
-        statusline = {
-          right = [
-            "version-control"
-            "diagnostics"
-            "selections"
-            "position"
-            "file-encoding"
-          ];
-        };
-        lsp = {
-          display-messages = true;
-        };
-      };
-      keys = {
-        normal = {
-          space = {
-            q = ":quit";
-            Q = ":quit!";
-            w = ":write";
-            W = ":write!";
-          };
-          C-c = ":config-open";
-          C-r = ":config-reload";
-          "C-/" = "toggle_comments";
-          S-right = "goto_next_buffer";
-          S-left = "goto_previous_buffer";
-          C-b = ":buffer-close";
-          C-s = [
-            "select_all"
-            "select_regex"
-          ];
-
-          C-j = "shrink_selection";
-          C-k = "expand_selection";
-          C-l = "select_next_sibling";
-          C-a = "select_all";
-          C-u = [
-            "half_page_up"
-            "align_view_center"
-          ];
-          C-d = [
-            "half_page_down"
-            "align_view_center"
-          ];
-
-          "{" = [
-            "goto_prev_paragraph"
-            "collapse_selection"
-          ];
-          "}" = [
-            "goto_next_paragraph"
-            "collapse_selection"
-          ];
-          "0" = "goto_line_start";
-          "$" = "goto_line_end";
-          "^" = "goto_first_nonwhitespace";
-          G = "goto_file_end";
-          "%" = "match_brackets";
-          V = [
-            "select_mode"
-            "extend_to_line_bounds"
-          ];
-          C = [
-            "collapse_selection"
-            "extend_to_line_end"
-            "change_selection"
-          ];
-          D = [
-            "extend_to_line_end"
-            "delete_selection"
-          ];
-          S = "surround_add";
-
-          d = {
-            d = [
-              "extend_to_line_bounds"
-              "delete_selection"
-            ];
-            t = [ "extend_till_char" ];
-            s = [ "surround_delete" ];
-            i = [ "select_textobject_inner" ];
-            a = [ "select_textobject_around" ];
-          };
-
-          x = "delete_selection";
-          p = "paste_clipboard_after";
-          P = "paste_clipboard_before";
-          y = [
-            "yank_main_selection_to_clipboard"
-            "normal_mode"
-            "flip_selections"
-            "collapse_selection"
-          ];
-          Y = [
-            "extend_to_line_bounds"
-            "yank_main_selection_to_clipboard"
-            "goto_line_start"
-            "collapse_selection"
-          ];
-
-          w = [
-            "move_next_word_start"
-            "move_char_right"
-            "collapse_selection"
-          ];
-          e = [
-            "move_next_word_end"
-            "collapse_selection"
-          ];
-          b = [
-            "move_prev_word_start"
-            "collapse_selection"
-          ];
-
-          i = [
-            "insert_mode"
-            "collapse_selection"
-          ];
-          a = [
-            "append_mode"
-            "collapse_selection"
-          ];
-
-          esc = [
-            "collapse_selection"
-            "keep_primary_selection"
-          ];
-        };
-        insert = {
-          esc = [
-            "collapse_selection"
-            "normal_mode"
-          ];
-        };
-        select = {
-          space = {
-            j = {
-              e = ":pipe jq";
-              c = ":pipe jq -c";
-            };
-          };
-          "{" = [
-            "extend_to_line_bounds"
-            "goto_prev_paragraph"
-          ];
-          "}" = [
-            "extend_to_line_bounds"
-            "goto_next_paragraph"
-          ];
-          "0" = "goto_line_start";
-          "$" = "goto_line_end";
-          "^" = "goto_first_nonwhitespace";
-          G = "goto_file_end";
-          D = [
-            "extend_to_line_bounds"
-            "delete_selection"
-            "normal_mode"
-          ];
-          C = [
-            "goto_line_start"
-            "extend_to_line_bounds"
-            "change_selection"
-          ];
-          "%" = "match_brackets";
-          S = "surround_add";
-
-          i = "select_textobject_inner";
-          a = "select_textobject_around";
-
-          tab = [
-            "insert_mode"
-            "collapse_selection"
-          ];
-          C-a = [
-            "append_mode"
-            "collapse_selection"
-          ];
-
-          k = [
-            "extend_line_up"
-            "extend_to_line_bounds"
-          ];
-          j = [
-            "extend_line_down"
-            "extend_to_line_bounds"
-          ];
-
-          d = [
-            "yank_main_selection_to_clipboard"
-            "delete_selection"
-          ];
-          x = [
-            "yank_main_selection_to_clipboard"
-            "delete_selection"
-          ];
-          y = [
-            "yank_main_selection_to_clipboard"
-            "normal_mode"
-            "flip_selections"
-            "collapse_selection"
-          ];
-          Y = [
-            "extend_to_line_bounds"
-            "yank_main_selection_to_clipboard"
-            "goto_line_start"
-            "collapse_selection"
-            "normal_mode"
-          ];
-          p = "replace_selections_with_clipboard";
-          P = "paste_clipboard_before";
-
-          esc = [
-            "collapse_selection"
-            "keep_primary_selection"
-            "normal_mode"
-          ];
-        };
-      };
-    };
-    languages = {
-      language = [
-        {
-          name = "go";
-          formatter = {
-            command = "gofumpt";
-          };
-        }
-        {
-          name = "lua";
-          formatter = {
-            command = "luafmt";
-            args = [ "--stdin" ];
-          };
-        }
-        {
-          name = "python";
-          auto-format = true;
-          formatter = {
-            command = "black";
-            args = [
-              "--quiet"
-              "-"
-            ];
-          };
-        }
-        {
-          name = "nix";
-          auto-format = true;
-          formatter = {
-            command = "alejandra";
-            args = [ "-qq" ];
-          };
-        }
-        {
-          name = "templ";
-          auto-format = true;
-          scope = "source.templ";
-          injection-regex = "templ";
-          file-types = [ "templ" ];
-          roots = [ "go.mod" ];
-          comment-token = "//";
-          language-server = {
-            command = "templ";
-            args = [ "lsp" ];
-          };
-          formatter = {
-            command = "templ";
-            args = [ "fmt" ];
-          };
-        }
-      ];
-      grammar = [
-        {
-          name = "templ";
-          source = {
-            git = "https://github.com/vrischmann/tree-sitter-templ";
-            rev = "9f63037ad08a58050d0582ef1ae0009bd0fbf2f1";
-          };
-        }
-      ];
-    };
-    themes = {
-      catppuccin_frappe_transparent = {
-        inherits = "catppuccin_frappe";
-        "ui.background" = { };
-      };
-      catppuccin_latte_transparent = {
-        inherits = "catppuccin_latte";
-        "ui.background" = { };
-      };
-      catppuccin_macchiato_transparent = {
-        inherits = "catppuccin_macchiato";
-        "ui.background" = { };
-      };
-      catppuccin_mocha_transparent = {
-        inherits = "catppuccin_mocha";
-        "ui.background" = { };
-      };
-    };
-  };
-  xdg.configFile = {
-    "helix/runtime/queries/templ/highlights.scm".text = query "highlights";
-    "helix/runtime/queries/templ/indents.scm".text = query "indents";
-    "helix/runtime/queries/templ/injections.scm".text = query "injections";
-    "helix/runtime/queries/templ/structure.scm".text = query "structure";
-  };
-}
D apps/nogui/jq.nix
1
2
3
4
5
6
7
diff --git a/apps/nogui/jq.nix b/apps/nogui/jq.nix
deleted file mode 100644
index 3c01c415d9a2bd365f83f4ec6a57f64eb6a40692..0000000000000000000000000000000000000000
--- a/apps/nogui/jq.nix
+++ /dev/null
@@ -1 +0,0 @@
-{ programs.jq.enable = true; }
I apps/nogui/lsp.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
diff --git a/apps/nogui/lsp.nix b/apps/nogui/lsp.nix
new file mode 100644
index 0000000000000000000000000000000000000000..fb2b4c7864969d2813b36e2844e4269742891447
--- /dev/null
+++ b/apps/nogui/lsp.nix
@@ -0,0 +1,11 @@
+{ pkgs, ... }:
+{
+  home.packages = with pkgs; [
+    gopls # Go
+    nil # Nix
+    jsonnet-language-server # Jsonnet
+    marksman # Markdown
+    nodePackages.yaml-language-server # YAML
+    vscode-langservers-extracted # HTML/CSS/JSON
+  ];
+}
M apps/nogui/senpai.nixapps/nogui/senpai.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
diff --git a/apps/nogui/senpai.nix b/apps/nogui/senpai.nix
index 2cdf4540d756434c1473bafd66fc04a9e7d0f320..a5f52c809911ad472dc453d38ba2e01fbf4f9cc8 100644
--- a/apps/nogui/senpai.nix
+++ b/apps/nogui/senpai.nix
@@ -9,7 +9,6 @@       password-cmd = [
         "cat"
         "${config.age.secrets.irc-pw.path}"
       ];
-      #channel = "#pico.sh #gitea";
       typings = false;
     };
   };
M machines/dragonwell/restic.nixmachines/dragonwell/restic.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
diff --git a/machines/dragonwell/restic.nix b/machines/dragonwell/restic.nix
index 81b7ee09c9870ae871cdda0f9641060e879741f7..26e025424f33c896120eb701c18c940acdff9c7c 100644
--- a/machines/dragonwell/restic.nix
+++ b/machines/dragonwell/restic.nix
@@ -10,7 +10,12 @@     initialize = true;
     environmentFile = config.age.secrets.restic-env.path;
     passwordFile = config.age.secrets.restic-pass.path;
     repositoryFile = config.age.secrets.restic-repo.path;
-    paths = [ "/var/lib/ugit/repos" ];
+    paths = [
+      "/var/lib/ugit/repos"
+      "/var/lib/miniserve"
+      "/var/lib/foundryvtt/Data"
+      "/var/lib/foundryvtt/Config"
+    ];
     pruneOpts = [
       "--keep-daily 7"
       "--keep-weekly 2"