Compare commits

...
Sign in to create a new pull request.

22 commits
lemp11 ... main

Author SHA1 Message Date
be8fb9811b Don't start tmux after cloning
Some checks are pending
/ check (push) Waiting to run
2025-11-12 13:51:08 +00:00
f82502cd9c Re-organise Tome paths, add TODO
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-11-10 23:35:01 +00:00
c1ccef5e32 Re-add vim-fugitive 2025-11-10 19:55:17 +00:00
b42daccb99 Enable TreeSitter indentation
Some checks failed
/ check (push) Has been cancelled
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-11-10 14:57:20 +00:00
0c40dc6cff Remove ollama and Open WebUI files
Some checks are pending
/ check (push) Waiting to run
2025-11-10 00:14:09 +00:00
ba65884ae2 flake.lock: Update
Some checks are pending
/ check (push) Waiting to run
Flake lock file updates:

• Updated input 'z':
    'git+https://git.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=93936fadc7a462161d5930257b71bbc318538598' (2025-11-09)
  → 'git+https://git.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=184accfd1fadb9580f2af8873ce0f2a70eeb8b49' (2025-11-09)
2025-11-09 23:40:43 +00:00
d03ce5ecf7 flake.lock: Update
Flake lock file updates:

• Updated input 'agenix':
    'github:ryantm/agenix/9ba0d85de3eaa7afeab493fed622008b6e4924f5?narHash=sha256-lsNWuj4Z%2BpE7s0bd2OKicOFq9bK86JE0ZGeKJbNqb94%3D' (2025-10-28)
  → 'github:ryantm/agenix/fcdea223397448d35d9b31f798479227e80183f6?narHash=sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L%2BVSybPfiIgzU8lbQ%3D' (2025-11-08)
• Updated input 'home-manager':
    'github:nix-community/home-manager/0562fef070a1027325dd4ea10813d64d2c967b39?narHash=sha256-33YUsWpPyeBZEWrKQ2a1gkRZ7i0XCC/2MYpU6BVeQSU%3D' (2025-11-06)
  → 'github:nix-community/home-manager/b8645b18b0f5374127bbade6de7381ef0b3d5720?narHash=sha256-E428EuouA4nFTNlLuqlL4lVR78X%2BEbBIqDqsBFnB79w%3D' (2025-11-09)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/359ff6333a7b0b60819d4c20ed05a3a1f726771f?narHash=sha256-Pu1v3mlFhRzZiSxVHb2/i/f5yeYyRNqr0RvEUJ4UgHo%3D' (2025-11-02)
  → 'github:nix-community/nix-index-database/15c5451c63f4c612874a43846bfe3fa828b03eee?narHash=sha256-C9F1C31ys0V7mnp4EcDy7L1cLZw/sCTEXqqTtGnvu08%3D' (2025-11-09)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ae814fd3904b621d8ab97418f1d0f2eb0d3716f4?narHash=sha256-YRqMDEtSMbitIMj%2BJLpheSz0pwEr0Rmy5mC7myl17xs%3D' (2025-11-05)
  → 'github:nixos/nixpkgs/b6a8526db03f735b89dd5ff348f53f752e7ddc8e?narHash=sha256-rXXuz51Bq7DHBlfIjN7jO8Bu3du5TV%2B3DSADBX7/9YQ%3D' (2025-11-08)
• Updated input 'nixvim':
    'github:nix-community/nixvim/d4b798a469248aa2b0bba4508bd8f97837566885?narHash=sha256-TUYm7Ihtl8472GPTbj/cQWUJeDNQ4a9kuz93wkEIE8M%3D' (2025-11-08)
  → 'github:nix-community/nixvim/faf1fb4b7cd069ce44469e45c3259b7bcf106f81?narHash=sha256-dyYnqvYrgViB22inBqNern/XSWtOiweP8NTfJQJeTis%3D' (2025-11-09)
• Updated input 'nur':
    'github:nix-community/NUR/84a04dd267f040a3be5a9a6cc8f1518cdb55b7c4?narHash=sha256-1%2Bs2HhAdoM72R91O3dxoLAvVeld2kINeI4EakAkIKD8%3D' (2025-11-08)
  → 'github:nix-community/NUR/efc27c839b15d0ff15d58fb09035a93dea7f85f5?narHash=sha256-B24ywaTUd9BYkK3qHfl0MubCLnO4Bk8cRSQmIvfofco%3D' (2025-11-09)
• Updated input 'z':
    'git+https://git.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=2e92d07eb740acce9ebadacd0507bda33521e04b' (2025-11-08)
  → 'git+https://git.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=93936fadc7a462161d5930257b71bbc318538598' (2025-11-09)
2025-11-09 23:32:17 +00:00
127b8a84ea Revert "Disable kanata for now"
This reverts commit 1c01838f8f.
2025-11-09 00:54:56 +00:00
e999f40b6b Revert "This reverts commit c22495a834."
This reverts commit a59daa9ae2.
2025-11-09 00:54:11 +00:00
a59daa9ae2 This reverts commit c22495a834. 2025-11-09 00:53:33 +00:00
c22495a834 Add abbreviations
Some checks are pending
/ check (push) Waiting to run
2025-11-09 00:48:02 +00:00
1c01838f8f Disable kanata for now
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-11-09 00:47:28 +00:00
d5cfcf2059 Always run --clear with watchexec
Some checks are pending
/ check (push) Waiting to run
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-11-08 18:54:09 +00:00
aae4bdcda9 Change code subdomain to git
Some checks are pending
/ check (push) Waiting to run
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-11-08 13:07:10 +00:00
1c1862e582 flake.lock: Update
All checks were successful
/ check (push) Successful in 43s
Flake lock file updates:

• Updated input 'nixvim':
    'github:nix-community/nixvim/3031d4ab616323f6d41704dfb46f2b801f29973d?narHash=sha256-VH4%2BfAB85irWuzxfWPfEEwDOE%2BeQsB/pljNApM0onuU%3D' (2025-11-07)
  → 'github:nix-community/nixvim/d4b798a469248aa2b0bba4508bd8f97837566885?narHash=sha256-TUYm7Ihtl8472GPTbj/cQWUJeDNQ4a9kuz93wkEIE8M%3D' (2025-11-08)
• Updated input 'nur':
    'github:nix-community/NUR/68b01383f627a75b23633abcc72f71dde622f50f?narHash=sha256-85gEriuyJY4fOVKS54rxxbrD%2BPtf1gA303mXZpV9hcM%3D' (2025-11-07)
  → 'github:nix-community/NUR/84a04dd267f040a3be5a9a6cc8f1518cdb55b7c4?narHash=sha256-1%2Bs2HhAdoM72R91O3dxoLAvVeld2kINeI4EakAkIKD8%3D' (2025-11-08)
• Updated input 'z':
    'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=50661b0ef8f2f3fd79c30729edf7009dd8220840' (2025-11-08)
  → 'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=2e92d07eb740acce9ebadacd0507bda33521e04b' (2025-11-08)
2025-11-08 12:45:31 +00:00
ba4f355193 flake.lock: Update
Flake lock file updates:

• Updated input 'z':
    'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=e43690474566c91257bf7106ec1fedb77bf73475' (2025-11-07)
  → 'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=50661b0ef8f2f3fd79c30729edf7009dd8220840' (2025-11-08)
2025-11-08 03:20:20 +00:00
361f47a2ba flake.lock: Update
All checks were successful
/ check (push) Successful in 41s
Flake lock file updates:

• Updated input 'nur':
    'github:nix-community/NUR/ea81f1a7fb100927f3608a1f33b21c64bfa0cdfc?narHash=sha256-65HoNBEFjLDyD%2B%2BNEUYIWvN6FVjeTiJnX/NFGwUCuH4%3D' (2025-11-07)
  → 'github:nix-community/NUR/68b01383f627a75b23633abcc72f71dde622f50f?narHash=sha256-85gEriuyJY4fOVKS54rxxbrD%2BPtf1gA303mXZpV9hcM%3D' (2025-11-07)
• Updated input 'z':
    'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=3e69cec58d545d9a277f7a9119de08cd92c9a525' (2025-11-07)
  → 'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=e43690474566c91257bf7106ec1fedb77bf73475' (2025-11-07)
2025-11-07 23:14:56 +00:00
6a2e5413ee Remove sudo-rs
All checks were successful
/ check (push) Successful in 42s
2025-11-07 23:14:32 +00:00
9c748220f4 flake.lock: Update
All checks were successful
/ check (push) Successful in 1m8s
Flake lock file updates:

• Updated input 'bop-scripts':
    'github:breadonpenguins/scripts/7c01cb65b5f5e06b1e80adb2d397fb972d9f9783?narHash=sha256-Gdv0vWULnVnX2JVFU7Cu/g0%2Bc%2BDYMsRy4JjTAuRc8sA%3D' (2025-11-04)
  → 'github:breadonpenguins/scripts/c1c94c3f4b89076dc8f788fae12f639dda663ddb?narHash=sha256-kvhro91rmPgSX8LYLTsesLJlOlKp1YJsIg9e%2BCb9u6o%3D' (2025-11-06)
• Updated input 'home-manager':
    'github:nix-community/home-manager/2907788315a73d3292140b4d59b5d95796565625?narHash=sha256-BFhoqL231hyTZ7piR%2B8FgDJby48oWRN8%2Bg3b1uvvtX8%3D' (2025-11-06)
  → 'github:nix-community/home-manager/0562fef070a1027325dd4ea10813d64d2c967b39?narHash=sha256-33YUsWpPyeBZEWrKQ2a1gkRZ7i0XCC/2MYpU6BVeQSU%3D' (2025-11-06)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/24084931d8098fce300fabea9e48fa96292228d7?narHash=sha256-sQJuoiqsaIvKiIOmF/3FDV5dM2TGL2jBv1PeQSt83YE%3D' (2025-11-06)
  → 'github:NixOS/nixos-hardware/52113c4f5cfd1e823001310e56d9c8d0699a6226?narHash=sha256-hv1mG5j5PTbnWbtHHomzTus77pIxsc4x8VrMjc7%2B/YE%3D' (2025-11-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/b3d51a0365f6695e7dd5cdf3e180604530ed33b4?narHash=sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw%3D' (2025-11-02)
  → 'github:nixos/nixpkgs/ae814fd3904b621d8ab97418f1d0f2eb0d3716f4?narHash=sha256-YRqMDEtSMbitIMj%2BJLpheSz0pwEr0Rmy5mC7myl17xs%3D' (2025-11-05)
• Updated input 'nixvim':
    'github:nix-community/nixvim/d01e1c17e2690c10d3aa6abea28838befa1fd449?narHash=sha256-qEI9AkUwOHtM5A2yDBy0K%2BUHGLfYir81dFiTN0DXBeU%3D' (2025-11-06)
  → 'github:nix-community/nixvim/3031d4ab616323f6d41704dfb46f2b801f29973d?narHash=sha256-VH4%2BfAB85irWuzxfWPfEEwDOE%2BeQsB/pljNApM0onuU%3D' (2025-11-07)
• Updated input 'nur':
    'github:nix-community/NUR/8207b2a2d9f644dfb4fd9e87a1dd49e9d79dd0af?narHash=sha256-Pl7z0IhHpo48P75ViLfz638P68fbQ6EUwCmB4wIegF0%3D' (2025-11-06)
  → 'github:nix-community/NUR/ea81f1a7fb100927f3608a1f33b21c64bfa0cdfc?narHash=sha256-65HoNBEFjLDyD%2B%2BNEUYIWvN6FVjeTiJnX/NFGwUCuH4%3D' (2025-11-07)
• Updated input 'z':
    'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=798bfdd5ca7f7107217aa101b9cb6a205f551e12' (2025-11-06)
  → 'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=3e69cec58d545d9a277f7a9119de08cd92c9a525' (2025-11-07)
2025-11-07 21:34:16 +00:00
9afe0e9271 Enable qmk.nvim plugin
All checks were successful
/ check (push) Successful in 39s
Add the qmk.nvim plugin to automatically format and update ZMK and QMK
keyboard layouts in their configuration files.

GitHub repo: https://github.com/codethread/qmk.nvim
YouTube video by linkarzu: https://www.youtube.com/watch?v=menWdCt3Go0

Commit after formatting:
https://code.oliverdavies.uk/opdavies/glove80-zmk-config/commit/fb674

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-11-06 22:14:26 +00:00
d28cc18342 Re-add oil.nvim
All checks were successful
/ check (push) Successful in 40s
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-11-06 21:56:15 +00:00
3aad074833 flake.lock: Update
All checks were successful
/ check (push) Successful in 44s
Flake lock file updates:

• Updated input 'bop-scripts':
    'github:breadonpenguins/scripts/1396a09a206dbd6f9a08ffa7a5603e6d55ae5f00?narHash=sha256-SpQ4TMOsYCr9EoCdUZ1GeX5cOoPHfxEYyRakYznc91w%3D' (2025-10-12)
  → 'github:breadonpenguins/scripts/7c01cb65b5f5e06b1e80adb2d397fb972d9f9783?narHash=sha256-Gdv0vWULnVnX2JVFU7Cu/g0%2Bc%2BDYMsRy4JjTAuRc8sA%3D' (2025-11-04)
• Updated input 'disko':
    'github:nix-community/disko/6f4cf5abbe318e4cd1e879506f6eeafd83f7b998?narHash=sha256-XOpKBp6HLzzMCbzW50TEuXN35zN5WGQREC7n34DcNMM%3D' (2025-10-31)
  → 'github:nix-community/disko/af087d076d3860760b3323f6b583f4d828c1ac17?narHash=sha256-TtcPgPmp2f0FAnc%2BDMEw4ardEgv1SGNR3/WFGH0N19M%3D' (2025-11-04)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/864599284fc7c0ba6357ed89ed5e2cd5040f0c04?narHash=sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4%3D' (2025-10-20)
  → 'github:hercules-ci/flake-parts/26d05891e14c88eb4a5d5bee659c0db5afb609d8?narHash=sha256-xxdepIcb39UJ94%2BYydGP221rjnpkDZUlykKuF54PsqI%3D' (2025-11-06)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:nix-community/nixpkgs.lib/a73b9c743612e4244d865a2fdee11865283c04e6?narHash=sha256-x2rJ%2BOvzq0sCMpgfgGaaqgBSwY%2BLST%2BWbZ6TytnT9Rk%3D' (2025-08-10)
  → 'github:nix-community/nixpkgs.lib/719359f4562934ae99f5443f20aa06c2ffff91fc?narHash=sha256-b0yj6kfvO8ApcSE%2BQmA6mUfu8IYG6/uU28OFn4PaC8M%3D' (2025-10-29)
• Updated input 'home-manager':
    'github:nix-community/home-manager/4ac96eb21c101a3e5b77ba105febc5641a8959aa?narHash=sha256-lCRaipHgszaFZ1Cs8fdGJguVycCisBAf2HEFgip5%2BxU%3D' (2025-10-31)
  → 'github:nix-community/home-manager/2907788315a73d3292140b4d59b5d95796565625?narHash=sha256-BFhoqL231hyTZ7piR%2B8FgDJby48oWRN8%2Bg3b1uvvtX8%3D' (2025-11-06)
• Updated input 'import-tree':
    'github:vic/import-tree/a037ed2a58fc0ebed9e93b9ef79b0646e648f719?narHash=sha256-TEbh9zISiQcU82VwVoEbmXHnSGlUxTwvjJA9g9ErSDA%3D' (2025-10-22)
  → 'github:vic/import-tree/90fa129798be99cde036b78658e89475710966a1?narHash=sha256-AJ96FNj50DU0bTyIzAPkPOjCZTHqjURVjok8qoXvmqM%3D' (2025-11-05)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/ed6b293161b378a7368cda38659eb8d3d9a0dac4?narHash=sha256-qBJL6xEIjqYq9zOcG2vf2nPTeVBppNJzvO0LuQWMwMo%3D' (2025-10-26)
  → 'github:nix-community/nix-index-database/359ff6333a7b0b60819d4c20ed05a3a1f726771f?narHash=sha256-Pu1v3mlFhRzZiSxVHb2/i/f5yeYyRNqr0RvEUJ4UgHo%3D' (2025-11-02)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/7467f155fcba189eb088a7601f44fbef7688669b?narHash=sha256-rNHeoG3ZrA94jczyLSjxCtu67YYPYIlXXr0uhG3wNxM%3D' (2025-10-31)
  → 'github:NixOS/nixos-hardware/24084931d8098fce300fabea9e48fa96292228d7?narHash=sha256-sQJuoiqsaIvKiIOmF/3FDV5dM2TGL2jBv1PeQSt83YE%3D' (2025-11-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15?narHash=sha256-kJ8lIZsiPOmbkJypG%2BB5sReDXSD1KGu2VEPNqhRa/ew%3D' (2025-10-31)
  → 'github:nixos/nixpkgs/b3d51a0365f6695e7dd5cdf3e180604530ed33b4?narHash=sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw%3D' (2025-11-02)
• Updated input 'nixvim':
    'github:nix-community/nixvim/fedd0e287081c0e20a45fdf3bc0e1ecc6e9a0225?narHash=sha256-yutWdFO7EkJGdQOquwHvyWZ%2B3KpPowzy%2Bv1xb8IA/K4%3D' (2025-10-31)
  → 'github:nix-community/nixvim/d01e1c17e2690c10d3aa6abea28838befa1fd449?narHash=sha256-qEI9AkUwOHtM5A2yDBy0K%2BUHGLfYir81dFiTN0DXBeU%3D' (2025-11-06)
• Updated input 'nur':
    'github:nix-community/NUR/64d040646b791571b0e3658bb934c7ce78c482bb?narHash=sha256-bdC2Y1/wTa6VbOUyCDsHbL0UAi8M/nZUEEf6Omyko88%3D' (2025-11-01)
  → 'github:nix-community/NUR/8207b2a2d9f644dfb4fd9e87a1dd49e9d79dd0af?narHash=sha256-Pl7z0IhHpo48P75ViLfz638P68fbQ6EUwCmB4wIegF0%3D' (2025-11-06)
• Updated input 'z':
    'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=c2ee61e54afabacd1571ad23fcdffaef195a8df7' (2025-11-03)
  → 'git+https://code.oliverdavies.uk/opdavies/z?ref=refs/heads/main&rev=798bfdd5ca7f7107217aa101b9cb6a205f551e12' (2025-11-06)
2025-11-06 18:20:20 +00:00
19 changed files with 133 additions and 71 deletions

88
flake.lock generated
View file

@ -10,11 +10,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1761656077, "lastModified": 1762618334,
"narHash": "sha256-lsNWuj4Z+pE7s0bd2OKicOFq9bK86JE0ZGeKJbNqb94=", "narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=",
"owner": "ryantm", "owner": "ryantm",
"repo": "agenix", "repo": "agenix",
"rev": "9ba0d85de3eaa7afeab493fed622008b6e4924f5", "rev": "fcdea223397448d35d9b31f798479227e80183f6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -26,11 +26,11 @@
"bop-scripts": { "bop-scripts": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1760234399, "lastModified": 1762468291,
"narHash": "sha256-SpQ4TMOsYCr9EoCdUZ1GeX5cOoPHfxEYyRakYznc91w=", "narHash": "sha256-kvhro91rmPgSX8LYLTsesLJlOlKp1YJsIg9e+Cb9u6o=",
"owner": "breadonpenguins", "owner": "breadonpenguins",
"repo": "scripts", "repo": "scripts",
"rev": "1396a09a206dbd6f9a08ffa7a5603e6d55ae5f00", "rev": "c1c94c3f4b89076dc8f788fae12f639dda663ddb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -107,11 +107,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1761899396, "lastModified": 1762276996,
"narHash": "sha256-XOpKBp6HLzzMCbzW50TEuXN35zN5WGQREC7n34DcNMM=", "narHash": "sha256-TtcPgPmp2f0FAnc+DMEw4ardEgv1SGNR3/WFGH0N19M=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "6f4cf5abbe318e4cd1e879506f6eeafd83f7b998", "rev": "af087d076d3860760b3323f6b583f4d828c1ac17",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -125,11 +125,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1760948891, "lastModified": 1762440070,
"narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", "narHash": "sha256-xxdepIcb39UJ94+YydGP221rjnpkDZUlykKuF54PsqI=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", "rev": "26d05891e14c88eb4a5d5bee659c0db5afb609d8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -197,11 +197,11 @@
"rev": "19591ad8e1f3c261e84b487307c8534dd67a3707", "rev": "19591ad8e1f3c261e84b487307c8534dd67a3707",
"revCount": 37, "revCount": 37,
"type": "git", "type": "git",
"url": "https://code.oliverdavies.uk/opdavies/git-repo-updater" "url": "https://git.oliverdavies.uk/opdavies/git-repo-updater"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://code.oliverdavies.uk/opdavies/git-repo-updater" "url": "https://git.oliverdavies.uk/opdavies/git-repo-updater"
} }
}, },
"home-manager": { "home-manager": {
@ -232,11 +232,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1761878381, "lastModified": 1762721397,
"narHash": "sha256-lCRaipHgszaFZ1Cs8fdGJguVycCisBAf2HEFgip5+xU=", "narHash": "sha256-E428EuouA4nFTNlLuqlL4lVR78X+EbBIqDqsBFnB79w=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "4ac96eb21c101a3e5b77ba105febc5641a8959aa", "rev": "b8645b18b0f5374127bbade6de7381ef0b3d5720",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -248,11 +248,11 @@
}, },
"import-tree": { "import-tree": {
"locked": { "locked": {
"lastModified": 1761120675, "lastModified": 1762327901,
"narHash": "sha256-TEbh9zISiQcU82VwVoEbmXHnSGlUxTwvjJA9g9ErSDA=", "narHash": "sha256-AJ96FNj50DU0bTyIzAPkPOjCZTHqjURVjok8qoXvmqM=",
"owner": "vic", "owner": "vic",
"repo": "import-tree", "repo": "import-tree",
"rev": "a037ed2a58fc0ebed9e93b9ef79b0646e648f719", "rev": "90fa129798be99cde036b78658e89475710966a1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -296,11 +296,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1761451000, "lastModified": 1762660502,
"narHash": "sha256-qBJL6xEIjqYq9zOcG2vf2nPTeVBppNJzvO0LuQWMwMo=", "narHash": "sha256-C9F1C31ys0V7mnp4EcDy7L1cLZw/sCTEXqqTtGnvu08=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "ed6b293161b378a7368cda38659eb8d3d9a0dac4", "rev": "15c5451c63f4c612874a43846bfe3fa828b03eee",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -311,11 +311,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1761933221, "lastModified": 1762463231,
"narHash": "sha256-rNHeoG3ZrA94jczyLSjxCtu67YYPYIlXXr0uhG3wNxM=", "narHash": "sha256-hv1mG5j5PTbnWbtHHomzTus77pIxsc4x8VrMjc7+/YE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "7467f155fcba189eb088a7601f44fbef7688669b", "rev": "52113c4f5cfd1e823001310e56d9c8d0699a6226",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -327,11 +327,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1761907660, "lastModified": 1762596750,
"narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=", "narHash": "sha256-rXXuz51Bq7DHBlfIjN7jO8Bu3du5TV+3DSADBX7/9YQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15", "rev": "b6a8526db03f735b89dd5ff348f53f752e7ddc8e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -343,11 +343,11 @@
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1754788789, "lastModified": 1761765539,
"narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=", "narHash": "sha256-b0yj6kfvO8ApcSE+QmA6mUfu8IYG6/uU28OFn4PaC8M=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs.lib", "repo": "nixpkgs.lib",
"rev": "a73b9c743612e4244d865a2fdee11865283c04e6", "rev": "719359f4562934ae99f5443f20aa06c2ffff91fc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -400,11 +400,11 @@
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1761947009, "lastModified": 1762691346,
"narHash": "sha256-yutWdFO7EkJGdQOquwHvyWZ+3KpPowzy+v1xb8IA/K4=", "narHash": "sha256-dyYnqvYrgViB22inBqNern/XSWtOiweP8NTfJQJeTis=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "fedd0e287081c0e20a45fdf3bc0e1ecc6e9a0225", "rev": "faf1fb4b7cd069ce44469e45c3259b7bcf106f81",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -421,11 +421,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1762024599, "lastModified": 1762724684,
"narHash": "sha256-bdC2Y1/wTa6VbOUyCDsHbL0UAi8M/nZUEEf6Omyko88=", "narHash": "sha256-B24ywaTUd9BYkK3qHfl0MubCLnO4Bk8cRSQmIvfofco=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "64d040646b791571b0e3658bb934c7ce78c482bb", "rev": "efc27c839b15d0ff15d58fb09035a93dea7f85f5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -582,17 +582,17 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1762197997, "lastModified": 1762731584,
"narHash": "sha256-gbCTy6PqSLmCFDeLy9l5Vebzy2stbHY5V555p+jnpTQ=", "narHash": "sha256-qSN44lGSceoqkUeksXbEAcGPeTf9yJBGQMWafh8cZuw=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "c2ee61e54afabacd1571ad23fcdffaef195a8df7", "rev": "184accfd1fadb9580f2af8873ce0f2a70eeb8b49",
"revCount": 141, "revCount": 165,
"type": "git", "type": "git",
"url": "https://code.oliverdavies.uk/opdavies/z" "url": "https://git.oliverdavies.uk/opdavies/z"
}, },
"original": { "original": {
"type": "git", "type": "git",
"url": "https://code.oliverdavies.uk/opdavies/z" "url": "https://git.oliverdavies.uk/opdavies/z"
} }
} }
}, },

View file

@ -21,7 +21,7 @@
inputs.flake-parts.follows = "flake-parts"; inputs.flake-parts.follows = "flake-parts";
inputs.import-tree.follows = "import-tree"; inputs.import-tree.follows = "import-tree";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
url = "git+https://code.oliverdavies.uk/opdavies/git-repo-updater"; url = "git+https://git.oliverdavies.uk/opdavies/git-repo-updater";
}; };
home-manager = { home-manager = {
@ -71,7 +71,7 @@
z = { z = {
inputs.flake-parts.follows = "flake-parts"; inputs.flake-parts.follows = "flake-parts";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
url = "git+https://code.oliverdavies.uk/opdavies/z"; url = "git+https://git.oliverdavies.uk/opdavies/z";
}; };
}; };

View file

@ -48,6 +48,4 @@
tree tree
vim vim
]; ];
security.sudo-rs.enable = lib.mkForce false;
} }

View file

@ -27,6 +27,7 @@
"eric" "eric"
"florida-drupalcamp-tailwind-css" "florida-drupalcamp-tailwind-css"
"freshrss" "freshrss"
"git"
"home" "home"
"jellyfin" "jellyfin"
"luke" "luke"

View file

@ -7,7 +7,7 @@
settings = { settings = {
server = { server = {
DOMAIN = "code.oliverdavies.uk"; DOMAIN = "git.oliverdavies.uk";
LANDING_PAGE = "explore"; LANDING_PAGE = "explore";
ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}"; ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}";
SSH_DOMAIN = "ssh.oliverdavies.uk"; SSH_DOMAIN = "ssh.oliverdavies.uk";

View file

@ -12,18 +12,20 @@ let
root = "/var/www/vhosts/website-tome"; root = "/var/www/vhosts/website-tome";
paths = [ paths = [
"core"
"sites/default/files"
"themes/custom/opdavies"
# TODO: move back to Sculpin.
"archive" "archive"
"automated-testing" "automated-testing"
"core"
"daily/.+" "daily/.+"
"examples" "examples"
"homelab" "homelab"
"podcast" "podcast"
"rss/bb.xml" "rss/bb.xml"
"rss/daily.xml" "rss/daily.xml"
"sites/default/files"
"testing" "testing"
"themes/custom/opdavies"
]; ];
port = ports.nginx.website-tome; port = ports.nginx.website-tome;

View file

@ -5,7 +5,7 @@
enable = true; enable = true;
systemCronJobs = [ systemCronJobs = [
"*/15 * * * * opdavies ${pkgs.imapfilter}/bin/imapfilter -c ~/Repos/code.oliverdavies.uk/opdavies/email-filters/config.lua" "*/15 * * * * opdavies ${pkgs.imapfilter}/bin/imapfilter -c ~/Repos/git.oliverdavies.uk/opdavies/email-filters/config.lua"
"0 8,20 * * * opdavies ${pkgs.isync}/bin/mbsync -a" "0 8,20 * * * opdavies ${pkgs.isync}/bin/mbsync -a"
]; ];
}; };

View file

@ -1,3 +0,0 @@
{
flake.modules.nixos.desktop.services.ollama.enable = false;
}

View file

@ -1,5 +0,0 @@
{
nixpkgs.allowedUnfreePackages = [ "open-webui" ];
flake.modules.nixos.desktop.services.open-webui.enable = false;
}

View file

@ -0,0 +1,18 @@
{
flake.modules.nixvim.custom = {
plugins.fugitive.enable = true;
keymaps = [
{
key = "<leader>gc";
action = "<cmd>Git commit<CR><C-w>K";
}
{
# Open the ":Git" window in its own buffer, not a split.
key = "<leader>gs";
action = "<cmd>0Git<CR>";
}
];
};
}

24
modules/nixvim/oil.nix Normal file
View file

@ -0,0 +1,24 @@
{
flake.modules.nixvim.custom = {
plugins.oil = {
enable = true;
settings = {
delete_to_trash = true;
keymaps."-" = "actions.parent";
skip_confirm_for_simple_edits = true;
view_options.show_hidden = true;
};
};
keymaps = [
{
action = "<cmd>Oil<CR>";
key = "-";
}
];
};
}

18
modules/nixvim/qmk.nix Normal file
View file

@ -0,0 +1,18 @@
{
flake.modules.nixvim.custom.plugins.qmk = {
enable = true;
settings = {
layout = [
"x x x x x _ _ _ _ _ _ _ _ _ x x x x x"
"x x x x x x _ _ _ _ _ _ _ x x x x x x"
"x x x x x x _ _ _ _ _ _ _ x x x x x x"
"x x x x x x _ _ _ _ _ _ _ x x x x x x"
"x x x x x x x x x _ x x x x x x x x x"
"x x x x x _ x x x _ x x x _ x x x x x"
];
name = "LAYOUT_glove80";
variant = "zmk";
};
};
}

View file

@ -11,6 +11,7 @@
comment comment
css css
csv csv
devicetree
dockerfile dockerfile
gitattributes gitattributes
gitignore gitignore
@ -41,7 +42,10 @@
yaml yaml
]; ];
settings.highlight.enable = true; settings = {
highlight.enable = true;
indent.enable = true;
};
}; };
treesitter-textobjects.enable = true; treesitter-textobjects.enable = true;

View file

@ -2,14 +2,13 @@
{ {
perSystem = perSystem =
psArgs@{ pkgs, ... }: { pkgs, ... }:
{ {
packages.clone = pkgs.writeShellApplication { packages.clone = pkgs.writeShellApplication {
name = "clone"; name = "clone";
runtimeInputs = with pkgs; [ runtimeInputs = with pkgs; [
git git
psArgs.config.packages.start-tmux
]; ];
text = '' text = ''
@ -20,7 +19,7 @@
domain="''${BASH_REMATCH[2]}" domain="''${BASH_REMATCH[2]}"
if [[ "$domain" == "ssh.oliverdavies.uk" ]]; then if [[ "$domain" == "ssh.oliverdavies.uk" ]]; then
domain="code.oliverdavies.uk" domain="git.oliverdavies.uk"
fi fi
user="''${BASH_REMATCH[3]}" user="''${BASH_REMATCH[3]}"
@ -34,8 +33,6 @@
mkdir -pv "$repo_path" mkdir -pv "$repo_path"
git clone "$repo_url" "$repo_path" git clone "$repo_url" "$repo_path"
start-tmux "$repo_path"
else else
exit 1 exit 1
fi fi

View file

@ -15,7 +15,7 @@ in
text = '' text = ''
repo_url=$(git remote get-url origin | sed -E 's#(git|forgejo)@([A-Za-z0-9.-]+):#https://\2/#;s#.git$##') repo_url=$(git remote get-url origin | sed -E 's#(git|forgejo)@([A-Za-z0-9.-]+):#https://\2/#;s#.git$##')
repo_url="''${repo_url//ssh.oliverdavies.uk/code.oliverdavies.uk}" repo_url="''${repo_url//ssh.oliverdavies.uk/git.oliverdavies.uk}"
xdg-open "$repo_url" xdg-open "$repo_url"
''; '';

View file

@ -2,8 +2,6 @@
{ {
flake.modules.nixos.pc = { flake.modules.nixos.pc = {
security.sudo-rs.enable = true;
users.users.${config.flake.meta.owner.username}.extraGroups = [ "wheel" ]; users.users.${config.flake.meta.owner.username}.extraGroups = [ "wheel" ];
}; };
} }

View file

@ -131,6 +131,7 @@
rduli = "run drush uli"; rduli = "run drush uli";
rdup = "run drush updatedb -y"; rdup = "run drush updatedb -y";
rpub = "run publish"; rpub = "run publish";
rs = "run switch";
rt = "run test"; rt = "run test";
nah = "git reset --hard; git clean -fd"; nah = "git reset --hard; git clean -fd";
@ -168,5 +169,8 @@
sgsp = "vendor/bin/sculpin generate --server --port"; sgsp = "vendor/bin/sculpin generate --server --port";
sgsw = "vendor/bin/sculpin generate --server --watch"; sgsw = "vendor/bin/sculpin generate --server --watch";
sgswp = "vendor/bin/sculpin generate --server --watch --port"; sgswp = "vendor/bin/sculpin generate --server --watch --port";
mnf = "man fzf";
mnt = "man tmux";
}; };
} }

View file

@ -1,3 +1,5 @@
{ lib, ... }:
{ {
flake.modules.homeManager.base = flake.modules.homeManager.base =
{ config, pkgs, ... }: { config, pkgs, ... }:
@ -47,6 +49,10 @@
command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}" command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}"
} }
watchexec() {
${lib.getExe pkgs.watchexec} --clear "$@"
}
weather() { weather() {
curl "https://wttr.in/''$1" curl "https://wttr.in/''$1"
} }

View file

@ -1,6 +1,6 @@
Running Neovim as a package: Running Neovim as a package:
nix run .#neovim nix run .#neovim
nix run git+https://code.oliverdavies.uk/opdavies/nix-config#neovim nix run git+https://git.oliverdavies.uk/opdavies/nix-config#neovim
nixos-rebuild --flake .#nixedo --target-host 192.168.1.116 --sudo test nixos-rebuild --flake .#nixedo --target-host 192.168.1.116 --sudo test