Compare commits

...

2259 commits

Author SHA1 Message Date
4b871d332e Refactor
Some checks are pending
/ check (push) Waiting to run
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-23 12:31:56 +01:00
34878a47c9 Update zet script
All checks were successful
/ check (push) Successful in 1m45s
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-22 22:31:01 +01:00
adeb41bd5b Fix XDG_REPOS_DIR variable
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-22 19:53:33 +01:00
c3dc7d71c8 Add lynx
Some checks are pending
/ check (push) Waiting to run
2025-09-22 19:33:43 +01:00
d204c9981a Re-add keymaps to change text to a list
Some checks are pending
/ check (push) Waiting to run
2025-09-22 19:23:55 +01:00
ef65f85a78 Use $XDG_REPOS_DIR
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-22 08:42:30 +01:00
e7278f9071 Update zet script
All checks were successful
/ check (push) Successful in 53s
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-22 08:11:29 +01:00
61c7306237 Re-add status line colours
All checks were successful
/ check (push) Successful in 1m1s
2025-09-21 23:59:42 +01:00
8159826f0a Open the file with the cursor on the third line
Some checks are pending
/ check (push) Waiting to run
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-21 22:31:38 +01:00
aeed0327a2 Move todo file
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-21 22:30:56 +01:00
471bd8ca54 Remove old scripts
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-21 22:29:47 +01:00
586ed07ff0 Update zet script
Some checks are pending
/ check (push) Waiting to run
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-21 21:57:03 +01:00
0495a96ef0 Add todo script
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-21 21:56:30 +01:00
9ed2ad3390 Allow passing arguments to now and hnow
Some checks are pending
/ check (push) Waiting to run
2025-09-21 20:35:47 +01:00
9dae5ede60 Fix zet script
Some checks are pending
/ check (push) Waiting to run
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-21 17:07:40 +01:00
ef33a15eeb Update zet script 2025-09-21 01:12:54 +01:00
428453604f Update zet script
All checks were successful
/ check (push) Successful in 52s
2025-09-20 22:19:02 +01:00
31387f282f Update tmux status position and colours 2025-09-20 21:36:48 +01:00
f8d3f69001 Hide the command-line 2025-09-20 18:40:32 +01:00
0141ca45f0 Add weight and add-weight scripts
All checks were successful
/ check (push) Successful in 57s
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-17 21:59:51 +01:00
6b1b1dddb9 Update zet script
All checks were successful
/ check (push) Successful in 54s
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-17 21:58:42 +01:00
f5355e7ec6 Set ZSH default keymap to vi
All checks were successful
/ check (push) Successful in 56s
2025-09-17 20:48:31 +01:00
ebec70a7dc Return early if the location is unknown
All checks were successful
/ check (push) Successful in 59s
2025-09-13 21:55:31 +01:00
7d72d6095f Revert "flake.lock: Update"
All checks were successful
/ check (push) Successful in 52s
This reverts commit cb69792f24.
2025-09-12 10:09:05 +01:00
flake-bot
cb69792f24 flake.lock: Update
All checks were successful
/ check (push) Successful in 1m21s
Flake lock file updates:

• Updated input 'bop-scripts':
    'github:breadonpenguins/scripts/d04bcbe63176e623e1ce8edc4c3840c506a28d96?narHash=sha256-bfAmJ1IY0B6eNbJvoWkUMQ7Ya4ShrIoVSdQrnE/cn40%3D' (2025-09-03)
  → 'github:breadonpenguins/scripts/07a2d1434cdf64d985835371c62f87119291f0e0?narHash=sha256-KoT0ZKbc2BlBL6AXWjlchzd9S9pFOyMP23nAgd%2BWl2Q%3D' (2025-09-06)
• Updated input 'disko':
    'github:nix-community/disko/a5c4f2ab72e3d1ab43e3e65aa421c6f2bd2e12a1?narHash=sha256-dwWGlDhcO5SMIvMSTB4mjQ5Pvo2vtxvpIknhVnSz2I8%3D' (2025-09-01)
  → 'github:nix-community/disko/146f45bee02b8bd88812cfce6ffc0f933788875a?narHash=sha256-7lVWL5bC6xBIMWWDal41LlGAG%2B9u2zUorqo3QCUL4p4%3D' (2025-09-10)
• Updated input 'git-repo-updater':
    'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=63235768261976efe0d9c825e69c44fff8c80e5d' (2025-09-04)
  → 'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=19591ad8e1f3c261e84b487307c8534dd67a3707' (2025-09-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/b08f8737776f10920c330657bee8b95834b7a70f?narHash=sha256-4ve/3ah5H/SpL2m3qmZ9GU%2BVinQYp2MN1G7GamimTds%3D' (2025-09-04)
  → 'github:nix-community/home-manager/9eab59f3e71ea3a725e4817d8dcf0da0824ad19d?narHash=sha256-OrythrqccPKtuVt0mj26rr83Qo3Ljb4ZmwLdPGjzjMU%3D' (2025-09-12)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/3fe768e1f058961095b4a0d7a2ba15dc9736bdc6?narHash=sha256-/glV6VAq8Va3ghIbmhET3S1dzkbZqicsk5h%2BFtvwiPE%3D' (2025-08-31)
  → 'github:nix-community/nix-index-database/9b144dc3ef6e42b888c4190e02746aab13b0e97f?narHash=sha256-IwOwN70HvoBNB2ckaROxcaCvj5NudNc52taPsv5wtLk%3D' (2025-09-07)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/ba6fab29768007e9f2657014a6e134637100c57d?narHash=sha256-kUb5hehaikfUvoJDEc7ngiieX88TwWX/bBRX9Ar6Tac%3D' (2025-09-03)
  → 'github:NixOS/nixos-hardware/11b2a10c7be726321bb854403fdeec391e798bf0?narHash=sha256-PtT7ix43ss8PONJ1VJw3f6t2yAoGH%2Bq462Sn8lrmWmk%3D' (2025-09-05)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d0fc30899600b9b3466ddb260fd83deb486c32f1?narHash=sha256-rw/PHa1cqiePdBxhF66V7R%2BWAP8WekQ0mCDG4CFqT8Y%3D' (2025-09-02)
  → 'github:nixos/nixpkgs/ab0f3607a6c7486ea22229b92ed2d355f1482ee0?narHash=sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/%2BG0lKfv4kk/5Izdg%3D' (2025-09-10)
• Updated input 'nixvim':
    'github:nix-community/nixvim/63496f00c681b3e200bd17878a43ec68b7139a66?narHash=sha256-N4PjGA0rittpNZGscKPel%2Bmr/dMcKF73j0yr4rbG3T0%3D' (2025-09-04)
  → 'github:nix-community/nixvim/43c6f7293eba3fa5ff699e339e55270305e51cab?narHash=sha256-AAg3S94zMF4BtByF2k9/K/tbC0awNHCc50GxCjccUhw%3D' (2025-09-11)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/6f3efef888b92e6520f10eae15b86ff537e1d2ea?narHash=sha256-WiOO7GUOsJ4/DoMy2IC5InnqRDSo2U11la48vCCIjjY%3D' (2025-08-18)
  → 'github:NuschtOS/search/5feeaeefb571e6ca2700888b944f436f7c05149b?narHash=sha256-8QX7Ab5CcICp7zktL47VQVS%2BQeaU4YDNAjzty7l7TQE%3D' (2025-09-01)
• Updated input 'nur':
    'github:nix-community/NUR/985abf0197c75dd64c24691a7e5e0acf308d7f20?narHash=sha256-Rps0Ga0g/TdY49rR2ZRBsdBYybSzPccEsaI9IvwuE98%3D' (2025-09-05)
  → 'github:nix-community/NUR/3cd368e5c9dd1fa8208801239045050b19ed1ed4?narHash=sha256-wrQntrFtrbWfWuCCFWT4N669OFFhs1j81KoGq%2BPrhV0%3D' (2025-09-12)
• Updated input 'zet':
    'git+https://code.oliverdavies.uk/opdavies/zet?ref=refs/heads/main&rev=f46f956d5859a1216b814179113e7c29bcc30858' (2025-09-08)
  → 'git+https://code.oliverdavies.uk/opdavies/zet?ref=refs/heads/main&rev=5e2f716c8815c233657b3493463947af3bb24a0d' (2025-09-09)
2025-09-12 09:00:48 +01:00
c1845fe347 Add today and today2 scripts to print the
All checks were successful
/ check (push) Successful in 54s
...current date

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-12 08:50:28 +01:00
71b2652459 Add services.paperless.domain
All checks were successful
/ check (push) Successful in 56s
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-09-08 21:45:07 +01:00
flake-bot
c13a5d5029 flake.lock: Update
Some checks failed
/ check (push) Failing after 7s
Flake lock file updates:

• Updated input 'bop-scripts':
    'github:breadonpenguins/scripts/7c6be69294d2dce7c7f295f1f067c1d00eb57b66?narHash=sha256-UlLpsF/O/5WWB%2BfXjzJHeudxY%2B6pDlqq/HTqwiRf%2BYk%3D' (2025-06-11)
  → 'github:breadonpenguins/scripts/d04bcbe63176e623e1ce8edc4c3840c506a28d96?narHash=sha256-bfAmJ1IY0B6eNbJvoWkUMQ7Ya4ShrIoVSdQrnE/cn40%3D' (2025-09-03)
• Updated input 'git-repo-updater':
    'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=8175f54dddb4a9579a9bea99c7236eebb6d46fc0' (2025-08-05)
  → 'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=63235768261976efe0d9c825e69c44fff8c80e5d' (2025-09-04)
• Updated input 'home-manager':
    'github:nix-community/home-manager/f3d3b4592a73fb64b5423234c01985ea73976596?narHash=sha256-LOrOfPWpJU/ADWDyVwPv9XNuYPq5KJtmAmSzplpccmE%3D' (2025-09-02)
  → 'github:nix-community/home-manager/b08f8737776f10920c330657bee8b95834b7a70f?narHash=sha256-4ve/3ah5H/SpL2m3qmZ9GU%2BVinQYp2MN1G7GamimTds%3D' (2025-09-04)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/47eb4856cfd01eaeaa7bb5944a0f27db8fb9b94a?narHash=sha256-e4ZAu2sjOtGpvbdS5zo%2BVa5FUUkAnizl4wb0/JlIL2I%3D' (2025-09-01)
  → 'github:NixOS/nixos-hardware/ba6fab29768007e9f2657014a6e134637100c57d?narHash=sha256-kUb5hehaikfUvoJDEc7ngiieX88TwWX/bBRX9Ar6Tac%3D' (2025-09-03)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d7600c775f877cd87b4f5a831c28aa94137377aa?narHash=sha256-tlOn88coG5fzdyqz6R93SQL5Gpq%2Bm/DsWpekNFhqPQk%3D' (2025-08-30)
  → 'github:nixos/nixpkgs/d0fc30899600b9b3466ddb260fd83deb486c32f1?narHash=sha256-rw/PHa1cqiePdBxhF66V7R%2BWAP8WekQ0mCDG4CFqT8Y%3D' (2025-09-02)
• Updated input 'nixvim':
    'github:nix-community/nixvim/f5026663f68261a201cd0700ced14971945d8dd9?narHash=sha256-767guSN146cmLD1lvjYzU4Bh7Ry3fzXzj%2B6hXEtF7rY%3D' (2025-09-01)
  → 'github:nix-community/nixvim/63496f00c681b3e200bd17878a43ec68b7139a66?narHash=sha256-N4PjGA0rittpNZGscKPel%2Bmr/dMcKF73j0yr4rbG3T0%3D' (2025-09-04)
• Updated input 'nur':
    'github:nix-community/NUR/678bf16a5f1a7e2df5b75d4c62da44bc67921462?narHash=sha256-PSwg6aIlR2%2BACQ%2B1CV76kiXdl/E21fQG6/7xCoOcbCY%3D' (2025-09-02)
  → 'github:nix-community/NUR/985abf0197c75dd64c24691a7e5e0acf308d7f20?narHash=sha256-Rps0Ga0g/TdY49rR2ZRBsdBYybSzPccEsaI9IvwuE98%3D' (2025-09-05)
2025-09-08 21:36:06 +01:00
7253c69e34 Update zet script
All checks were successful
/ check (push) Successful in 54s
2025-09-08 16:17:23 +01:00
3283ed7a52 Update zet script
All checks were successful
/ check (push) Successful in 59s
2025-09-07 19:16:00 +01:00
38d389eb9b Move zet script to its own repository 2025-09-06 23:35:07 +01:00
f695a1f905 Add zet git to run Git commands within the zet
All checks were successful
/ check (push) Successful in 1m16s
...directory
2025-09-06 23:23:59 +01:00
34e129306e Commit changes after creating or editing files 2025-09-06 23:10:35 +01:00
f28d640795 Configure asciidoc files 2025-09-06 22:23:27 +01:00
017669069e Add gru abbreviation
All checks were successful
/ check (push) Successful in 3m0s
2025-09-05 13:46:39 +01:00
1a1dec2a89 Sort suggestions
All checks were successful
/ check (push) Successful in 2m59s
2025-09-05 13:02:28 +01:00
75ebf874f0 Add build and build-adoc scripts
All checks were successful
/ check (push) Successful in 1m51s
2025-09-04 21:16:52 +01:00
1936fadea5 Change month format 2025-09-04 16:58:29 +01:00
7077dae656 Refactor 2025-09-04 15:50:54 +01:00
7e0b650175 Add chmox alias 2025-09-04 15:50:33 +01:00
c79e19efe5 Add now and hnow scripts
All checks were successful
/ check (push) Successful in 1m1s
Based on ones in https://github.com/rwxrob/dot.
2025-09-03 21:02:06 +01:00
9d8cacf2e3 Sort links
All checks were successful
/ check (push) Successful in 52s
2025-09-03 17:50:56 +01:00
e815cdd434 Add open-repo-url script
All checks were successful
/ check (push) Successful in 50s
2025-09-03 11:07:40 +01:00
4b27415d2a Add ppp script
All checks were successful
/ check (push) Successful in 50s
2025-09-03 09:52:48 +01:00
a4e207ed74 Fix unbound variable
All checks were successful
/ check (push) Successful in 1m2s
2025-09-03 08:45:18 +01:00
fcfdc8a580 Refactor
All checks were successful
/ check (push) Successful in 50s
2025-09-03 08:30:15 +01:00
21d9ca8737 Rename t and replace tmux-sessionizer
All checks were successful
/ check (push) Successful in 53s
2025-09-03 08:10:13 +01:00
b44bbef3e2 Merge branch 'flake-lock-update-437'
All checks were successful
/ check (push) Successful in 54s
2025-09-03 01:28:25 +01:00
665525fb9e Add clone script
All checks were successful
/ check (push) Successful in 53s
2025-09-03 01:24:42 +01:00
a4b5039da2 Re-add t script 2025-09-03 01:24:42 +01:00
098d9cf8d9 Set SSH domain 2025-09-03 00:57:46 +01:00
ae0a1f82c9 Add zet script 2025-09-02 23:52:15 +01:00
ccac9e3fd5 Update README
All checks were successful
/ check (push) Successful in 52s
2025-09-02 08:47:28 +01:00
flake-bot
e3da2f4ab6 flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/bafad29f89e83b2d861b493aa23034ea16595560?narHash=sha256-iv8xVtmLMNLWFcDM/HcAPLRGONyTRpzL9NS09RnryRM%3D' (2025-08-25)
  → 'github:nix-community/disko/a5c4f2ab72e3d1ab43e3e65aa421c6f2bd2e12a1?narHash=sha256-dwWGlDhcO5SMIvMSTB4mjQ5Pvo2vtxvpIknhVnSz2I8%3D' (2025-09-01)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/af66ad14b28a127c5c0f3bbb298218fc63528a18?narHash=sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8%3D' (2025-08-06)
  → 'github:hercules-ci/flake-parts/4524271976b625a4a605beefd893f270620fd751?narHash=sha256-%2BuWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw%3D' (2025-09-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:nix-community/nixpkgs.lib/0f36c44e01a6129be94e3ade315a5883f0228a6e?narHash=sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA%3D' (2025-07-27)
  → 'github:nix-community/nixpkgs.lib/a73b9c743612e4244d865a2fdee11865283c04e6?narHash=sha256-x2rJ%2BOvzq0sCMpgfgGaaqgBSwY%2BLST%2BWbZ6TytnT9Rk%3D' (2025-08-10)
• Updated input 'home-manager':
    'github:nix-community/home-manager/77f348da3176dc68b20a73dab94852a417daf361?narHash=sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k%3D' (2025-08-27)
  → 'github:nix-community/home-manager/f3d3b4592a73fb64b5423234c01985ea73976596?narHash=sha256-LOrOfPWpJU/ADWDyVwPv9XNuYPq5KJtmAmSzplpccmE%3D' (2025-09-02)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/52dec1cb33a614accb9e01307e17816be974d24d?narHash=sha256-rfTBWuTXi9/X7GhtF562FKNXKh2kvKb6dwI5lV1SjPE%3D' (2025-08-24)
  → 'github:nix-community/nix-index-database/3fe768e1f058961095b4a0d7a2ba15dc9736bdc6?narHash=sha256-/glV6VAq8Va3ghIbmhET3S1dzkbZqicsk5h%2BFtvwiPE%3D' (2025-08-31)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/a65b650d6981e23edd1afa1f01eb942f19cdcbb7?narHash=sha256-9bHzrVbjAudbO8q4vYFBWlEkDam31fsz0J7GB8k4AsI%3D' (2025-08-26)
  → 'github:NixOS/nixos-hardware/47eb4856cfd01eaeaa7bb5944a0f27db8fb9b94a?narHash=sha256-e4ZAu2sjOtGpvbdS5zo%2BVa5FUUkAnizl4wb0/JlIL2I%3D' (2025-09-01)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/8a6d5427d99ec71c64f0b93d45778c889005d9c2?narHash=sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM%3D' (2025-08-27)
  → 'github:nixos/nixpkgs/d7600c775f877cd87b4f5a831c28aa94137377aa?narHash=sha256-tlOn88coG5fzdyqz6R93SQL5Gpq%2Bm/DsWpekNFhqPQk%3D' (2025-08-30)
• Updated input 'nixvim':
    'github:nix-community/nixvim/b7e96214e8e7244eceae73c606dcd243f6d180a3?narHash=sha256-%2B6cgFdac%2BDN5PAZg3YtRXAEdk%2B%2Br6msy7wfFMNMNsEY%3D' (2025-08-27)
  → 'github:nix-community/nixvim/f5026663f68261a201cd0700ced14971945d8dd9?narHash=sha256-767guSN146cmLD1lvjYzU4Bh7Ry3fzXzj%2B6hXEtF7rY%3D' (2025-09-01)
• Updated input 'nur':
    'github:nix-community/NUR/cd2dd40f42140aa120795cfd6d12e6dda2ee3d36?narHash=sha256-n92aVZy5/AkOmo2xg3OueV/SOZY%2BNBaMm78cTrgch1I%3D' (2025-08-29)
  → 'github:nix-community/NUR/678bf16a5f1a7e2df5b75d4c62da44bc67921462?narHash=sha256-PSwg6aIlR2%2BACQ%2B1CV76kiXdl/E21fQG6/7xCoOcbCY%3D' (2025-09-02)
2025-09-02 07:00:52 +01:00
da2484b5ca Update README
All checks were successful
/ check (push) Successful in 54s
2025-09-02 00:49:30 +01:00
8ad59444c7 Add alternate files for .stories.ts and .tsx files 2025-09-01 15:35:20 +01:00
ce005be887 Remove old Home Manager hosts
All checks were successful
/ check (push) Successful in 50s
2025-08-31 22:05:52 +01:00
43df5bcd08 Add nixos.base
All checks were successful
/ check (push) Successful in 50s
2025-08-31 21:47:12 +01:00
37c36112e3 Remove PW05CH3L.nix
All checks were successful
/ check (push) Successful in 51s
2025-08-31 21:41:32 +01:00
22ed68a46e Configure makeprg for PHP, AsciiDoc and Go files
All checks were successful
/ check (push) Successful in 54s
2025-08-30 22:15:46 +01:00
flake-bot
1f73cdeb60 flake.lock: Update
All checks were successful
/ check (push) Successful in 54s
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/9e3a33c0bcbc25619e540b9dfea372282f8a9740?narHash=sha256-J1i35r4HfNDdPpwL0vOBaZopQudAUVtartEerc1Jryc%3D' (2025-08-24)
  → 'github:nix-community/home-manager/77f348da3176dc68b20a73dab94852a417daf361?narHash=sha256-eiy0klFK5EVJLNilutR7grsZN/7Itj9DyD75eyOf83k%3D' (2025-08-27)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/3dac8a872557e0ca8c083cdcfc2f218d18e113b0?narHash=sha256-aJHFJWP9AuI8jUGzI77LYcSlkA9wJnOIg4ZqftwNGXA%3D' (2025-08-16)
  → 'github:NixOS/nixos-hardware/a65b650d6981e23edd1afa1f01eb942f19cdcbb7?narHash=sha256-9bHzrVbjAudbO8q4vYFBWlEkDam31fsz0J7GB8k4AsI%3D' (2025-08-26)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/3b9f00d7a7bf68acd4c4abb9d43695afb04e03a5?narHash=sha256-XexyKZpf46cMiO5Vbj%2BdWSAXOnr285GHsMch8FBoHbc%3D' (2025-08-25)
  → 'github:nixos/nixpkgs/8a6d5427d99ec71c64f0b93d45778c889005d9c2?narHash=sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM%3D' (2025-08-27)
• Updated input 'nixvim':
    'github:nix-community/nixvim/8e3ca3fc1f3ae23dee0e6d35dd4a70ea8ef7164c?narHash=sha256-9QlWBvwDlizUa7YwlBnrmdXvh5pjaVGLG7u1N68VX5k%3D' (2025-08-25)
  → 'github:nix-community/nixvim/b7e96214e8e7244eceae73c606dcd243f6d180a3?narHash=sha256-%2B6cgFdac%2BDN5PAZg3YtRXAEdk%2B%2Br6msy7wfFMNMNsEY%3D' (2025-08-27)
• Updated input 'nur':
    'github:nix-community/NUR/6e20ce5e131fa16eea2784d1c35abebb1439d8fa?narHash=sha256-E3wuUajbl40u18vWisQEE7wpjfMVJGQK/0dsiafoEmY%3D' (2025-08-26)
  → 'github:nix-community/NUR/cd2dd40f42140aa120795cfd6d12e6dda2ee3d36?narHash=sha256-n92aVZy5/AkOmo2xg3OueV/SOZY%2BNBaMm78cTrgch1I%3D' (2025-08-29)
2025-08-29 07:00:52 +01:00
40d63d1323 Revert git clone to its original functionality
All checks were successful
/ check (push) Successful in 55s
2025-08-28 09:06:04 +01:00
6028198c72 Add redirects
All checks were successful
/ check (push) Successful in 1m4s
2025-08-26 22:04:04 +01:00
d0b4f8cdf5 dwmblocks: add the current temperature
All checks were successful
/ check (push) Successful in 49s
2025-08-26 20:33:36 +01:00
flake-bot
ec72053b8c flake.lock: Update
All checks were successful
/ check (push) Successful in 1m19s
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/4073ff2f481f9ef3501678ff479ed81402caae6d?narHash=sha256-bU4nqi3IpsUZJeyS8Jk85ytlX61i4b0KCxXX9YcOgVc%3D' (2025-08-18)
  → 'github:nix-community/disko/bafad29f89e83b2d861b493aa23034ea16595560?narHash=sha256-iv8xVtmLMNLWFcDM/HcAPLRGONyTRpzL9NS09RnryRM%3D' (2025-08-25)
• Updated input 'home-manager':
    'github:nix-community/home-manager/6911d3e7f475f7b3558b4f5a6aba90fa86099baa?narHash=sha256-QdenO8f0PTg%2BtC6HuSvngKcbRZA5oZKmjUT%2BMXKOLQg%3D' (2025-08-21)
  → 'github:nix-community/home-manager/9e3a33c0bcbc25619e540b9dfea372282f8a9740?narHash=sha256-J1i35r4HfNDdPpwL0vOBaZopQudAUVtartEerc1Jryc%3D' (2025-08-24)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/ebbc1c05f786ae39bb5e04e57bf2c10c44a649e3?narHash=sha256-Q6ZxZDBmD/B988Jjbx7/NchxOKIpOKBBrx9Yb0zMzpQ%3D' (2025-08-17)
  → 'github:nix-community/nix-index-database/52dec1cb33a614accb9e01307e17816be974d24d?narHash=sha256-rfTBWuTXi9/X7GhtF562FKNXKh2kvKb6dwI5lV1SjPE%3D' (2025-08-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/20075955deac2583bb12f07151c2df830ef346b4?narHash=sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs%2BStOp19xNsbqdOg%3D' (2025-08-19)
  → 'github:nixos/nixpkgs/3b9f00d7a7bf68acd4c4abb9d43695afb04e03a5?narHash=sha256-XexyKZpf46cMiO5Vbj%2BdWSAXOnr285GHsMch8FBoHbc%3D' (2025-08-25)
• Updated input 'nixvim':
    'github:nix-community/nixvim/d96069b1e14c7d9b756cc7c1dcf59f04ef35756b?narHash=sha256-2iULLpTIzhRF%2B7ppTlfAfTGqFJknKOPjjUHlm2lqFMs%3D' (2025-08-21)
  → 'github:nix-community/nixvim/8e3ca3fc1f3ae23dee0e6d35dd4a70ea8ef7164c?narHash=sha256-9QlWBvwDlizUa7YwlBnrmdXvh5pjaVGLG7u1N68VX5k%3D' (2025-08-25)
• Updated input 'nur':
    'github:nix-community/NUR/350ba4022fa87d6bb8b9eceae4b079bad338d991?narHash=sha256-TQcuek%2BxbqeWLX/twaZzgO%2BVLqHmekx1Ayc3NbKjvW8%3D' (2025-08-22)
  → 'github:nix-community/NUR/6e20ce5e131fa16eea2784d1c35abebb1439d8fa?narHash=sha256-E3wuUajbl40u18vWisQEE7wpjfMVJGQK/0dsiafoEmY%3D' (2025-08-26)
2025-08-26 07:00:59 +01:00
1695d02b44 Add a template for generating new PHP files
All checks were successful
/ check (push) Successful in 57s
https://shapeshed.com/vim-templates
2025-08-25 20:43:48 +01:00
bcf3da42cb dwm: remove restartsig.patch 2025-08-24 10:35:30 +01:00
d735653a6f Update todo.txt 2025-08-24 10:35:30 +01:00
91ebd1d736 dwmblocks: update date format 2025-08-24 10:35:24 +01:00
flake-bot
33fda06a6f flake.lock: Update
All checks were successful
/ check (push) Successful in 1m2s
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/c613ac14f5600033bf84ae75c315d5ce24a0229b?narHash=sha256-s7D28zPHlFWVZ7dDxm0L1o5%2Bt423rMJUfgCMGUeyYSk%3D' (2025-08-19)
  → 'github:nix-community/home-manager/6911d3e7f475f7b3558b4f5a6aba90fa86099baa?narHash=sha256-QdenO8f0PTg%2BtC6HuSvngKcbRZA5oZKmjUT%2BMXKOLQg%3D' (2025-08-21)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/fbcf476f790d8a217c3eab4e12033dc4a0f6d23c?narHash=sha256-wNO3%2BKs2jZJ4nTHMuks%2BcxAiVBGNuEBXsT29Bz6HASo%3D' (2025-08-14)
  → 'github:nixos/nixpkgs/20075955deac2583bb12f07151c2df830ef346b4?narHash=sha256-HMwfAJBdrr8wXAkbGhtcby1zGFvs%2BStOp19xNsbqdOg%3D' (2025-08-19)
• Updated input 'nixvim':
    'github:nix-community/nixvim/e1e4bb83f1b1193c99971dfde6928e1f60ed4296?narHash=sha256-3PsCEAfZLk3shQNgEH67P6KvhV6bXziewl3HwJ/iaV4%3D' (2025-08-18)
  → 'github:nix-community/nixvim/d96069b1e14c7d9b756cc7c1dcf59f04ef35756b?narHash=sha256-2iULLpTIzhRF%2B7ppTlfAfTGqFJknKOPjjUHlm2lqFMs%3D' (2025-08-21)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/a60091045273484c040a91f5c229ba298f8ecc27?narHash=sha256-aRgzcPDd2axHFOuMlPLuzmDptUM2JU8mUL3jfgbBeyc%3D' (2025-08-04)
  → 'github:NuschtOS/search/6f3efef888b92e6520f10eae15b86ff537e1d2ea?narHash=sha256-WiOO7GUOsJ4/DoMy2IC5InnqRDSo2U11la48vCCIjjY%3D' (2025-08-18)
• Updated input 'nixvim/nuschtosSearch/ixx':
    'github:NuschtOS/ixx/cc5f390f7caf265461d4aab37e98d2292ebbdb85?narHash=sha256-FVO01jdmUNArzBS7NmaktLdGA5qA3lUMJ4B7a05Iynw%3D' (2025-05-26)
  → 'github:NuschtOS/ixx/babfe85a876162c4acc9ab6fb4483df88fa1f281?narHash=sha256-EM0IE63OHxXCOpDHXaTyHIOk2cNvMCGPqLt/IdtVxgk%3D' (2025-08-10)
• Updated input 'nur':
    'github:nix-community/NUR/0ee04ea6138ae9a91b94f38233119aff6ca0c792?narHash=sha256-BKFoc4fMQlXSeUjaOVOkb8Q5y/JuaaH/XqBWb0G4fxI%3D' (2025-08-19)
  → 'github:nix-community/NUR/350ba4022fa87d6bb8b9eceae4b079bad338d991?narHash=sha256-TQcuek%2BxbqeWLX/twaZzgO%2BVLqHmekx1Ayc3NbKjvW8%3D' (2025-08-22)
2025-08-22 07:00:52 +01:00
9375d5d6bf Add README.md
All checks were successful
/ check (push) Successful in 53s
2025-08-21 13:23:24 +01:00
79b9fbf767 Remove README.md
Some checks failed
/ check (push) Has been cancelled
2025-08-20 22:23:18 +01:00
11a0e9f8c8 Revert "Add /books redirect"
All checks were successful
/ check (push) Successful in 49s
This reverts commit 61804ebc6f.
2025-08-20 20:48:14 +01:00
d1eaa83712 Add CPU usage percentage
All checks were successful
/ check (push) Successful in 52s
2025-08-20 10:01:12 +01:00
2d488eaa7a Display network name and IP address
All checks were successful
/ check (push) Successful in 51s
2025-08-19 23:51:53 +01:00
flake-bot
5e1ef25879 flake.lock: Update
All checks were successful
/ check (push) Successful in 57s
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/8246829f2e675a46919718f9a64b71afe3bfb22d?narHash=sha256-p04ZnIBGzerSyiY2dNGmookCldhldWAu03y0s3P8CB0%3D' (2025-08-12)
  → 'github:nix-community/disko/4073ff2f481f9ef3501678ff479ed81402caae6d?narHash=sha256-bU4nqi3IpsUZJeyS8Jk85ytlX61i4b0KCxXX9YcOgVc%3D' (2025-08-18)
• Updated input 'git-repo-updater':
    'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=8175f54dddb4a9579a9bea99c7236eebb6d46fc0' (2025-08-05)
  → 'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=8175f54dddb4a9579a9bea99c7236eebb6d46fc0' (2025-08-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/d2ffdedfc39c591367b1ddf22b4ce107f029dcc3?narHash=sha256-RHK4H6SWzkAtW/5WBHsyugaXJX25yr5y7FAZznxcBJs%3D' (2025-08-17)
  → 'github:nix-community/home-manager/c613ac14f5600033bf84ae75c315d5ce24a0229b?narHash=sha256-s7D28zPHlFWVZ7dDxm0L1o5%2Bt423rMJUfgCMGUeyYSk%3D' (2025-08-19)
• Updated input 'nixvim':
    'github:nix-community/nixvim/ecc7880e00a2a735074243d8a664a931d73beace?narHash=sha256-cFwtMaONA4uKYk/rBrmFvIAQieZxZytoprzIblTn1HA%3D' (2025-08-13)
  → 'github:nix-community/nixvim/e1e4bb83f1b1193c99971dfde6928e1f60ed4296?narHash=sha256-3PsCEAfZLk3shQNgEH67P6KvhV6bXziewl3HwJ/iaV4%3D' (2025-08-18)
• Updated input 'nur':
    'github:nix-community/NUR/baa6cf1524463c1178af1e37de51be461c17d7ce?narHash=sha256-7o11BHMIHP0jcr%2B6bF6MZ6dVud2IAnXU9O15WoeKGYg%3D' (2025-08-17)
  → 'github:nix-community/NUR/0ee04ea6138ae9a91b94f38233119aff6ca0c792?narHash=sha256-BKFoc4fMQlXSeUjaOVOkb8Q5y/JuaaH/XqBWb0G4fxI%3D' (2025-08-19)
2025-08-19 20:57:41 +01:00
936e2b5d31 Disable vaultwarden
All checks were successful
/ check (push) Successful in 55s
2025-08-19 20:56:22 +01:00
8acc393fa0 Add dmenu_sys and dmenu_timer 2025-08-19 20:56:05 +01:00
79ebdaeba9 Change the memory usage format 2025-08-19 20:56:05 +01:00
a054ca7ded Add -c to dmenu, but as a noop
To support other scripts.
2025-08-19 20:56:05 +01:00
bafbce7ac1 Start configuring dwmblocks 2025-08-19 20:56:05 +01:00
d7a9b529e3 Add battery command 2025-08-19 20:56:05 +01:00
94ec854383 Refactor displayselect 2025-08-19 20:56:05 +01:00
8466ffcfb7 Add podman
All checks were successful
/ check (push) Successful in 58s
2025-08-18 20:20:08 +01:00
77b8ce89c8 Add books and examples subdomains
All checks were successful
/ check (push) Successful in 59s
2025-08-18 18:34:58 +01:00
88e8de8c30 Add preview script
An opinionated wrapper around Browsersync.
2025-08-18 18:34:36 +01:00
2ef0d0015f Remove 2025 subdomain 2025-08-18 18:34:35 +01:00
1ac3cbc932 Remove old user accounts 2025-08-18 18:34:35 +01:00
703bf836de Rename modules directory
All checks were successful
/ check (push) Successful in 55s
2025-08-18 11:35:07 +01:00
a0575bdb2a Move gitea-actions-runner.nix
Also remove any unneeded references to outputs.nixosModules.
2025-08-18 11:25:56 +01:00
403a93f951 Remove nixpad configuration
All checks were successful
/ check (push) Successful in 51s
2025-08-18 09:27:29 +01:00
e31e2d0048 Remove PW05CH3L configuration
All checks were successful
/ check (push) Successful in 51s
2025-08-18 09:05:07 +01:00
54b49c07bb Add git-save
All checks were successful
/ check (push) Successful in 1m3s
https://github.com/krisnova/home/blob/main/bin/git-save
2025-08-18 02:37:53 +01:00
3fc67873dd Remove zet-new 2025-08-18 00:41:25 +01:00
e2bfa94073 Disable open-webui
All checks were successful
/ check (push) Successful in 1m3s
2025-08-18 00:16:32 +01:00
02776833b4 Commit the lock file after updating 2025-08-17 23:16:24 +01:00
94c349b69c Remove tmux-resurrect
All checks were successful
/ check (push) Successful in 1m36s
2025-08-17 23:10:16 +01:00
f98df5ff40 flake.lock: Update
Flake lock file updates:

• Updated input 'git-repo-updater':
    'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=8175f54dddb4a9579a9bea99c7236eebb6d46fc0' (2025-08-05)
  → 'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=8175f54dddb4a9579a9bea99c7236eebb6d46fc0' (2025-08-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/11626a4383b458f8dc5ea3237eaa04e8ab1912f3?narHash=sha256-soZegto0xXzG2zYlu/zjknDHv0Z7tRS5EQs%2BZ/VRTBg%3D' (2025-08-15)
  → 'github:nix-community/home-manager/d2ffdedfc39c591367b1ddf22b4ce107f029dcc3?narHash=sha256-RHK4H6SWzkAtW/5WBHsyugaXJX25yr5y7FAZznxcBJs%3D' (2025-08-17)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/b65f8d80656f9fcbd1fecc4b7f0730f468333142?narHash=sha256-UbLO8/0pVBXLJuyRizYOJigtzQAj8Z2bTnbKSec/wN0%3D' (2025-08-10)
  → 'github:nix-community/nix-index-database/ebbc1c05f786ae39bb5e04e57bf2c10c44a649e3?narHash=sha256-Q6ZxZDBmD/B988Jjbx7/NchxOKIpOKBBrx9Yb0zMzpQ%3D' (2025-08-17)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/26ed7a0d4b8741fe1ef1ee6fa64453ca056ce113?narHash=sha256-dz303vGuzWjzOPOaYkS9xSW%2BB93PSAJxvBd6CambXVA%3D' (2025-08-07)
  → 'github:NixOS/nixos-hardware/3dac8a872557e0ca8c083cdcfc2f218d18e113b0?narHash=sha256-aJHFJWP9AuI8jUGzI77LYcSlkA9wJnOIg4ZqftwNGXA%3D' (2025-08-16)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/e37cfef071466a9ca649f6899aff05226ce17e9e?narHash=sha256-h6bbfhqWcHlx9tcyYa7dhaEiNpusLCcFYkJ/AnltLW8%3D' (2025-08-14)
  → 'github:nix-community/NixOS-WSL/203a7b463f307c60026136dd1191d9001c43457f?narHash=sha256-EOqCupB5X5WoGVHVcfOZcqy0SbKWNuY3kq%2Blj1wHdu8%3D' (2025-08-15)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/005433b926e16227259a1843015b5b2b7f7d1fc3?narHash=sha256-IVft239Bc8p8Dtvf7UAACMG5P3ZV%2B3/aO28gXpGtMXI%3D' (2025-08-12)
  → 'github:nixos/nixpkgs/fbcf476f790d8a217c3eab4e12033dc4a0f6d23c?narHash=sha256-wNO3%2BKs2jZJ4nTHMuks%2BcxAiVBGNuEBXsT29Bz6HASo%3D' (2025-08-14)
• Updated input 'nur':
    'github:nix-community/NUR/94c6c5b9798480dc220ee2cc8b1ce93a472a8d8f?narHash=sha256-ecWsZvrU/v7phSRIulxUYoCZ%2Bi8s%2BmQ0ecmxxcgHUko%3D' (2025-08-13)
  → 'github:nix-community/NUR/baa6cf1524463c1178af1e37de51be461c17d7ce?narHash=sha256-7o11BHMIHP0jcr%2B6bF6MZ6dVud2IAnXU9O15WoeKGYg%3D' (2025-08-17)
2025-08-17 23:02:03 +01:00
7cfaea5e97 Refactor
All checks were successful
/ check (push) Successful in 1m9s
2025-08-17 22:54:15 +01:00
671dcfe5c2 Remove tome subdomain 2025-08-17 22:53:55 +01:00
ad1a2513a7 Update vaultwarden-env.age
All checks were successful
/ check (push) Successful in 1m4s
2025-08-17 15:02:26 +01:00
f970046ace Update todo.txt
All checks were successful
/ check (push) Successful in 1m6s
2025-08-17 14:59:08 +01:00
8700cf0c71 Re-add spellfile
Some checks failed
/ check (push) Has been cancelled
This needs to be re-added to Neovim, but at least it's in the repo for
reference.
2025-08-17 14:58:28 +01:00
61804ebc6f Add /books redirect
All checks were successful
/ check (push) Successful in 1m9s
2025-08-17 02:13:07 +01:00
flake-bot
03a750ca32 flake.lock: Update
All checks were successful
/ check (push) Successful in 1m24s
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/27a26be51ff0162a8f67660239f9407dba68d7c5?narHash=sha256-XMjUjKD/QRPcqUnmSDczSYdw46SilnG0%2Bwkho654DFM%3D' (2025-08-12)
  → 'github:nix-community/home-manager/11626a4383b458f8dc5ea3237eaa04e8ab1912f3?narHash=sha256-soZegto0xXzG2zYlu/zjknDHv0Z7tRS5EQs%2BZ/VRTBg%3D' (2025-08-15)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/9b618a36ef6e51a689ea941b53e312ddc4c835a9?narHash=sha256-qNI5QusItaVf50ErZv6y/qIp8oujTSbMTz8BleZ2Qew%3D' (2025-08-11)
  → 'github:nix-community/NixOS-WSL/e37cfef071466a9ca649f6899aff05226ce17e9e?narHash=sha256-h6bbfhqWcHlx9tcyYa7dhaEiNpusLCcFYkJ/AnltLW8%3D' (2025-08-14)
• Updated input 'nixos-wsl/nixpkgs':
    'github:NixOS/nixpkgs/5b09dc45f24cf32316283e62aec81ffee3c3e376?narHash=sha256-Q/I2xJn/j1wpkGhWkQnm20nShYnG7TI99foDBpXm1SY%3D' (2025-08-03)
  → 'github:NixOS/nixpkgs/85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054?narHash=sha256-iAcj9T/Y%2B3DBy2J0N%2ByF9XQQQ8IEb5swLFzs23CdP88%3D' (2025-08-09)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054?narHash=sha256-iAcj9T/Y%2B3DBy2J0N%2ByF9XQQQ8IEb5swLFzs23CdP88%3D' (2025-08-09)
  → 'github:nixos/nixpkgs/005433b926e16227259a1843015b5b2b7f7d1fc3?narHash=sha256-IVft239Bc8p8Dtvf7UAACMG5P3ZV%2B3/aO28gXpGtMXI%3D' (2025-08-12)
• Updated input 'nixvim':
    'github:nix-community/nixvim/7b53322d75a1c66f84fb145e4b5f0f411d9edc6b?narHash=sha256-KY%2B/livAp6l3fI8SdNa%2BCLN/AA4Z038yL/pQL2PaW7g%3D' (2025-08-11)
  → 'github:nix-community/nixvim/ecc7880e00a2a735074243d8a664a931d73beace?narHash=sha256-cFwtMaONA4uKYk/rBrmFvIAQieZxZytoprzIblTn1HA%3D' (2025-08-13)
• Updated input 'nur':
    'github:nix-community/NUR/ac7aceca63c786be19d6cad0bed11cb02da7d9e3?narHash=sha256-9wkBaz789ZjFoy4vYf1JPBbXFFtmE/LmdKHCnvBEsfo%3D' (2025-08-12)
  → 'github:nix-community/NUR/94c6c5b9798480dc220ee2cc8b1ce93a472a8d8f?narHash=sha256-ecWsZvrU/v7phSRIulxUYoCZ%2Bi8s%2BmQ0ecmxxcgHUko%3D' (2025-08-13)
2025-08-15 07:00:55 +01:00
68f47db84e Remove t490 configuration
All checks were successful
/ check (push) Successful in 1m40s
Migrated to Nixbook.
2025-08-14 22:34:02 +01:00
be77d86fa2 Re-configure vaultwarden 2025-08-14 16:35:40 +01:00
c9b82b99fe Remove lemp11 configuration
All checks were successful
/ check (push) Successful in 1m17s
Migrated to Nixbook. https://github.com/mkellyxp/nixbook
2025-08-14 07:38:17 +01:00
23a1745906 Add source snippet
All checks were successful
/ check (push) Successful in 2m46s
2025-08-13 22:52:20 +01:00
12adda4be4 Start to refactor nixedo homelab configuration 2025-08-13 22:47:15 +01:00
8505535291 Update notes.txt
All checks were successful
/ check (push) Successful in 3m11s
2025-08-13 22:44:44 +01:00
b9508d734f Update todo.txt 2025-08-13 22:44:34 +01:00
6b06d8c1dd Extra sudo module, use sudo-rs 2025-08-13 22:44:11 +01:00
656147c9dd Add asciidoc snippet 2025-08-12 20:19:59 +01:00
c1b4c27f74 Disable ollama 2025-08-12 09:03:43 +01:00
170806728c Fix st path
All checks were successful
/ check (push) Successful in 2m27s
2025-08-12 08:56:45 +01:00
9fb33cbfac nix fmt
All checks were successful
/ check (push) Successful in 2m36s
2025-08-12 08:16:25 +01:00
flake-bot
9cb86e3fae flake.lock: Update
All checks were successful
/ check (push) Successful in 2m43s
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/545aba02960caa78a31bd9a8709a0ad4b6320a5c?narHash=sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb%2BmYCodI5uuB8%3D' (2025-07-21)
  → 'github:nix-community/disko/8246829f2e675a46919718f9a64b71afe3bfb22d?narHash=sha256-p04ZnIBGzerSyiY2dNGmookCldhldWAu03y0s3P8CB0%3D' (2025-08-12)
• Updated input 'home-manager':
    'github:nix-community/home-manager/cc2fa2331aebf9661d22bb507d362b39852ac73f?narHash=sha256-ueR1mGX4I4DWfDRRxxMphbKDNisDeMPMusN72VV1%2Bcc%3D' (2025-08-08)
  → 'github:nix-community/home-manager/27a26be51ff0162a8f67660239f9407dba68d7c5?narHash=sha256-XMjUjKD/QRPcqUnmSDczSYdw46SilnG0%2Bwkho654DFM%3D' (2025-08-12)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/b7fcd4e26d67fca48e77de9b0d0f954b18ae9562?narHash=sha256-YL71IEf2OugH3gmAsxQox6BJI0KOcHKtW2QqT/%2Bs2SA%3D' (2025-08-03)
  → 'github:nix-community/nix-index-database/b65f8d80656f9fcbd1fecc4b7f0730f468333142?narHash=sha256-UbLO8/0pVBXLJuyRizYOJigtzQAj8Z2bTnbKSec/wN0%3D' (2025-08-10)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/ca55236cd9ef3cdea29b51a0b52a9402c60e9a27?narHash=sha256-3ynDaygIzQYlBZFHGDeQzXmPkX2ILeZ0wWJ84FR4g7E%3D' (2025-08-04)
  → 'github:nix-community/NixOS-WSL/9b618a36ef6e51a689ea941b53e312ddc4c835a9?narHash=sha256-qNI5QusItaVf50ErZv6y/qIp8oujTSbMTz8BleZ2Qew%3D' (2025-08-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/c2ae88e026f9525daf89587f3cbee584b92b6134?narHash=sha256-erbiH2agUTD0Z30xcVSFcDHzkRvkRXOQ3lb887bcVrs%3D' (2025-08-06)
  → 'github:nixos/nixpkgs/85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054?narHash=sha256-iAcj9T/Y%2B3DBy2J0N%2ByF9XQQQ8IEb5swLFzs23CdP88%3D' (2025-08-09)
• Updated input 'nixvim':
    'github:nix-community/nixvim/1db179502524f21fe4e3175e3348202ed0ef253f?narHash=sha256-BN2a2Lft9BwdDPBplaWe8kYW2wLaaVLDwcWwMJeBw3I%3D' (2025-08-07)
  → 'github:nix-community/nixvim/7b53322d75a1c66f84fb145e4b5f0f411d9edc6b?narHash=sha256-KY%2B/livAp6l3fI8SdNa%2BCLN/AA4Z038yL/pQL2PaW7g%3D' (2025-08-11)
• Updated input 'nur':
    'github:nix-community/NUR/c207a5afe9d4dc7b145a59f96f075f7155727779?narHash=sha256-NCJ2F%2BxMLSPfD9TLZFO55NiNN2%2BLee7tQBAcOcp/3Bo%3D' (2025-08-08)
  → 'github:nix-community/NUR/ac7aceca63c786be19d6cad0bed11cb02da7d9e3?narHash=sha256-9wkBaz789ZjFoy4vYf1JPBbXFFtmE/LmdKHCnvBEsfo%3D' (2025-08-12)
2025-08-12 07:01:08 +01:00
382c453c85 Change to systemd.settings.Manager
All checks were successful
/ check (push) Successful in 2m57s
2025-08-11 19:01:07 +01:00
flake-bot
08d0d3a2d7 flake.lock: Update
Some checks failed
/ check (push) Failing after 56s
Flake lock file updates:

• Updated input 'agenix':
    'github:ryantm/agenix/531beac616433bac6f9e2a19feb8e99a22a66baf?narHash=sha256-9P1FziAwl5%2B3edkfFcr5HeGtQUtrSdk/MksX39GieoA%3D' (2025-06-17)
  → 'github:ryantm/agenix/9edb1787864c4f59ae5074ad498b6272b3ec308d?narHash=sha256-NA/FT2hVhKDftbHSwVnoRTFhes62%2B7dxZbxj5Gxvghs%3D' (2025-08-05)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/644e0fc48951a860279da645ba77fe4a6e814c5e?narHash=sha256-TVcTNvOeWWk1DXljFxVRp%2BE0tzG1LhrVjOGGoMHuXio%3D' (2025-07-21)
  → 'github:hercules-ci/flake-parts/af66ad14b28a127c5c0f3bbb298218fc63528a18?narHash=sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8%3D' (2025-08-06)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:nix-community/nixpkgs.lib/14a40a1d7fb9afa4739275ac642ed7301a9ba1ab?narHash=sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo%3D' (2025-06-29)
  → 'github:nix-community/nixpkgs.lib/0f36c44e01a6129be94e3ade315a5883f0228a6e?narHash=sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA%3D' (2025-07-27)
• Updated input 'git-repo-updater':
    'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=959f92dea25f962a4e46d582507278277610ca9f' (2025-08-01)
  → 'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=8175f54dddb4a9579a9bea99c7236eebb6d46fc0' (2025-08-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/7035020a507ed616e2b20c61491ae3eaa8e5462c?narHash=sha256-2vlAOJv4lBrE%2BP1uOGhZ1symyjXTRdn/mz0tZ6faQcg%3D' (2025-07-31)
  → 'github:nix-community/home-manager/cc2fa2331aebf9661d22bb507d362b39852ac73f?narHash=sha256-ueR1mGX4I4DWfDRRxxMphbKDNisDeMPMusN72VV1%2Bcc%3D' (2025-08-08)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/f0736b09c43028fd726fb70c3eb3d1f0795454cf?narHash=sha256-y1JlcMB2dKFkrr6g%2BUcmj8L//IY09BtSKTH/A7OU7mU%3D' (2025-07-27)
  → 'github:nix-community/nix-index-database/b7fcd4e26d67fca48e77de9b0d0f954b18ae9562?narHash=sha256-YL71IEf2OugH3gmAsxQox6BJI0KOcHKtW2QqT/%2Bs2SA%3D' (2025-08-03)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/cc66fddc6cb04ab479a1bb062f4d4da27c936a22?narHash=sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM%3D' (2025-07-21)
  → 'github:NixOS/nixos-hardware/26ed7a0d4b8741fe1ef1ee6fa64453ca056ce113?narHash=sha256-dz303vGuzWjzOPOaYkS9xSW%2BB93PSAJxvBd6CambXVA%3D' (2025-08-07)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/58c814cc6d4a789191f9c12e18277107144b0c91?narHash=sha256-5E14xuNWy2Un1nFR55k68hgbnD8U2x/rE5DXJtYKusw%3D' (2025-07-28)
  → 'github:nix-community/NixOS-WSL/ca55236cd9ef3cdea29b51a0b52a9402c60e9a27?narHash=sha256-3ynDaygIzQYlBZFHGDeQzXmPkX2ILeZ0wWJ84FR4g7E%3D' (2025-08-04)
• Updated input 'nixos-wsl/nixpkgs':
    'github:NixOS/nixpkgs/7fd36ee82c0275fb545775cc5e4d30542899511d?narHash=sha256-9h7%2B4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ%2BSJjk%3D' (2025-07-25)
  → 'github:NixOS/nixpkgs/5b09dc45f24cf32316283e62aec81ffee3c3e376?narHash=sha256-Q/I2xJn/j1wpkGhWkQnm20nShYnG7TI99foDBpXm1SY%3D' (2025-08-03)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/dc9637876d0dcc8c9e5e22986b857632effeb727?narHash=sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM%3D' (2025-07-28)
  → 'github:nixos/nixpkgs/c2ae88e026f9525daf89587f3cbee584b92b6134?narHash=sha256-erbiH2agUTD0Z30xcVSFcDHzkRvkRXOQ3lb887bcVrs%3D' (2025-08-06)
• Updated input 'nixvim':
    'github:nix-community/nixvim/a16c89c175277309fd3dd065fb5bc4eab450ae07?narHash=sha256-AM3CZh%2BEmk/cr5Gf6RUf2xzkWdRB%2ByewP1YWoRxUbYQ%3D' (2025-07-31)
  → 'github:nix-community/nixvim/1db179502524f21fe4e3175e3348202ed0ef253f?narHash=sha256-BN2a2Lft9BwdDPBplaWe8kYW2wLaaVLDwcWwMJeBw3I%3D' (2025-08-07)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/40987cc1a24feba378438d691f87c52819f7bd75?narHash=sha256-Pmpke0JtLRzgdlwDC5a%2BaiLVZ11JPUO5Bcqkj0nHE/k%3D' (2025-07-25)
  → 'github:NuschtOS/search/a60091045273484c040a91f5c229ba298f8ecc27?narHash=sha256-aRgzcPDd2axHFOuMlPLuzmDptUM2JU8mUL3jfgbBeyc%3D' (2025-08-04)
• Updated input 'nur':
    'github:nix-community/NUR/437fb78c1e96baaa1f8bd0fa0e339c9a07b2cdf8?narHash=sha256-1t0o%2BeheZOjnrdIwkdw2P/Vv0xBENME7l7f4yrvQXFE%3D' (2025-08-01)
  → 'github:nix-community/NUR/c207a5afe9d4dc7b145a59f96f075f7155727779?narHash=sha256-NCJ2F%2BxMLSPfD9TLZFO55NiNN2%2BLee7tQBAcOcp/3Bo%3D' (2025-08-08)
2025-08-08 07:01:08 +01:00
546341fbc9 Replace vix with vic
All checks were successful
/ check (push) Successful in 2m38s
2025-08-08 02:25:28 +01:00
8d08b321b3 Refactor heightwidth 2025-08-08 02:13:21 +01:00
fcc65505d0 Add fixapost 2025-08-08 02:10:20 +01:00
426edf6c84 Add heightwidth script
All checks were successful
/ check (push) Successful in 2m41s
2025-08-07 17:50:54 +01:00
33e72c839a starship: enable SHLVL 2025-08-07 01:43:27 +01:00
20455518b8 nixvim: remove calc source
All checks were successful
/ check (push) Successful in 2m39s
2025-08-07 01:02:28 +01:00
d241f687b4 Add bc calculator 2025-08-07 01:02:04 +01:00
87895214ba Revert "flake.lock: Update"
This reverts commit 15fe868a0c.
2025-08-07 00:58:05 +01:00
22b01f0a9b nixvim: ftplugin for just 2025-08-07 00:55:24 +01:00
flake-bot
15fe868a0c flake.lock: Update
Some checks failed
/ check (push) Failing after 1s
Flake lock file updates:

• Updated input 'agenix':
    'github:ryantm/agenix/531beac616433bac6f9e2a19feb8e99a22a66baf?narHash=sha256-9P1FziAwl5%2B3edkfFcr5HeGtQUtrSdk/MksX39GieoA%3D' (2025-06-17)
  → 'github:ryantm/agenix/856df6f6922845abd4fd958ce21febc07ca2fa45?narHash=sha256-fEc2/4YsJwtnLU7HCFMRckb0u9UNnDZmwGhXT5U5NTw%3D' (2025-08-04)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/644e0fc48951a860279da645ba77fe4a6e814c5e?narHash=sha256-TVcTNvOeWWk1DXljFxVRp%2BE0tzG1LhrVjOGGoMHuXio%3D' (2025-07-21)
  → 'github:hercules-ci/flake-parts/67df8c627c2c39c41dbec76a1f201929929ab0bd?narHash=sha256-XKqDMN1/Qj1DKivQvscI4vmHfDfvYR2pfuFOJiCeewM%3D' (2025-08-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:nix-community/nixpkgs.lib/14a40a1d7fb9afa4739275ac642ed7301a9ba1ab?narHash=sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo%3D' (2025-06-29)
  → 'github:nix-community/nixpkgs.lib/0f36c44e01a6129be94e3ade315a5883f0228a6e?narHash=sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA%3D' (2025-07-27)
• Updated input 'git-repo-updater':
    'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=959f92dea25f962a4e46d582507278277610ca9f' (2025-08-01)
  → 'git+https://code.oliverdavies.uk/opdavies/git-repo-updater?ref=refs/heads/main&rev=8175f54dddb4a9579a9bea99c7236eebb6d46fc0' (2025-08-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/7035020a507ed616e2b20c61491ae3eaa8e5462c?narHash=sha256-2vlAOJv4lBrE%2BP1uOGhZ1symyjXTRdn/mz0tZ6faQcg%3D' (2025-07-31)
  → 'github:nix-community/home-manager/c5d7e957397ecb7d48b99c928611c6e780db1b56?narHash=sha256-NLWIkn1qM0wxtZu/2NXRaujWJ4Y1PSZlc7h0y6pOzOQ%3D' (2025-08-05)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/f0736b09c43028fd726fb70c3eb3d1f0795454cf?narHash=sha256-y1JlcMB2dKFkrr6g%2BUcmj8L//IY09BtSKTH/A7OU7mU%3D' (2025-07-27)
  → 'github:nix-community/nix-index-database/b7fcd4e26d67fca48e77de9b0d0f954b18ae9562?narHash=sha256-YL71IEf2OugH3gmAsxQox6BJI0KOcHKtW2QqT/%2Bs2SA%3D' (2025-08-03)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/cc66fddc6cb04ab479a1bb062f4d4da27c936a22?narHash=sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM%3D' (2025-07-21)
  → 'github:NixOS/nixos-hardware/9368056b73efb46eb14fd4667b99e0f81b805f28?narHash=sha256-Ry1gd1BQrNVJJfT11cpVP0FY8XFMx4DJV2IDp01CH9w%3D' (2025-08-04)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/58c814cc6d4a789191f9c12e18277107144b0c91?narHash=sha256-5E14xuNWy2Un1nFR55k68hgbnD8U2x/rE5DXJtYKusw%3D' (2025-07-28)
  → 'github:nix-community/NixOS-WSL/ca55236cd9ef3cdea29b51a0b52a9402c60e9a27?narHash=sha256-3ynDaygIzQYlBZFHGDeQzXmPkX2ILeZ0wWJ84FR4g7E%3D' (2025-08-04)
• Updated input 'nixos-wsl/nixpkgs':
    'github:NixOS/nixpkgs/7fd36ee82c0275fb545775cc5e4d30542899511d?narHash=sha256-9h7%2B4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ%2BSJjk%3D' (2025-07-25)
  → 'github:NixOS/nixpkgs/5b09dc45f24cf32316283e62aec81ffee3c3e376?narHash=sha256-Q/I2xJn/j1wpkGhWkQnm20nShYnG7TI99foDBpXm1SY%3D' (2025-08-03)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/dc9637876d0dcc8c9e5e22986b857632effeb727?narHash=sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM%3D' (2025-07-28)
  → 'github:nixos/nixpkgs/5b09dc45f24cf32316283e62aec81ffee3c3e376?narHash=sha256-Q/I2xJn/j1wpkGhWkQnm20nShYnG7TI99foDBpXm1SY%3D' (2025-08-03)
• Updated input 'nixvim':
    'github:nix-community/nixvim/a16c89c175277309fd3dd065fb5bc4eab450ae07?narHash=sha256-AM3CZh%2BEmk/cr5Gf6RUf2xzkWdRB%2ByewP1YWoRxUbYQ%3D' (2025-07-31)
  → 'github:nix-community/nixvim/0b87d94432f3d2e2154a055f18dcb6531c6c90ab?narHash=sha256-i73/RHYnrRj1AW7r42qzEX1CruxAdVLXcn2iuWBQy64%3D' (2025-08-03)
• Updated input 'nur':
    'github:nix-community/NUR/437fb78c1e96baaa1f8bd0fa0e339c9a07b2cdf8?narHash=sha256-1t0o%2BeheZOjnrdIwkdw2P/Vv0xBENME7l7f4yrvQXFE%3D' (2025-08-01)
  → 'github:nix-community/NUR/47a3ab2237d8d4ae00972961ee2c4c990086c950?narHash=sha256-57l04Nz9YTtHt7zZ6E9PjwbCDUctfH7mgADY%2BjzYaDc%3D' (2025-08-05)
2025-08-06 18:59:20 +01:00
0beeb10fb0 Add dwmblocks
All checks were successful
/ check (push) Successful in 2m28s
2025-08-05 00:13:21 +01:00
d811cf26f5 Remove lualine
All checks were successful
/ check (push) Successful in 2m40s
2025-08-05 00:13:17 +01:00
8ddfceabc2 Group meta modules 2025-08-05 00:12:56 +01:00
c75ea7c198 Run gammastep
All checks were successful
/ check (push) Successful in 3m13s
2025-08-03 22:01:13 +01:00
00b2502936 Move gammastep configuration 2025-08-03 22:01:00 +01:00
3cad85bcdf Rename package
All checks were successful
/ check (push) Successful in 1m36s
2025-08-02 23:26:16 +01:00
flake-bot
89e7e6bd07 flake.lock: Update
All checks were successful
/ check (push) Successful in 2m3s
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/50adf8fcaa97c9d64309f2d507ed8be54ea23110?narHash=sha256-mrVNT%2BaF4yR8P8Fx570W2vz%2BLzukSlf68Yr2YhUJHjo%3D' (2025-07-29)
  → 'github:nix-community/home-manager/7035020a507ed616e2b20c61491ae3eaa8e5462c?narHash=sha256-2vlAOJv4lBrE%2BP1uOGhZ1symyjXTRdn/mz0tZ6faQcg%3D' (2025-07-31)
• Updated input 'nixvim':
    'github:nix-community/nixvim/e1aa35fb04047df11a9c1ab539a0bac35ddad509?narHash=sha256-ZNyVwyj%2B4qvaOT/gQWfNypP8qtHmXtt02D9WDZH4IPU%3D' (2025-07-28)
  → 'github:nix-community/nixvim/a16c89c175277309fd3dd065fb5bc4eab450ae07?narHash=sha256-AM3CZh%2BEmk/cr5Gf6RUf2xzkWdRB%2ByewP1YWoRxUbYQ%3D' (2025-07-31)
• Updated input 'nur':
    'github:nix-community/NUR/43b3643575b141f82fa21191f90e104d72e3f63b?narHash=sha256-qtZgryFGC2ggWwFrKprKMNtk8h4WipnYVVdTfbMWtdM%3D' (2025-07-29)
  → 'github:nix-community/NUR/437fb78c1e96baaa1f8bd0fa0e339c9a07b2cdf8?narHash=sha256-1t0o%2BeheZOjnrdIwkdw2P/Vv0xBENME7l7f4yrvQXFE%3D' (2025-08-01)
2025-08-02 10:40:58 +01:00
df4a7bf521 Add git-repo-updater
All checks were successful
/ check (push) Successful in 1m41s
2025-08-01 10:22:21 +01:00
deae2b1055 Re-add vim-heritage
All checks were successful
/ check (push) Successful in 1m47s
2025-08-01 01:12:48 +01:00
69014b86c6 Update depth
All checks were successful
/ check (push) Successful in 1m47s
2025-08-01 00:45:00 +01:00
303af7a112 Add repo
All checks were successful
/ check (push) Successful in 1m39s
2025-08-01 00:24:53 +01:00
0ff9b934d3 Automated dev commit
All checks were successful
/ check (push) Successful in 1m47s
2025-08-01 00:00:27 +01:00
2cfb196c9c Add forgejo email address
All checks were successful
/ check (push) Successful in 1m42s
2025-07-31 19:51:19 +01:00
865c60d557 Make more things desktop only
All checks were successful
/ check (push) Successful in 1m45s
2025-07-31 19:48:30 +01:00
3bcf37f394 Start refactoring pc and desktop configurations
All checks were successful
/ check (push) Successful in 1m45s
2025-07-31 18:58:14 +01:00
a2e3cc96fb Add firmware module
All checks were successful
/ check (push) Successful in 1m49s
2025-07-31 17:10:11 +01:00
19359b1805 dev-commit: push the changes after committing
All checks were successful
/ check (push) Successful in 1m45s
2025-07-31 12:04:36 +01:00
0f145a892d Automated dev commit 2025-07-31 09:01:41 +01:00
bf5264d963 Remove additional space
All checks were successful
/ check (push) Successful in 1m45s
2025-07-30 17:19:25 +01:00
ffbfc56d07 Re-add ftplugin for markdown files 2025-07-30 17:19:20 +01:00
4c1ef1c01d Re-add ftplugin for gitcommit files 2025-07-30 17:19:14 +01:00
3c798cba51 Refactor inputs 2025-07-30 17:14:25 +01:00
c437a4f892 nixvim: refactor alternate file rules
All checks were successful
/ check (push) Successful in 1m50s
2025-07-30 00:14:05 +01:00
fe5c8259c8 Automated dev commit 2025-07-30 00:00:27 +01:00
7f451136fc nixvim: add alternate files for *.go and *_test.go
All checks were successful
/ check (push) Successful in 1m45s
2025-07-29 22:11:34 +01:00
a9b0c5c2b0 dev-commit: re-add the enable option 2025-07-29 22:11:29 +01:00
b57b037e69 Refactor
All checks were successful
/ check (push) Successful in 1m51s
2025-07-29 19:03:34 +01:00
d0f82c028e Use Home Manager path for zsh.dotDir
All checks were successful
/ check (push) Successful in 1m47s
> evaluation warning: opdavies profile: Using relative paths in programs.zsh.dotDir is deprecated and will be removed in a future release.
> Current dotDir: .config/zsh
> Consider using absolute paths or home-manager config options instead.
> You can replace relative paths or environment variables with options like:
> - config.home.homeDirectory (user's home directory)
> - config.xdg.configHome (XDG config directory)
> - config.xdg.dataHome (XDG data directory)
> - config.xdg.cacheHome (XDG cache directory)
2025-07-29 19:00:41 +01:00
3e7bf2721f Re-configure dev-commit 2025-07-29 19:00:41 +01:00
f48b81ecea Move tailscale configuration
All checks were successful
/ check (push) Successful in 1m47s
2025-07-29 13:19:07 +01:00
d5033260c9 Delete packages.nix
All checks were successful
/ check (push) Successful in 1m54s
2025-07-29 12:38:17 +01:00
f8489d5c72 nixvim: re-add vim-textobj-xmlattr 2025-07-29 12:38:17 +01:00
a218f5623c nixvim: re-add edit_alternate.vim 2025-07-29 12:38:17 +01:00
01cc01069b nixvim: move plugin configuration 2025-07-29 12:38:17 +01:00
60d1769903 Revert "opdavies: add new public key"
All checks were successful
/ check (push) Successful in 1m46s
This reverts commit 9a86dacf5e.
2025-07-29 12:37:37 +01:00
9a86dacf5e opdavies: add new public key
Some checks failed
/ check (push) Has been cancelled
2025-07-29 12:36:54 +01:00
flake-bot
1c3885196d flake.lock: Update
All checks were successful
/ check (push) Successful in 2m31s
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/a35f6b60430ff0c7803bd2a727df84c87569c167?narHash=sha256-Y1hAI9h%2B9DLBbgKvZBsHaeptFIcRw4iC6ySPmzyqmlM%3D' (2025-07-24)
  → 'github:nix-community/home-manager/50adf8fcaa97c9d64309f2d507ed8be54ea23110?narHash=sha256-mrVNT%2BaF4yR8P8Fx570W2vz%2BLzukSlf68Yr2YhUJHjo%3D' (2025-07-29)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/fafdcb505ba605157ff7a7eeea452bc6d6cbc23c?narHash=sha256-sX8Neff8lp3TCHai6QmgLr5AD8MdsQQX3b52C1DVXR8%3D' (2025-07-20)
  → 'github:nix-community/nix-index-database/f0736b09c43028fd726fb70c3eb3d1f0795454cf?narHash=sha256-y1JlcMB2dKFkrr6g%2BUcmj8L//IY09BtSKTH/A7OU7mU%3D' (2025-07-27)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/20001f9bf0aaf2b1c307e43a5eec8cf8f800fe14?narHash=sha256-ZNIpqCG/CfhmV%2BTgIeyO/XbhDjSWpwWokHM44j0Mn0w%3D' (2025-07-16)
  → 'github:nix-community/NixOS-WSL/58c814cc6d4a789191f9c12e18277107144b0c91?narHash=sha256-5E14xuNWy2Un1nFR55k68hgbnD8U2x/rE5DXJtYKusw%3D' (2025-07-28)
• Updated input 'nixos-wsl/nixpkgs':
    'github:NixOS/nixpkgs/1fd8bada0b6117e6c7eb54aad5813023eed37ccb?narHash=sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo%3D' (2025-07-06)
  → 'github:NixOS/nixpkgs/7fd36ee82c0275fb545775cc5e4d30542899511d?narHash=sha256-9h7%2B4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ%2BSJjk%3D' (2025-07-25)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/fc02ee70efb805d3b2865908a13ddd4474557ecf?narHash=sha256-i%2BCQV2rPmP8wHxj0aq4siYyohHwVlsh40kV89f3nw1s%3D' (2025-07-23)
  → 'github:nixos/nixpkgs/dc9637876d0dcc8c9e5e22986b857632effeb727?narHash=sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM%3D' (2025-07-28)
• Updated input 'nixvim':
    'github:nix-community/nixvim/0c50ed9349199219583cb1ed1a972d71e06039ec?narHash=sha256-59HcrqHfbSJUdmpzrAa9x8fW1PoS%2BZGhCjL5k5HbyV8%3D' (2025-07-20)
  → 'github:nix-community/nixvim/e1aa35fb04047df11a9c1ab539a0bac35ddad509?narHash=sha256-ZNyVwyj%2B4qvaOT/gQWfNypP8qtHmXtt02D9WDZH4IPU%3D' (2025-07-28)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/8dfe5879dd009ff4742b668d9c699bc4b9761742?narHash=sha256-L3x2nSlFkXkM6tQPLJP3oCBMIsRifhIDPMQQdHO5xWo%3D' (2025-06-12)
  → 'github:NuschtOS/search/40987cc1a24feba378438d691f87c52819f7bd75?narHash=sha256-Pmpke0JtLRzgdlwDC5a%2BaiLVZ11JPUO5Bcqkj0nHE/k%3D' (2025-07-25)
• Updated input 'nur':
    'github:nix-community/NUR/39f88cdba97e0384a2c69262ac4e29dd9e0c5faf?narHash=sha256-mbcUnDh5B/Mbl4vKIGJ89Dh5siM3T3xOIrItYcXpMjQ%3D' (2025-07-25)
  → 'github:nix-community/NUR/43b3643575b141f82fa21191f90e104d72e3f63b?narHash=sha256-qtZgryFGC2ggWwFrKprKMNtk8h4WipnYVVdTfbMWtdM%3D' (2025-07-29)
2025-07-29 07:01:15 +01:00
99484c6194 refactor: explicitly allow unfree packages
All checks were successful
/ check (push) Successful in 1m53s
2025-07-29 01:14:01 +01:00
4d470acfad Enable nh
All checks were successful
/ check (push) Successful in 1m44s
2025-07-29 00:08:13 +01:00
d818f3a2d7 Revert "refactor: explicitly allow unfree packages"
This reverts commit 5131641023.
2025-07-28 23:47:15 +01:00
5131641023 refactor: explicitly allow unfree packages 2025-07-28 23:36:48 +01:00
4ac31540af Re-add luasnip snippets
All checks were successful
/ check (push) Successful in 1m43s
2025-07-28 20:11:50 +01:00
dbf5bde36b Refactor 2025-07-28 19:39:41 +01:00
4eead1485f Refactor inputs
All checks were successful
/ check (push) Successful in 1m52s
2025-07-28 19:38:17 +01:00
88fa3eb0fd nixvim: enable language servers 2025-07-28 19:38:17 +01:00
48b88ff3ca Refactor 2025-07-28 19:38:17 +01:00
491aeb0c7e tmux-sessionizer: configure paths 2025-07-28 19:38:17 +01:00
451a624b76 hosts: add PW05CH3L
Add a NixOS module for the PW05CH3L host, and start to separate `pc` and
`workstation` as a lot of `flake.modules.nixos.pc` isn't needed in WSL.

This probably won't be the final implementation, but it works for now.
2025-07-28 19:38:17 +01:00
556de5e482 Move zsh configuration
All checks were successful
/ check (push) Successful in 1m38s
2025-07-28 02:43:35 +01:00
cff83d9373 Move starship configuration
All checks were successful
/ check (push) Successful in 1m43s
2025-07-28 02:25:36 +01:00
c36d1aeaa3 Move dev-commit configuration
All checks were successful
/ check (push) Successful in 1m48s
2025-07-28 02:11:41 +01:00
c3fa0ce6ce Move bookmarkthis configuration
All checks were successful
/ check (push) Successful in 1m37s
2025-07-28 02:00:52 +01:00
7cc7808154 Remove neovim/default.nix 2025-07-28 01:53:38 +01:00
5b00484567 Move node configuration
All checks were successful
/ check (push) Successful in 1m38s
2025-07-28 01:47:41 +01:00
3a6a2f0bcc Move gtk configuration
All checks were successful
/ check (push) Successful in 1m38s
2025-07-28 01:40:45 +01:00
aac84ce5b5 Move handbrake configuration
All checks were successful
/ check (push) Successful in 1m43s
2025-07-27 23:50:59 +01:00
4271993f2f Move firefox/librewolf configuration
All checks were successful
/ check (push) Successful in 1m41s
2025-07-27 23:47:39 +01:00
f2d2dc0a2b Move chromium configuration 2025-07-27 23:45:10 +01:00
be98bcad26 Move qutebrowser configuration 2025-07-27 23:44:50 +01:00
96b431de55 Move redshift configuration 2025-07-27 23:27:36 +01:00
e86ee0fce1 Remove screenkey configuration 2025-07-27 23:25:55 +01:00
487e116bac Move sxhkd configuration
All checks were successful
/ check (push) Successful in 1m49s
2025-07-27 22:15:49 +01:00
8d7d6115e3 Move ranger configuration
All checks were successful
/ check (push) Successful in 1m49s
2025-07-27 22:07:00 +01:00
cff6bf0167 Move mpv configuration
All checks were successful
/ check (push) Successful in 1m52s
2025-07-27 22:00:31 +01:00
cbd1f99bc7 Move direnv configuration
All checks were successful
/ check (push) Successful in 1m43s
2025-07-27 21:52:15 +01:00
2fd69f6266 Move flameshot configuration
All checks were successful
/ check (push) Successful in 1m47s
2025-07-27 21:38:40 +01:00
8ca7b4c806 Move and refactor dwm configuration
All checks were successful
/ check (push) Successful in 1m36s
2025-07-27 20:11:29 +01:00
679a090012 Move bluetuith configuration
All checks were successful
/ check (push) Successful in 1m37s
2025-07-27 19:45:14 +01:00
67609c4086 Move avahi configuration
All checks were successful
/ check (push) Successful in 1m36s
2025-07-27 19:08:20 +01:00
9dbf58c1b7 Move gnupg configuration 2025-07-27 18:56:46 +01:00
d19c5e6bcd Move and refactor Kanata configuration
All checks were successful
/ check (push) Successful in 1m41s
2025-07-27 18:49:06 +01:00
1be1e2dd8d Move st configuration
All checks were successful
/ check (push) Successful in 1m38s
2025-07-27 16:32:12 +01:00
9cc208d333 Move dconf configuration
All checks were successful
/ check (push) Successful in 1m35s
2025-07-27 16:22:19 +01:00
fa0bad904c Move phpactor configuration
All checks were successful
/ check (push) Successful in 1m42s
2025-07-26 23:21:37 +01:00
6c1b494e82 Move neovim/nixvim configuration 2025-07-26 23:21:37 +01:00
32e28379e2 Move pipewire configuration
All checks were successful
/ check (push) Successful in 1m48s
2025-07-26 22:37:03 +01:00
988dac6413 Move nix-index configuration
All checks were successful
/ check (push) Successful in 1m42s
2025-07-25 22:33:51 +01:00
96b467b7ed Move fzf configuration
All checks were successful
/ check (push) Successful in 1m36s
2025-07-25 22:28:15 +01:00
ccbe21a5c4 Move notes configuration
All checks were successful
/ check (push) Successful in 1m36s
2025-07-25 22:06:37 +01:00
ce3270b773 Move makemkv configuration 2025-07-25 21:29:51 +01:00
d31dcb54b6 Re-add steam 2025-07-25 20:46:37 +01:00
1265131377 Move zram configuration 2025-07-25 20:46:25 +01:00
flake-bot
9568e39d2c flake.lock: Update
All checks were successful
/ check (push) Successful in 1m52s
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/e4bf85da687027cfc4a8853ca11b6b86ce41d732?narHash=sha256-0i3jU9AHuNXb0wYGzImnVwaw%2BmiE0yW13qfjC0F%2BfIE%3D' (2025-07-21)
  → 'github:nix-community/home-manager/a35f6b60430ff0c7803bd2a727df84c87569c167?narHash=sha256-Y1hAI9h%2B9DLBbgKvZBsHaeptFIcRw4iC6ySPmzyqmlM%3D' (2025-07-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf?narHash=sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc%3D' (2025-07-19)
  → 'github:nixos/nixpkgs/fc02ee70efb805d3b2865908a13ddd4474557ecf?narHash=sha256-i%2BCQV2rPmP8wHxj0aq4siYyohHwVlsh40kV89f3nw1s%3D' (2025-07-23)
• Updated input 'nur':
    'github:nix-community/NUR/d2cc206a109d5025cebb63e370497ebec11406d8?narHash=sha256-e2m5LSKhwAh2HiwfvzyExrMb3XWUips3MuXpeiDdO7U%3D' (2025-07-22)
  → 'github:nix-community/NUR/39f88cdba97e0384a2c69262ac4e29dd9e0c5faf?narHash=sha256-mbcUnDh5B/Mbl4vKIGJ89Dh5siM3T3xOIrItYcXpMjQ%3D' (2025-07-25)
2025-07-25 10:45:19 +01:00
603a310d68 Move thunar configuration
All checks were successful
/ check (push) Successful in 1m33s
2025-07-25 10:43:30 +01:00
ce1fa163fd Move openssh configuration
All checks were successful
/ check (push) Successful in 1m34s
2025-07-25 10:33:49 +01:00
ad516fd7e0 Move xbanish configuration 2025-07-25 10:30:13 +01:00
37673680cd Make Docker toggleable 2025-07-25 02:13:01 +01:00
6728f32ffc Move ollama configuration
All checks were successful
/ check (push) Successful in 1m38s
2025-07-25 01:33:18 +01:00
9eca4f3e7b Move fonts configuration
All checks were successful
/ check (push) Successful in 1m36s
2025-07-25 00:29:49 +01:00
6a12ea4b0e Move password-store configuration
All checks were successful
/ check (push) Successful in 1m34s
2025-07-25 00:25:08 +01:00
a3e4cd0e13 Move Docker configuration
All checks were successful
/ check (push) Successful in 1m36s
2025-07-24 23:53:29 +01:00
1b360709f8 Refactor
All checks were successful
/ check (push) Successful in 1m37s
2025-07-24 23:43:49 +01:00
c77d7e4e55 Refactor 2025-07-24 23:40:59 +01:00
eb516819fa Move tmux-sessionizer configuration
All checks were successful
/ check (push) Successful in 1m34s
2025-07-24 23:35:49 +01:00
64b158ed2a Move tmux configuration 2025-07-24 22:24:47 +01:00
278b9eaea1 Move zeroad package 2025-07-24 21:32:20 +01:00
0259ea44f0 nix fmt
All checks were successful
/ check (push) Successful in 1m43s
2025-07-24 21:13:55 +01:00
e111506428 Refactor Git configuration 2025-07-24 21:13:40 +01:00
8947c4abd2 Move initial Home Manager configuration 2025-07-24 20:22:20 +01:00
bf8e3628d0 Remove import for a deleted file
All checks were successful
/ check (push) Successful in 1m35s
2025-07-23 23:26:54 +01:00
9bdb9f5977 Remove /at path
Some checks failed
/ check (push) Failing after 47s
2025-07-23 22:32:15 +01:00
7a1b7d2e8a Revert "Fix /atdc URL"
This reverts commit 2a859293a9.
2025-07-23 22:31:59 +01:00
2a859293a9 Fix /atdc URL
Some checks failed
/ check (push) Failing after 48s
2025-07-23 19:26:21 +01:00
df5834fcaf Add lemp11 and t490 hosts 2025-07-23 19:26:21 +01:00
d305535b01 Refactor bluetooth configuration 2025-07-23 19:26:21 +01:00
d9cd7821a1 Add README.md 2025-07-23 19:26:21 +01:00
374e5680e2 Extract systems 2025-07-23 19:26:20 +01:00
59403e4660 Move flake-modules to modules2
All checks were successful
/ check (push) Successful in 1m28s
Move flake-modules to modules2 so they are automatically imported by
import-tree.
2025-07-23 12:38:52 +01:00
flake-bot
d34e78f8ba flake.lock: Update
All checks were successful
/ check (push) Successful in 1m54s
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/d5ad4485e6f2edcc06751df65c5e16572877db88?narHash=sha256-PkaR0qmyP9q/MDN3uYa%2BRLeBA0PjvEQiM0rTDDBXkL8%3D' (2025-07-17)
  → 'github:nix-community/disko/545aba02960caa78a31bd9a8709a0ad4b6320a5c?narHash=sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb%2BmYCodI5uuB8%3D' (2025-07-21)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/77826244401ea9de6e3bac47c2db46005e1f30b5?narHash=sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ%3D' (2025-07-01)
  → 'github:hercules-ci/flake-parts/644e0fc48951a860279da645ba77fe4a6e814c5e?narHash=sha256-TVcTNvOeWWk1DXljFxVRp%2BE0tzG1LhrVjOGGoMHuXio%3D' (2025-07-21)
• Updated input 'home-manager':
    'github:nix-community/home-manager/d0300c8808e41da81d6edfc202f3d3833c157daf?narHash=sha256-irfg7lnfEpJY%2B3Cffkluzp2MTVw1Uq9QGxFp6qadcXI%3D' (2025-07-18)
  → 'github:nix-community/home-manager/e4bf85da687027cfc4a8853ca11b6b86ce41d732?narHash=sha256-0i3jU9AHuNXb0wYGzImnVwaw%2BmiE0yW13qfjC0F%2BfIE%3D' (2025-07-21)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/839e02dece5845be3a322e507a79712b73a96ba2?narHash=sha256-FMH1OSSJp8Cx8MZHXz6KckxJGbCnVMotZNAH3v2WneU%3D' (2025-07-13)
  → 'github:nix-community/nix-index-database/fafdcb505ba605157ff7a7eeea452bc6d6cbc23c?narHash=sha256-sX8Neff8lp3TCHai6QmgLr5AD8MdsQQX3b52C1DVXR8%3D' (2025-07-20)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/d1bfa8f6ccfb5c383e1eba609c1eb67ca24ed153?narHash=sha256-P8J72psdc/rWliIvp8jUpoQ6qRDlVzgSDDlgkaXQ0Fw%3D' (2025-07-16)
  → 'github:NixOS/nixos-hardware/cc66fddc6cb04ab479a1bb062f4d4da27c936a22?narHash=sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM%3D' (2025-07-21)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/6e987485eb2c77e5dcc5af4e3c70843711ef9251?narHash=sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo%3D' (2025-07-16)
  → 'github:nixos/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf?narHash=sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc%3D' (2025-07-19)
• Updated input 'nixvim':
    'github:nix-community/nixvim/60556b5df9b70b7be88de760e695892b9ce74b9e?narHash=sha256-7nBFB2r9E0SyrEbUmZYDVAPkghTpkbgiWywZHvUjGew%3D' (2025-07-19)
  → 'github:nix-community/nixvim/0c50ed9349199219583cb1ed1a972d71e06039ec?narHash=sha256-59HcrqHfbSJUdmpzrAa9x8fW1PoS%2BZGhCjL5k5HbyV8%3D' (2025-07-20)
• Updated input 'nur':
    'github:nix-community/NUR/650ca8274beb7dc230dc251d677d0b99d4951199?narHash=sha256-yIgIUORVWZzvN61H8JbDYt3kGisy%2BOiG/Ro8mpg8uAE%3D' (2025-07-19)
  → 'github:nix-community/NUR/d2cc206a109d5025cebb63e370497ebec11406d8?narHash=sha256-e2m5LSKhwAh2HiwfvzyExrMb3XWUips3MuXpeiDdO7U%3D' (2025-07-22)
2025-07-22 07:01:05 +01:00
cd41331d21 Update to gimp3
All checks were successful
/ check (push) Successful in 1m46s
2025-07-20 14:57:45 +01:00
flake-bot
61eeb52438 flake.lock: Update
All checks were successful
/ check (push) Successful in 2m4s
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/79264292b7e3482e5702932949de9cbb69fedf6d?narHash=sha256-7LYDxKxZgBQ8LZUuolAQ8UkIB%2Bjb4A2UmiR%2BkzY9CLI%3D' (2025-07-10)
  → 'github:nix-community/disko/d5ad4485e6f2edcc06751df65c5e16572877db88?narHash=sha256-PkaR0qmyP9q/MDN3uYa%2BRLeBA0PjvEQiM0rTDDBXkL8%3D' (2025-07-17)
• Updated input 'home-manager':
    'github:nix-community/home-manager/1e54837569e0b80797c47be4720fab19e0db1616?narHash=sha256-4kaR%2Bxmng9YPASckfvIgl5flF/1nAZOplM%2BWp9I5SMI%3D' (2025-07-14)
  → 'github:nix-community/home-manager/d0300c8808e41da81d6edfc202f3d3833c157daf?narHash=sha256-irfg7lnfEpJY%2B3Cffkluzp2MTVw1Uq9QGxFp6qadcXI%3D' (2025-07-18)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/7ced9122cff2163c6a0212b8d1ec8c33a1660806?narHash=sha256-gATnkOe37eeVwKKYCsL%2BOnS2gU4MmLuZFzzWCtaKLI8%3D' (2025-07-09)
  → 'github:NixOS/nixos-hardware/d1bfa8f6ccfb5c383e1eba609c1eb67ca24ed153?narHash=sha256-P8J72psdc/rWliIvp8jUpoQ6qRDlVzgSDDlgkaXQ0Fw%3D' (2025-07-16)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/d34d9412556d3a896e294534ccd25f53b6822e80?narHash=sha256-xSBMmGtq8K4Qv80TMqREmESCAsRLJRHAbFH2T/2Bf1Y%3D' (2025-07-11)
  → 'github:nix-community/NixOS-WSL/20001f9bf0aaf2b1c307e43a5eec8cf8f800fe14?narHash=sha256-ZNIpqCG/CfhmV%2BTgIeyO/XbhDjSWpwWokHM44j0Mn0w%3D' (2025-07-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9807714d6944a957c2e036f84b0ff8caf9930bc0?narHash=sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X%2BxgOL0%3D' (2025-07-08)
  → 'github:nixos/nixpkgs/6e987485eb2c77e5dcc5af4e3c70843711ef9251?narHash=sha256-RKwfXA4OZROjBTQAl9WOZQFm7L8Bo93FQwSJpAiSRvo%3D' (2025-07-16)
• Updated input 'nixvim':
    'github:nix-community/nixvim/eeec7f7c31f84b33d3c52365b073e06c21104521?narHash=sha256-n5DPC4%2BlI9/gM0cdogohOUjiz50jhZ5l%2BXg5Ucrj76w%3D' (2025-07-13)
  → 'github:nix-community/nixvim/60556b5df9b70b7be88de760e695892b9ce74b9e?narHash=sha256-7nBFB2r9E0SyrEbUmZYDVAPkghTpkbgiWywZHvUjGew%3D' (2025-07-19)
• Updated input 'nur':
    'github:nix-community/NUR/6e3de6093a24744f2608840cef9d376e3e946743?narHash=sha256-jC19wFMetNg0%2BAgXKFN2UUYI1VSmFbMNGIACz865ieY%3D' (2025-07-14)
  → 'github:nix-community/NUR/650ca8274beb7dc230dc251d677d0b99d4951199?narHash=sha256-yIgIUORVWZzvN61H8JbDYt3kGisy%2BOiG/Ro8mpg8uAE%3D' (2025-07-19)
2025-07-20 00:46:14 +01:00
e72b417812 Automatically update flake.lock
All checks were successful
/ check (push) Successful in 1m41s
2025-07-20 00:39:40 +01:00
c832fa2958 Add import-tree 2025-07-18 00:56:19 +01:00
50b6899893 Add $HOME/tmp directory
All checks were successful
/ check (push) Successful in 1m41s
2025-07-17 23:23:11 +01:00
d1a58fec56 Flatten modules 2025-07-17 21:47:19 +01:00
ab5ae74dda Update forgejo settings 2025-07-17 20:37:44 +01:00
198c2e9d59 Add nix-index-database
All checks were successful
/ check (push) Successful in 1m42s
2025-07-17 12:49:48 +01:00
ca1160b317 Remove patch
All checks were successful
/ check (push) Successful in 1m37s
2025-07-17 12:11:21 +01:00
21e54a64ce Group notes in sub-directories by year and month
All checks were successful
/ check (push) Successful in 1m34s
2025-07-16 00:57:10 +01:00
2870a256da Add zet-new script
All checks were successful
/ check (push) Successful in 1m40s
2025-07-15 13:46:04 +01:00
722a5814fa Shorten directory paths
All checks were successful
/ check (push) Successful in 1m34s
2025-07-15 09:49:11 +01:00
e3caa91477 Update patch
All checks were successful
/ check (push) Successful in 1m37s
2025-07-15 09:34:25 +01:00
7d4196e9fd Revert "Serve /daily from Tome"
This reverts commit fc8bdf3bce.
2025-07-15 01:37:25 +01:00
caeb674cbb Update patch
All checks were successful
/ check (push) Successful in 1m32s
2025-07-14 21:10:53 +01:00
0cdca7d5a1 flake update
All checks were successful
/ check (push) Successful in 1m46s
2025-07-14 12:02:36 +01:00
777e9a6a4c Add import-to-jellyfin script
All checks were successful
/ check (push) Successful in 3m25s
2025-07-13 23:17:44 +01:00
a9e3ec7ada Add neovim 2025-07-13 23:15:31 +01:00
e24f8f8f0a nixedo: add vix 2025-07-13 23:12:58 +01:00
d4e5faf6c4 Add git-exclude
A Git commit that easily excludes files by adding them to
`.git/info/exclude`.
2025-07-12 17:39:44 +01:00
a620888277 Refactor
All checks were successful
/ check (push) Successful in 1m45s
2025-07-12 16:33:50 +01:00
19dbcc89f4 Enable Treesitter highlights 2025-07-12 16:33:20 +01:00
d10157725f Remove column
All checks were successful
/ check (push) Successful in 2m2s
2025-07-11 18:58:01 +01:00
21bbb4a32e Rename
All checks were successful
/ check (push) Successful in 1m52s
2025-07-11 18:34:25 +01:00
adfe90c99b Add get-tags and count-tags scripts
All checks were successful
/ check (push) Successful in 1m38s
Add `get-tags` and `count-tags` scripts to get and count Git tags within
a repository, including the ability to filter tags - e.g. only get or
count tags that begin with a certain date.
2025-07-11 12:28:42 +01:00
559d5239c5 Add vix command
All checks were successful
/ check (push) Successful in 1m37s
Based on https://github.com/rwxrob/dot/blob/main/scripts/vic and
https://github.com/etomtomm/dot/blob/main/bin/vix.
2025-07-11 11:46:01 +01:00
81a939e897 Remove todo scripts
All checks were successful
/ check (push) Successful in 1m45s
2025-07-11 11:33:25 +01:00
839779236c Re-add todos-edit
Some checks failed
/ check (push) Has been cancelled
2025-07-11 10:07:09 +01:00
2bd14ac1a8 Add git-graph script
All checks were successful
/ check (push) Successful in 1m41s
2025-07-11 02:00:52 +01:00
3c76e2edea Add time-until script
All checks were successful
/ check (push) Successful in 1m36s
2025-07-11 01:50:28 +01:00
263d8e7cd3 Re-enable create-script 2025-07-11 01:40:00 +01:00
e5ae3a4be7 Add timer script
All checks were successful
/ check (push) Successful in 1m40s
Based on
6b71b580de/bin/timer
and
6b71b580de/bin/_timer.
2025-07-11 01:31:02 +01:00
c676972d0b Add yt-dlp 2025-07-11 00:39:08 +01:00
1ba47150d1 Move qrencode 2025-07-10 23:02:21 +01:00
6a87e455bd nix fmt
All checks were successful
/ check (push) Successful in 1m39s
2025-07-10 22:55:59 +01:00
b32493780d Delete ports.nix 2025-07-10 22:53:39 +01:00
5341b761ad Combine scripts and custom packages
All checks were successful
/ check (push) Successful in 1m40s
2025-07-10 22:51:55 +01:00
7780eca7a9 Refactor todos-add, remove todos-edit 2025-07-10 22:28:33 +01:00
1574605360 Remove nvim-autopairs
All checks were successful
/ check (push) Successful in 2m5s
2025-07-10 21:51:52 +01:00
dfebe131a6 Move scripts to Nix files
Move the scripts I commonly use into Nix files managed by Home Manager.

Some, like `mounter` and `unmounter` are desktop-only, but this can be
addressed in a future commit to create per-host scripts or
desktop/non-desktop scripts.

This commit also removes a number of unused scripts that are either
included in packages like `git-extras` or aren't used.
2025-07-10 16:33:43 +01:00
0b437adccc flake update 2025-07-10 12:51:52 +01:00
acb5cf654c Add weather function 2025-07-10 12:30:22 +01:00
4f4e959c07 Update search paths
All checks were successful
/ check (push) Successful in 1m41s
2025-07-09 18:17:12 +01:00
52821346ba Refactor
All checks were successful
/ check (push) Successful in 1m37s
2025-07-09 13:37:03 +01:00
45433358ff Re-add the features config prefix 2025-07-09 12:03:12 +01:00
34cb9db3d4 Remove unused argument 2025-07-09 12:03:12 +01:00
b66a493ed9 Update search paths
Using the `path:number` format defines both the path and search depth.
2025-07-09 12:03:03 +01:00
7b3ab11048 Update patch to sort directories 2025-07-09 12:02:42 +01:00
b69bc249bc Add notes.txt
All checks were successful
/ check (push) Successful in 1m34s
2025-07-09 07:56:54 +01:00
27b66a9ff0 Rename nixvim package to neovim
Some checks failed
/ check (push) Has been cancelled
2025-07-09 07:50:57 +01:00
72decc18fe Refactor
All checks were successful
/ check (push) Successful in 1m33s
2025-07-09 06:59:19 +01:00
d18476da73 Refactor
All checks were successful
/ check (push) Successful in 1m27s
2025-07-09 06:54:21 +01:00
5227e82c15 Refactor
All checks were successful
/ check (push) Successful in 1m27s
2025-07-09 06:50:07 +01:00
93566f658c Refactor 2025-07-09 06:48:20 +01:00
26072b5cff Extract flake modules
All checks were successful
/ check (push) Successful in 1m28s
2025-07-09 02:35:21 +01:00
f02ace1040 Extract mkNixosConfiguration helper 2025-07-09 02:03:54 +01:00
c134aaeb1b Refactor to flake-parts 2025-07-09 02:03:14 +01:00
17146923b4 Remove vim-tmux-navigator
All checks were successful
/ check (push) Successful in 1m40s
2025-07-08 22:57:06 +01:00
099bef6fa9 Add tmux-resurrect
Restore tmux environment after system restart.

https://github.com/tmux-plugins/tmux-resurrect
2025-07-08 22:55:13 +01:00
a93f2ecc28 agenix follows nixpkgs
All checks were successful
/ check (push) Successful in 1m38s
2025-07-08 13:45:18 +01:00
288bc80f1e nur follows nixpkgs
All checks were successful
/ check (push) Successful in 2m14s
2025-07-08 13:42:12 +01:00
ff4d3cd026 flake update 2025-07-08 13:40:27 +01:00
4e96379717 Re-sort directories alphabetically
All checks were successful
/ check (push) Successful in 1m35s
PR submitted upstream: https://github.com/ThePrimeagen/tmux-sessionizer/pull/23.
2025-07-07 23:53:04 +01:00
2c66524d18 Update tmux-sessionizer
All checks were successful
/ check (push) Successful in 1m47s
2025-07-07 22:04:13 +01:00
533b8db65f Refactor
All checks were successful
/ check (push) Successful in 1m36s
2025-07-06 20:52:32 +01:00
8b37a1fa19 Re-add missing demo/example websites 2025-07-04 10:01:32 +01:00
1e088c5289 Create 2025.oliverdavies.uk subdomain
All checks were successful
/ check (push) Successful in 1m29s
2025-07-04 08:49:21 +01:00
fc8bdf3bce Serve /daily from Tome 2025-07-04 08:49:04 +01:00
8732ff783d Refactor
All checks were successful
/ check (push) Successful in 1m39s
2025-07-02 22:17:28 +01:00
25843c658d Add magic-wormhole
All checks were successful
/ check (push) Successful in 1m32s
Get things from one computer to another, safely.

https://github.com/magic-wormhole/magic-wormhole
https://magic-wormhole.readthedocs.io
2025-07-02 14:53:53 +01:00
776ace468b Add git-extras
All checks were successful
/ check (push) Successful in 1m27s
2025-07-02 09:15:51 +01:00
d6569a1a8b Serve /automated-testing from Tome
All checks were successful
/ check (push) Successful in 1m42s
2025-07-02 07:54:35 +01:00
87e85adc8a Remove ly
All checks were successful
/ check (push) Successful in 1m56s
2025-07-01 07:31:03 +01:00
aba3a5f95f flake update
All checks were successful
/ check (push) Successful in 1m53s
2025-07-01 07:27:25 +01:00
fa27d1c73a Remove session commands
All checks were successful
/ check (push) Successful in 1m31s
2025-07-01 07:00:29 +01:00
0fe65b8d33 Add mealie
All checks were successful
/ check (push) Successful in 1m37s
2025-06-29 13:36:33 +01:00
501683c5ab Add gba abbreviation
All checks were successful
/ check (push) Successful in 1m27s
2025-06-28 10:23:23 +01:00
1fa05e8917 Disable dev-commit
All checks were successful
/ check (push) Successful in 1m25s
2025-06-28 10:18:53 +01:00
dde3390c3f Automated dev commit
All checks were successful
/ check (push) Successful in 1m28s
2025-06-28 09:45:52 +01:00
994b2e2b87 Unpin some pinned packages
All checks were successful
/ check (push) Successful in 1m37s
2025-06-28 00:10:59 +01:00
a8c0cf5e63 flake update
Some checks failed
/ check (push) Has been cancelled
2025-06-27 23:57:24 +01:00
acbd5f6c44 Update repo path
All checks were successful
/ check (push) Successful in 1m48s
2025-06-27 08:55:08 +01:00
57ee43c455 Automated dev commit
All checks were successful
/ check (push) Successful in 1m41s
2025-06-27 01:23:16 +01:00
2eaf0985ec Automated dev commit
All checks were successful
/ check (push) Successful in 1m40s
2025-06-27 01:12:06 +01:00
9b5529337c Automated dev commit
All checks were successful
/ check (push) Successful in 1m42s
2025-06-27 01:06:17 +01:00
8a9bc42458 flake update
All checks were successful
/ check (push) Successful in 2m16s
2025-06-25 21:38:10 +01:00
f0f757ea77 Refactor Immich configuration
All checks were successful
/ check (push) Successful in 1m29s
2025-06-24 18:14:16 +01:00
88781bae05 Refactor forgejo configuration
All checks were successful
/ check (push) Successful in 1m31s
2025-06-24 18:02:47 +01:00
1ea1cc02bb Refactor jellyfin configuration 2025-06-24 17:52:10 +01:00
d25628813b Automated dev commit
All checks were successful
/ check (push) Successful in 1m38s
2025-06-24 00:00:42 +01:00
b691b02deb flake update
All checks were successful
/ check (push) Successful in 1m28s
2025-06-22 14:44:00 +01:00
b926a50119 Automated dev commit
All checks were successful
/ check (push) Successful in 1m41s
2025-06-22 10:57:37 +01:00
f54d82ca22 Rename app from nvim to nixvim
All checks were successful
/ check (push) Successful in 1m55s
2025-06-21 14:01:04 +01:00
3e4cc8eca6 Ignore files in the .git directory 2025-06-21 13:14:22 +01:00
140ff34900 Find hidden files 2025-06-21 13:13:00 +01:00
09d8f6fbcf Add vim-cool
Automatically disable `hlsearch` once a search is complete.

https://github.com/romainl/vim-cool
2025-06-21 12:34:51 +01:00
6683761177 Automated dev commit
All checks were successful
/ check (push) Successful in 2m9s
2025-06-16 19:08:05 +01:00
9b1b29e200 Automated dev commit
All checks were successful
/ check (push) Successful in 1m25s
2025-06-16 09:34:30 +01:00
7e9e3fe254 Add todo.txt
All checks were successful
/ check (push) Successful in 1m34s
2025-06-16 00:24:42 +01:00
cd1b85d92d Automated dev commit
All checks were successful
/ check (push) Successful in 1m38s
2025-06-16 00:00:35 +01:00
aee90917d9 Don't automatically save/close Harpoon windows
All checks were successful
/ check (push) Successful in 1m26s
2025-06-13 01:36:54 +01:00
003ed12e84 Enable auto-save.nvim
All checks were successful
/ check (push) Successful in 1m49s
https://nix-community.github.io/nixvim/plugins/auto-save/index.html
https://github.com/okuuva/auto-save.nvim
2025-06-12 13:59:21 +01:00
08d31dbdd4 Re-add scrolloff 2025-06-12 13:06:35 +01:00
2d6166477b Sort results in an ascending order 2025-06-12 13:04:57 +01:00
77bce04e39 Refactor 2025-06-12 13:00:10 +01:00
9b54b177af Re-add mapping to run current_buffer_fuzzy_find
All checks were successful
/ check (push) Successful in 1m27s
2025-06-12 12:18:09 +01:00
a068e0481f Add an nvim package
Now I can run `nix run .#nvim` to run Neovim with any configuration
changes without having to rebuild my whole NixOS configuration.
2025-06-12 12:15:56 +01:00
e65f3e42a5 Re-add LSP keymaps 2025-06-12 12:13:49 +01:00
e1bd0932f8 Fix keymap mode 2025-06-12 12:13:49 +01:00
153b6f6f1c flake update
All checks were successful
/ check (push) Successful in 2m26s
2025-06-12 09:12:03 +01:00
4af6cb9893 Add comma
> Comma runs software without installing it.
>
> Basically it just wraps together nix shell -c and nix-index. You stick a , in front of a command to run it from whatever location it happens to occupy in nixpkgs without really thinking about it.

https://github.com/nix-community/comma
2025-06-12 08:51:14 +01:00
10a0c3d3a0 Re-add jk keymap to go back to normal mode
All checks were successful
/ check (push) Successful in 1m35s
2025-06-11 16:30:34 +01:00
233985bc33 Experiment with nvim-autopairs 2025-06-11 16:28:43 +01:00
b5b63211dc Add yt search engine to search YouTube 2025-06-11 00:54:49 +01:00
22173cc76b Configure filetypes
All checks were successful
/ check (push) Successful in 1m17s
2025-06-10 13:47:40 +01:00
3ca167aa70 Re-add signcolumn
All checks were successful
/ check (push) Successful in 1m19s
2025-06-10 13:20:44 +01:00
d234775406 Add keymaps
All checks were successful
/ check (push) Successful in 1m24s
2025-06-10 12:36:46 +01:00
d4334296c9 Re-add redshift
All checks were successful
/ check (push) Successful in 1m21s
2025-06-09 22:43:56 +01:00
8e3eceb110 Refactor imports 2025-06-09 22:15:34 +01:00
9f57068259 Add chromium 2025-06-09 21:50:17 +01:00
e2b435efb1 Make keymaps silent
All checks were successful
/ check (push) Successful in 1m27s
2025-06-08 17:49:53 +01:00
4b90a9d63f Don't automatically push tags 2025-06-08 13:23:13 +01:00
7c929002a9 Fix keymap
All checks were successful
/ check (push) Successful in 5m27s
2025-06-06 23:12:21 +01:00
36203f79f3 Add git-trim
All checks were successful
/ check (push) Successful in 1m34s
2025-06-06 16:48:40 +01:00
ecd2869bf1 flake update
All checks were successful
/ check (push) Successful in 1m44s
2025-06-06 16:41:57 +01:00
ecb2a05d60 Use nixvim 2025-06-06 16:35:16 +01:00
f0217e4640 Pin mpv to nixpkgs stable
All checks were successful
/ check (push) Successful in 1m38s
The unstable version is showing a blue screen instead of the video.
2025-06-04 00:26:11 +01:00
424c5e9127 Add names to external patches
All checks were successful
/ check (push) Successful in 1m9s
2025-06-02 00:25:50 +01:00
5467ae123f Refactor inputs 2025-06-01 23:22:09 +01:00
ddc74bda3e Refactor imports and remove default.nix files
All checks were successful
/ check (push) Successful in 1m14s
2025-06-01 23:20:00 +01:00
060f94636b Remove README.md
All checks were successful
/ check (push) Successful in 1m24s
2025-06-01 17:42:56 +01:00
b911a3875c Add desktop/window manager
Some checks failed
/ check (push) Has been cancelled
2025-06-01 17:42:14 +01:00
b4ef81c97f flake update
All checks were successful
/ check (push) Successful in 1m39s
2025-06-01 17:18:58 +01:00
a60f3996f4 Reorder
All checks were successful
/ check (push) Successful in 1m19s
2025-06-01 15:21:20 +01:00
22264fb82e Refactor inputs
All checks were successful
/ check (push) Successful in 1m11s
Move them to each host's configuration.nix file and keep flake.nix
shorter and cleaner.
2025-06-01 15:13:20 +01:00
3437a7479a Override homelab local URLs
All checks were successful
/ check (push) Successful in 1m23s
2025-05-31 22:34:36 +01:00
03b44b5d47 flake update
All checks were successful
/ check (push) Successful in 1m7s
2025-05-31 19:55:31 +01:00
0b543c51e6 Run setbg after login 2025-05-31 13:44:17 +01:00
cd597828c5 Fix wallpaper path 2025-05-31 13:38:23 +01:00
dbbd356929 Fix sxhkd service not starting 2025-05-31 13:25:46 +01:00
9746fb8934 Enable ly display manager
startx is hanging on tty1, but ly works so I'm enabling it temporarily
so I can log in to dwm.
2025-05-31 13:03:41 +01:00
0fdac5f9a8 Fix wallpaper path 2025-05-31 12:29:35 +01:00
ae6d6fa4e0 Add dmenu integration for tmux-sessionizer
All checks were successful
/ check (push) Successful in 1m19s
2025-05-30 12:13:19 +01:00
8f5acb2fdb Move keybinds from dwm to sxhkd
All checks were successful
/ check (push) Successful in 1m25s
2025-05-29 17:00:38 +01:00
29e7c49611 flake update 2025-05-29 16:59:56 +01:00
2ee64dbfab Remove unused imports 2025-05-29 08:57:43 +01:00
b7bb69a371 Update directories to search
All checks were successful
/ check (push) Successful in 1m31s
2025-05-28 20:18:22 +01:00
3b7af684c0 Shorten and sort directory paths 2025-05-28 20:18:01 +01:00
a50ea1d336 Add an abbreviation for pushing Git tags
All checks were successful
/ check (push) Successful in 1m25s
2025-05-28 13:16:43 +01:00
8e8396836d Add URL 2025-05-26 20:29:01 +01:00
a994777ba6 Load all podcast pages from Tome
All checks were successful
/ check (push) Successful in 1m30s
2025-05-26 00:54:42 +01:00
098e9f4816 Refactor sxhkd to its own module 2025-05-25 15:13:25 +01:00
cb01fe8fe7 Try setting longer hold times for some keys 2025-05-25 12:12:29 +01:00
0c9c145abc Re-add kanata as a NixOS module for home row mods
https://www.youtube.com/watch?v=sLWQ4Gx88h4
https://www.youtube.com/watch?v=4yiMbP_ZySQ
2025-05-25 12:07:23 +01:00
99e0a8343f Add keybinds to execute common command-line tools 2025-05-25 11:46:40 +01:00
413e112395 Add new path 2025-05-25 11:18:57 +01:00
767f6af615 Add sxhkd to control brightness keys
All checks were successful
/ check (push) Successful in 2m4s
2025-05-25 08:49:39 +01:00
08a81b2b66 Open todo.txt in a new tab
All checks were successful
/ check (push) Successful in 1m7s
2025-05-23 11:28:04 +01:00
e62dfdde38 Serve the new podcast episode from Tome
All checks were successful
/ check (push) Successful in 1m9s
Now the Podcast Episode content type and the first episode node has been
created, serve the new episode from Tome.

It won't appear on the episode listing page at /podcast, but I'll
recreate that once I've migrated the existing episodes to Tome, or I can
manually add it to the listing page by editing the HTML rather than
re-generating the page with Sculpin as it would confuse the commit
history in this project - which I want to keep intact.
2025-05-23 11:07:38 +01:00
b3f45b143b Move xserver service configuration 2025-05-22 12:39:19 +01:00
66474335ff Add keymaps to open and search my wiki and notes
All checks were successful
/ check (push) Successful in 1m9s
2025-05-22 08:56:52 +01:00
cb5a6aa05c Configure lua-language-server and nixd 2025-05-22 08:56:52 +01:00
6e4c690e5d Remove global formatters and linters
All checks were successful
/ check (push) Successful in 1m12s
Following commit 724753327, this removes all global formatters and
linters so I can move them into project-specific flake.nix and .nvim.lua
files.
2025-05-22 08:38:49 +01:00
10bb187e7f Add a keymap to find files within neovim config
All checks were successful
/ check (push) Successful in 1m35s
2025-05-21 18:29:06 +01:00
59fd01f155 Remove some Vim plugins
I'm not sure if or how much I use these.
2025-05-21 18:29:06 +01:00
724753327c Remove global tools and language servers
Re-add them as needed for each specific project using each project's
flake.nix file.
2025-05-21 18:28:24 +01:00
e654473e97 flake update
All checks were successful
/ check (push) Successful in 2m13s
2025-05-19 08:54:30 +01:00
935c099c31 Remove unused plugins 2025-05-19 08:29:12 +01:00
24fc8e6845 Create scripts to add to and edit daily todo files
All checks were successful
/ check (push) Successful in 1m21s
2025-05-14 22:46:00 +01:00
3a8388b09f Refactor
All checks were successful
/ check (push) Successful in 1m22s
2025-05-14 20:54:30 +01:00
adcb941c6d Return early for ~/Code/work repositories 2025-05-14 20:53:54 +01:00
51b91cbf2b Add jitsi-meet (work in progress)
All checks were successful
/ check (push) Successful in 1m36s
2025-05-14 08:21:57 +01:00
e5791f5c7e Refactor
All checks were successful
/ check (push) Successful in 1m25s
2025-05-13 16:10:59 +01:00
f31843b371 flake update
All checks were successful
/ check (push) Successful in 1m28s
2025-05-12 20:07:51 +01:00
11a04abc96 Migrate daily email feed to Tome 2025-05-12 20:07:51 +01:00
c2eead8fdf Add nixpad configuration
The initial step of grouping lemp11 and t490 configuration, inspired by
https://github.com/mkellyxp/nixbook.
2025-05-12 20:07:51 +01:00
fd5dbd1fd2 Simplify T490 configuration 2025-05-12 18:49:52 +01:00
9af4a7dca1 Migrate homelab page to Tome
All checks were successful
/ check (push) Successful in 1m36s
2025-05-11 15:03:16 +01:00
cbcfdaf121 Migrate daily email pages to Tome 2025-05-11 15:03:00 +01:00
889c62da5c Fix revision
All checks were successful
/ check (push) Successful in 1m59s
2025-05-09 23:34:43 +01:00
56b5f099fc Refactor to only download displayselect, not the
...whole repository
2025-05-09 23:34:43 +01:00
9fa76b531a Re-map left and right arrows 2025-05-09 22:17:16 +01:00
2e6f381772 Add rst keymaps for adding text annotations/notes
Used for adding speaker notes to presentation slides with rst2pdf.
2025-05-09 22:16:31 +01:00
55f57ddd26 Add mastodon (work in progress) 2025-05-09 22:15:02 +01:00
d30cba946f Add git log abbreviations
All checks were successful
/ check (push) Successful in 3m4s
2025-05-09 20:05:45 +01:00
afbb5efd54 flake update 2025-05-09 20:05:45 +01:00
a09a3c21fb Don't open the default st with dwm
I need the version with my configuration, not the default one.
2025-05-09 20:05:45 +01:00
ea5e026a12 Add keymaps to turn lines into a rst list
All checks were successful
/ check (push) Successful in 1m37s
2025-05-08 23:44:20 +01:00
47841e3b26 Add keybinds to edit regular files 2025-05-08 22:23:25 +01:00
548181779e Add Sculpin abbreviations 2025-05-08 21:55:41 +01:00
e1e4bba0ec Add a snippet to scaffold a new flake.nix file
All checks were successful
/ check (push) Successful in 1m33s
2025-05-08 20:58:50 +01:00
c76a28d6b4 Add keymaps to turn lines into a plain text list
All checks were successful
/ check (push) Successful in 1m28s
2025-05-08 18:14:36 +01:00
b4e470961a Add git push abbreviations 2025-05-08 18:09:18 +01:00
899486ac14 Remove icons
All checks were successful
/ check (push) Successful in 1m40s
2025-05-08 13:03:27 +01:00
3b3fb90b7a Add abbreviations for the just command
All checks were successful
/ check (push) Successful in 1m22s
2025-05-08 12:52:50 +01:00
1293883fa1 Add abbreviations for the find command 2025-05-08 12:52:09 +01:00
7461f3b25e Automatically open new scripts after creating them 2025-05-08 12:49:28 +01:00
d74744190b Update triggers
All checks were successful
/ check (push) Successful in 3m22s
2025-05-07 13:46:18 +01:00
a5417282da Add a snippet for adding homepage options to a
...module
2025-05-07 13:45:24 +01:00
c1d0a41346 Enable peertube 2025-05-07 01:14:01 +01:00
572c58bf3b Fix localhost URL 2025-05-06 23:52:22 +01:00
b2ff96aa9e Add bookmark this script
All checks were successful
/ check (push) Successful in 1m12s
Based on Luke Smith's script created during his "Bookmarking for Unix
Chads (For Browsers, Terminals, IDEs and everything else)" video.

https://videos.lukesmith.xyz/w/o5fiME4oJMdVzwSu7mA9mc
2025-05-06 23:18:14 +01:00
9215133b9f Move snippets file 2025-05-06 20:53:53 +01:00
67b59ba1af Refactor
All checks were successful
/ check (push) Successful in 1m17s
2025-05-06 20:25:01 +01:00
75acfc3dcf Create a systemd service and timer to run
...imapfilter
2025-05-06 20:17:29 +01:00
f3713050cb Move wiki-pull to a zsh alias, remove from
...PW05CH3L
2025-05-06 20:05:51 +01:00
6c782845a3 Refactor
All checks were successful
/ check (push) Successful in 1m12s
2025-05-06 19:00:00 +01:00
ed3d12bb5a Update notes to the most recent commit
All checks were successful
/ check (push) Successful in 1m9s
2025-05-06 17:36:59 +01:00
5517fd3074 Make notes directory configurable 2025-05-06 15:55:35 +01:00
8f591e4da2 Rename patch file 2025-05-06 15:54:11 +01:00
e27c3d69a7 Re-add pass-otp
All checks were successful
/ check (push) Successful in 1m29s
2025-05-06 14:22:20 +01:00
1a78278b0b Re-enable notes
All checks were successful
/ check (push) Successful in 1m17s
2025-05-06 14:20:44 +01:00
0ea1cfebb6 Add Nix snippets
All checks were successful
/ check (push) Successful in 1m20s
2025-05-06 12:21:42 +01:00
67a40983d0 Add Tapo integration to Home Assistant
All checks were successful
/ check (push) Successful in 1m40s
2025-05-05 20:15:05 +01:00
00015d8948 Add peertube (work in progress)
All checks were successful
/ check (push) Successful in 1m30s
Returning an error after trying to log in when the page is served via a
Cloudflare Tunnel.
2025-05-05 03:09:55 +01:00
9423f635bc Add wiz integration 2025-05-04 21:57:28 +01:00
eff73265dd Revert "Remove vaultwarden"
This reverts commit 562ad32538.
2025-05-04 12:00:01 +01:00
562ad32538 Remove vaultwarden
All checks were successful
/ check (push) Successful in 1m58s
This is managed by the Cloudflare Tunnel.
2025-05-04 11:43:52 +01:00
81e0253e63 flake update 2025-05-04 10:32:19 +01:00
ec5daa9a52 Use the same Cloudflare tunnel ID for all services 2025-05-04 10:24:47 +01:00
f0d272038f Refactor
All checks were successful
/ check (push) Successful in 1m23s
2025-05-04 01:36:11 +01:00
12258cd8c8 Move tubearchivist secret 2025-05-04 01:21:42 +01:00
739e0a2685 Update Home Assistant configuration 2025-05-04 01:06:50 +01:00
58c3d276b0 Refactor website vhost configuration
All checks were successful
/ check (push) Successful in 1m25s
2025-05-03 22:58:42 +01:00
f42833545b Refactor homelab ports 2025-05-03 22:58:38 +01:00
518bfe9cd4 Add Home Assistant 2025-05-03 22:06:59 +01:00
1c7dcb5b77 Use just
All checks were successful
/ check (push) Successful in 1m26s
2025-05-03 22:04:19 +01:00
ec71c7bd9d Fix wallpaper path 2025-05-03 19:14:10 +01:00
0f98932c63 Remove vim-caser
All checks were successful
/ check (push) Successful in 1m29s
2025-05-03 17:22:30 +01:00
54b43e4203 Remove features
All checks were successful
/ check (push) Successful in 1m21s
2025-05-03 16:50:27 +01:00
54954d6223 Move forgejo runner configuration
All checks were successful
/ check (push) Successful in 59s
2025-05-03 12:24:07 +01:00
92ded26806 Rename baseDomain to domain
All checks were successful
/ check (push) Successful in 1m15s
2025-05-03 11:11:57 +01:00
f70d9c51e3 Configure nixedo as a Forgejo Actions Runner 2025-05-03 11:11:55 +01:00
6ceea74156 Add missing url attribute 2025-05-03 11:11:43 +01:00
159aab3182 Remove duplicate attribute 2025-05-03 11:11:43 +01:00
936e6948f8 Add Actions 2025-05-03 11:11:41 +01:00
8cdd860a5e Add Forgejo to Homepage Dashboard 2025-05-02 20:38:48 +01:00
3d15b7e394 Fix Forgejo's root URL 2025-05-02 20:29:09 +01:00
bce4e8adf7 Re-add the luke user 2025-05-02 16:59:15 +01:00
c2d9943e2f Create automated dev commits for email-filters 2025-05-02 09:22:10 +01:00
e2746df0b5 Add me the cdrom group again 2025-05-02 09:08:15 +01:00
8050e3d9ad Automated dev commit 2025-05-01 23:42:10 +01:00
ef4eef1ffe Fix Tube Archivist URL 2025-05-01 22:24:17 +01:00
d9866ddc41 Add Tube Archivist to Homepage Dashboard 2025-05-01 22:09:09 +01:00
d593634aa1 Update network adapter 2025-05-01 22:06:20 +01:00
1e944723c7 Enable PostgreSQL database backups 2025-05-01 20:35:51 +01:00
413bc77245 flake update 2025-05-01 17:22:32 +01:00
1818cecb44 Rebuild nixedo 2025-05-01 17:19:34 +01:00
faf464f481 Make the systemd timer not persistent 2025-05-01 09:02:05 +01:00
35497a3931 Automated dev commit 2025-05-01 00:00:05 +01:00
9528a4d435 Automated dev commit 2025-04-30 20:31:52 +01:00
5c82af7093 Automated dev commit 2025-04-30 20:28:09 +01:00
8d373c9b8c Automated dev commit 2025-04-30 20:15:57 +01:00
01900e4f65 Refactor to build subdomains dynamically 2025-04-30 14:30:06 +01:00
f9b90a176a Extract a baseDomain variable 2025-04-30 14:22:34 +01:00
c94447d0c1 Re-add Vaultwarden 2025-04-30 14:21:52 +01:00
712828efc4 Add fastfetch and htop 2025-04-30 13:47:27 +01:00
c350b55948 Configure glances 2025-04-30 13:42:51 +01:00
d809ab9fb6 Add LibreOffice 2025-04-30 13:41:45 +01:00
ca21d6a68d Revert "Switch to COSMIC desktop"
This reverts commit 84569bfde2.
2025-04-30 13:31:50 +01:00
03a485a9fc Style and customise Homepage Dashboard 2025-04-30 12:29:10 +01:00
a9cf2109a6 Move Homepage configuration into service
Move each service's Homepage Dashboard configuration into its own
module.

Based on
8928785060/homelab/services/homepage/default.nix.

See https://www.youtube.com/watch?v=f-x5cB6qCzA&t=1435s (What's on my
Home Server 2025 – NixOS Edition).
2025-04-30 11:58:59 +01:00
bdf226d5f7 Re-enable homepage-dashboard 2025-04-30 11:13:29 +01:00
b0ddeff8ba Import lib 2025-04-30 10:43:25 +01:00
bb9b77e2f8 Update config and option names for modules 2025-04-30 09:54:25 +01:00
fe508bd127 Refactor homelab modules 2025-04-30 07:57:57 +01:00
e6f269b123 Refactor Nginx vhosts and ports 2025-04-30 03:13:42 +01:00
0fa5b750d1 Enable automatic updates on boys' laptops 2025-04-30 03:13:42 +01:00
4338b28c1c Add tome.oliverdavies.uk virtual host 2025-04-29 23:54:55 +01:00
00e8cc2170 Automated dev commit 2025-04-29 15:03:47 +01:00
42b1fd748a Automated dev commit 2025-04-29 15:00:05 +01:00
84dc5ff4e7 Add vim and tree 2025-04-29 14:55:08 +01:00
dd16cbda7b Add oliverdavies.uk-tome repository 2025-04-29 14:36:30 +01:00
1c861aa1b5 Add dev-commit
Add `dev-commit`, a script based on f00f31c649/env/.local/scripts/dev-commit
that is meant to be a fallback to commit and push any missed changes
that should be kept.

This is not intended to be a substitute for making manual commits and
writing detailed commit messages.

The script uses an environment variable for the list of project
directories, which is set within a Home Manager module that also creates
a systemd service and timer to run the command automatically - similar
to a cron job.

Adding this should prevent occasional issues, such as missing the
firewall configuration for my homelab which was removed accidentally and
stopped my reverse proxies for services such as Jellyfin and Immich from
running.
2025-04-29 13:37:20 +01:00
f668d95f74 Enable HTTP and HTTPS ports 2025-04-29 02:24:03 +01:00
2818a510c4 Make homepage configurable 2025-04-29 01:17:03 +01:00
1ccd6cf3f4 Revert "Add mastodon"
This reverts commit b0cccd36a6.
2025-04-29 00:30:05 +01:00
b0cccd36a6 Add mastodon
https://wiki.nixos.org/wiki/Mastodon
2025-04-28 23:11:26 +01:00
1cca820fa3 Add missing config 2025-04-28 22:32:38 +01:00
44699fb007 Add Uptime Kuma
Add Uptime Kuma as as service, configure a reverse proxy and add it to
Homepage.
2025-04-28 21:42:09 +01:00
bbbad11fd9 Add CD/DVD tools 2025-04-28 17:51:58 +01:00
4ed6fabf89 Fix Homepage Dashboard
Fixes this error:

> Host validation failed. See logs for more details.
2025-04-28 15:00:07 +01:00
46bbbc4e46 Enable powertop auto tuning on startup 2025-04-28 12:58:12 +01:00
2e4cdf26e2 flake update 2025-04-28 08:07:20 +01:00
9148fc58d5 Proxy web sockets 2025-04-28 07:42:06 +01:00
7a12a66266 Use recommendedProxySettings 2025-04-28 02:07:10 +01:00
0bba7ff4f8 Fix immich 2025-04-28 01:58:11 +01:00
e1c30789a2 Configure Nginx virtual host for audiobookshelf 2025-04-28 00:53:26 +01:00
8baa3ea1cb Add site monitors 2025-04-28 00:37:08 +01:00
532d49dd58 Add paperless-ngx 2025-04-28 00:26:45 +01:00
f17a38ce1e Configure Nginx virtual host for paperless-ngx 2025-04-28 00:23:46 +01:00
8aba0b0215 Re-add other subdomains 2025-04-27 23:09:18 +01:00
8ea9b6649d Configure Nginx reverse proxy for Jellyfin 2025-04-27 22:30:21 +01:00
e6678ec729 Add specific SSL subdomains
Fixes this error:

> Websites prove their identity via certificates. LibreWolf does not
trust this site because it uses a certificate that is not valid for
nixedo.oliverdavies.uk. The certificate is only valid for the following
names: jellyfin.oliverdavies.uk, oliverdavies.uk, www.oliverdavies.uk
>
> Error code: SSL_ERROR_BAD_CERT_DOMAIN
2025-04-27 21:18:17 +01:00
20205be35c Rename shares to settings 2025-04-27 20:58:35 +01:00
a3070ba52d Add Homepage Dashboard
https://gethomepage.dev
2025-04-27 20:58:35 +01:00
be26969d9b Allow the nginx user to access SSL certificates
Fixes this error:

> Failed assertions:
> - Certificate oliverdavies.uk (group=acme) must be readable by
service(s) nginx.service (user=nginx groups=nginx),
nginx-config-reload.service (user=root groups=)
2025-04-27 20:58:35 +01:00
3d806c436f Re-add oil.nvim 2025-04-27 20:58:34 +01:00
bd79ecc1de Add user to the media group 2025-04-26 00:26:54 +01:00
933910dd3b Add Samba shares 2025-04-26 00:26:43 +01:00
84569bfde2 Switch to COSMIC desktop 2025-04-24 13:09:56 +01:00
4fc348ff45 Extract a handbrake module 2025-04-24 02:36:13 +01:00
4107805044 Extract a makemkv module, add it to lemp11 2025-04-24 01:56:40 +01:00
28d75ce6b8 Add makemkv 2025-04-23 23:51:25 +01:00
2e91ed63c8 Organise Home Manager modules 2025-04-23 23:11:15 +01:00
81043d8f38 Fix wiki-push script 2025-04-23 20:14:44 +01:00
57c96d70f3 Remove passmenu-otp
It's already included in my dwm configuration so it doesn't need to be
re-declared here.
2025-04-23 20:00:44 +01:00
547895664b Make the pass extensions configurable 2025-04-23 19:54:32 +01:00
899dfb9f21 Extract a pass module 2025-04-23 19:38:55 +01:00
9e1b77930d Remove nixpkgs-master 2025-04-23 17:29:52 +01:00
4de7dfda6b Refactor 2025-04-23 17:28:40 +01:00
5f7d0d4deb Rename nixpkgs-2411 to nixpkgs-stable 2025-04-23 17:19:16 +01:00
5d6ab42c9a flake update 2025-04-23 17:10:14 +01:00
afae9a443a Refactor to a JSON file of Vim plugins 2025-04-23 16:59:28 +01:00
272d786b46 Add missing revs and versions 2025-04-23 16:21:33 +01:00
1a2e30b9d5 Pin revisions and update versions 2025-04-23 16:12:10 +01:00
9c5e258a9d Revert "Remove nixpkgs-2411"
This reverts commit 631b1ffa66.
2025-04-23 15:48:15 +01:00
915ff5fbee Move allowed firewall ports 2025-04-23 15:40:49 +01:00
631b1ffa66 Remove nixpkgs-2411 2025-04-23 14:28:57 +01:00
520f821f36 Remove nixpkgs-2405 2025-04-23 14:28:08 +01:00
92b649595b Delete add-tmux-file.patch 2025-04-23 14:25:29 +01:00
dc2de9334d Make directories configurable using a patch 2025-04-23 14:19:05 +01:00
2bedd41d83 Refactor back to a more modular configuration 2025-04-23 14:19:05 +01:00
19ea08a716 Delete tubearchivist 2025-04-23 14:19:05 +01:00
0582780717 Add README.md 2025-04-23 14:19:05 +01:00
f85d4968ed Add packages 2025-04-22 10:46:51 +01:00
beb23a08c4 flake update 2025-04-22 10:34:24 +01:00
63377da648 Refactor 2025-04-22 09:21:08 +01:00
14583971ed Configure pam-gnupg
Automatically unlock my GPG key on login to make it easier to work with
pass, neomutt, etc.

See https://github.com/cruegge/pam-gnupg.
2025-04-22 00:37:38 +01:00
5b224bbe42 Update hostname 2025-04-21 17:29:46 +01:00
5f74395ea4 Set home-manager.backupFileExtension 2025-04-21 15:46:01 +01:00
3710a814c5 Remove the luke user 2025-04-21 15:10:44 +01:00
3be1bab485 Revert "Change dwm colours"
This reverts commit 0ece497203.
2025-04-21 15:00:05 +01:00
45b350f630 Serve /examples from Tome 2025-04-21 15:00:05 +01:00
9360371ed8 Inline programs and services 2025-04-21 15:00:05 +01:00
542dcdda16 Remove hard-coded hostnames 2025-04-21 13:55:46 +01:00
1c04c41966 Use the bluetooth mixin 2025-04-21 13:54:38 +01:00
6164fdbda0 Extract an avahi mixin 2025-04-21 13:54:04 +01:00
057144a770 Remove Docker 2025-04-21 13:02:02 +01:00
a71ce4b5fd Move websites into vhosts
So it doesn't clash with Forgejo which is currently in /var/www/forgejo.
2025-04-21 12:58:45 +01:00
5b67a48d80 Migrate Pi-hole from Docker to Podman 2025-04-21 12:48:08 +01:00
fab9c6bb44 Update source hostname and path 2025-04-21 12:36:20 +01:00
ffef2a8f6f Update sha256 2025-04-21 11:12:29 +01:00
bab7b812ae Update root 2025-04-19 23:33:10 +01:00
a13fa9b4f9 flake update 2025-04-19 12:11:27 +01:00
828985d76f Simplify nixedo modules 2025-04-19 11:45:23 +01:00
791d206764 Extract an openssh mixin 2025-04-19 00:10:45 +01:00
fa3bee371f Remove hetznix
Forgejo and all static websites have been moved to nixedo.
2025-04-19 00:10:45 +01:00
ebf9778b42 Move static websites from hetznix to nixedo 2025-04-19 00:10:45 +01:00
c2e4f80364 Migrate forgejo to nixedo 2025-04-18 02:39:41 +01:00
ac7796044f Migrate bootstrap-with-tailwind to nixedo
Serve it publicly from nixedo via the Cloudflare Tunnel.

This is currently served locally on port 8000 using Docker until I
migrate the Caddy configuration, but this shows a real production
website being self hosted on my homelab and served via Cloudflare.
2025-04-18 02:07:57 +01:00
d306dc6e46 Configure Cloudflare Tunnel to publicly serve
...services from homelab
2025-04-18 01:48:50 +01:00
56ce0db1df Re-add fzf and starship 2025-04-17 23:06:47 +01:00
11cf7782bc Add garfieldtech.com 2025-04-17 22:09:01 +01:00
3e300ffe6b Refactor imports 2025-04-17 22:01:18 +01:00
270bd7dbf0 Refactor secrets 2025-04-17 19:16:54 +01:00
01d43066f0 flake update 2025-04-17 19:06:14 +01:00
35e3ee3b5f Enable ollama and Open WebUI 2025-04-17 13:35:48 +01:00
73ce87f58e Disable jitsi for now
Until I have time to look into it further.
2025-04-17 08:57:41 +01:00
09da662d1d Update feed titles 2025-04-17 08:52:58 +01:00
9baf510d63 Use the zram mixin 2025-04-17 08:52:46 +01:00
b0f910acf7 Add more tome paths 2025-04-17 08:29:58 +01:00
c6fa8493df Move redirects to a Nix list
Move redirects to a Nix list and generate them using a `for` loop for
better maintainability.
2025-04-17 00:48:23 +01:00
ae61e41caa Add redirects for old daily email paths 2025-04-17 00:37:55 +01:00
26dbdaece2 Remove /archive/ redirects 2025-04-17 00:18:35 +01:00
7faed751c7 Load /tome-test from www.oliverdavies.uk-tome
Load `/tome-test` from the www.oliverdavies.uk-tome directory.
2025-04-16 22:48:45 +01:00
fe1cd27d59 Update root directory 2025-04-16 22:25:47 +01:00
449f331fb5 Simplify Caddy configuration
Remove the force removing of trailing slashes from URLs.
2025-04-16 22:08:12 +01:00
6da0e7fd91 Move redirects into their own file 2025-04-16 22:00:52 +01:00
09d76f0f8d Add redirect 2025-04-16 19:36:48 +01:00
464e9b2e0c Add missing background function 2025-04-16 19:36:48 +01:00
71bb956f99 flake update 2025-04-16 19:36:48 +01:00
16156312a1 Add zram module 2025-04-16 19:36:48 +01:00
b6ab926769 Re-add dconf 2025-04-16 19:36:48 +01:00
d6da09aeb2 Remove duplicate URL 2025-04-16 19:36:48 +01:00
c7d1d86c26 Revert "Set foldlevelstart to 1"
This reverts commit 5a50cb5c93.
2025-04-16 08:28:58 +01:00
a60ab045a8 Exclude result files when pulling changes 2025-04-16 06:58:28 +01:00
f6177a3be0 Move notes into a mixin, standardise notes path 2025-04-10 22:27:18 +01:00
2f5a6de425 Disable line numbers for text files 2025-04-10 21:58:02 +01:00
eea806e0f8 Allow for autoloading modules
Autoloads files within modules/ and makes them available by their module
type and name, e.g. `mixins-zsh`, `editor-nvim` and `users-opdavies`
when imported with `inputs.self.nixosModules`.

Based on afab322e6d/modules/default.nix.

This assumes there will be a modules/*.nix file and currently doesn't
work with modules/*/default.nix. This is something I'd like to add in
the future.

I also want find a cleaner way to pass arguments into these shortcuts as
this also doesn't work in their implementation as far as I can see.
2025-04-10 09:07:16 +01:00
797d1206b0 Re-add kanata
Re-map the Caps Lock key to Esc/Ctrl and re-add home row mods.
2025-04-10 07:57:45 +01:00
66b5d806eb Add keymap to open URLs under cursor 2025-04-09 19:53:37 +01:00
3b4b1c4ba4 Remove unused imports 2025-04-09 19:53:37 +01:00
cc53407599 Move t480 services 2025-04-09 19:53:02 +01:00
0731d56ac2 Remove nix.nixPath 2025-04-09 19:53:02 +01:00
db5f09dace Update .mailmap 2025-04-09 19:35:13 +01:00
177edfa0bc Update directories 2025-04-09 19:35:13 +01:00
d180f46e9c Use YAML ft for phpstan.neon and phpstan.neon.dist 2025-04-09 19:35:13 +01:00
b96be1a667 Make Git details customisable by host 2025-04-09 19:35:13 +01:00
f4c4209c52 Remove programs.nix 2025-04-08 22:43:20 +01:00
99db5f87c3 Combine packages 2025-04-08 22:43:20 +01:00
fc491ba7a8 flake update 2025-04-08 07:41:49 +01:00
877845ad1a Add justfile 2025-04-06 23:04:22 +01:00
a8fff66029 t490: remove nixosModules 2025-04-06 22:54:32 +01:00
2b1c755df5 Move home.nix into the common mixin 2025-04-06 01:06:47 +01:00
4836066be4 Combine default.nix and home.nix 2025-04-06 01:00:57 +01:00
1d284c9432 Extract a scripts mixin 2025-04-06 00:53:33 +01:00
4bbca3493e Extract a gnupg mixin 2025-04-06 00:46:43 +01:00
2f56994696 Move desktop/non-headless packages 2025-04-06 00:23:37 +01:00
2803ef1063 Extract mixins for librewolf and qutebrowser 2025-04-06 00:12:20 +01:00
18e7218341 Move desktop packages 2025-04-06 00:04:31 +01:00
dd04b40ae1 Extract a ranger mixin 2025-04-06 00:01:54 +01:00
7df9eb7b4f Extract a node mixin 2025-04-05 23:57:55 +01:00
dd8c556963 Move common host configuration to a mixin 2025-04-05 23:49:28 +01:00
8a4222cd88 Remove host-specific Home Manager configurations 2025-04-05 23:29:33 +01:00
c88993e4b5 Move wiki configuration 2025-04-05 23:19:26 +01:00
02a0dd96eb Fix neomutt module 2025-04-05 23:15:38 +01:00
91d9643bd5 Move wiki configuration 2025-04-05 23:03:31 +01:00
d4a9f2f3af Move WAYLAND_DISPLAY 2025-04-05 22:52:43 +01:00
2bb341abec Extract a neomutt module 2025-04-05 22:44:02 +01:00
094874946a Extract a zsh mixin 2025-04-05 19:33:41 +01:00
6635e80bbf Extract a git mixin 2025-04-05 15:27:02 +01:00
5d9ba4fe28 Extract a starship mixin 2025-04-05 15:27:02 +01:00
3ff9d54970 Extract a tmux mixin 2025-04-05 15:27:00 +01:00
111c336abc Move notes configuration 2025-04-05 15:26:43 +01:00
90aaabeed6 Move newsboat configuration 2025-04-05 15:18:09 +01:00
39392dcc5a Extract a gtk mixin 2025-04-05 15:18:09 +01:00
c7bfbcc965 Remove pocket-casts 2025-04-05 15:18:09 +01:00
21198b5bf9 Extract an mpv mixin 2025-04-05 15:18:08 +01:00
85cb5d0f1f Move gimp, handbrake and kdenlive 2025-04-05 15:18:08 +01:00
490aa3eb99 Extract a flameshot mixin 2025-04-05 15:18:08 +01:00
3379924c0e Remove nixosModules
As it's now empty.
2025-04-05 15:18:08 +01:00
42b70676bc Move homelab modules 2025-04-05 15:18:08 +01:00
2af364ef96 Extract a screenkey mixin 2025-04-05 15:18:08 +01:00
fd19b5a929 Sort imports alphabetically 2025-04-05 15:18:08 +01:00
75dc6577cc Extract a fonts mixin 2025-04-05 15:18:08 +01:00
d5d1331543 Extract a xbanish profile 2025-04-05 15:18:08 +01:00
ee19e63f4d Move neovim configuration 2025-04-05 15:18:08 +01:00
d9e982c240 Move slack and zoom 2025-04-05 15:16:59 +01:00
8a6fa82419 Remove discord 2025-04-05 15:16:59 +01:00
49d46a30f9 Extract a fzf mixin 2025-04-05 15:16:59 +01:00
3e0b574052 Extract a direnv mixin 2025-04-05 15:15:57 +01:00
6c9921f45d Extract a pipewire mixin 2025-04-05 15:13:58 +01:00
553566ac19 Remove redshift 2025-04-05 15:13:58 +01:00
236e626e9b Re-add abook 2025-04-05 15:13:58 +01:00
ee9c85f920 Extract a dwm profile module
I've made this a module as it imports configuration from `st` and
potentially others as I continue to refactor.
2025-04-05 15:13:58 +01:00
98dccf63f0 Extract a st mixin 2025-04-05 15:13:58 +01:00
9fc155cbd2 Move peek 2025-04-05 15:13:58 +01:00
6d744eb2ed Extract a thunar mixin 2025-04-05 15:13:58 +01:00
0ff85547a8 Delete common/users.nix 2025-04-05 15:13:58 +01:00
f91f54750d Delete users.nix 2025-04-05 15:13:58 +01:00
48babe9cc7 Remove rclone 2025-04-05 15:13:58 +01:00
d8e352a0a4 Remove gaming.nix, move zeroad 2025-04-05 15:13:58 +01:00
6443b72707 Extract a phpactor mixin 2025-04-05 15:13:58 +01:00
44d2685854 Extract a docker mixin 2025-04-05 15:12:44 +01:00
a4cacfd4de Extract a bluetooth mixin 2025-04-05 10:43:13 +01:00
a5d93cc616 Assign some applications to particular tags 2025-04-04 23:32:28 +01:00
0ece497203 Change dwm colours 2025-04-04 20:14:59 +01:00
621d33742c Remove unused homelab packages 2025-04-04 19:50:23 +01:00
e5996c4d0a Move services into their own file 2025-04-04 13:02:24 +01:00
1c6d523a27 Remove the git user 2025-04-04 12:49:51 +01:00
37ae46370b Extract URLs to a separate file 2025-04-04 02:13:25 +01:00
5ddf7a5e4f Add PeerTube URLs 2025-04-04 02:09:49 +01:00
88284829ec Refactor inputs for external modules 2025-04-03 22:44:27 +01:00
5a50cb5c93 Set foldlevelstart to 1
I'd like to use folds more, so I'm going to try setting the default
foldlevel to 1 so that I can see and use them on a more regular basis.
2025-04-03 22:26:43 +01:00
fe9a8885ee Fix spellfile path 2025-04-03 20:19:45 +01:00
dec432d282 Group directories by "personal" and "work" 2025-04-03 20:16:37 +01:00
88a3755699 Add wiki-push script 2025-04-03 20:14:36 +01:00
0fe9d1a692 Fix mounter and unmounter paths 2025-04-03 18:57:14 +01:00
af3c7b2f2b Add wiki-push and wiki-pull scripts 2025-04-03 18:29:44 +01:00
f0b37c1813 Extract .xinitrc into a separate file 2025-04-02 10:58:29 +01:00
01ffef86cd Fix pass -c
WSL has a `WAYLAND_DISPLAY` environment variable set that is confusing
`pass` and causing it to use `wl-copy` that I don't have installed.

`xclip` works fine in WSL, which is used if the `WAYLAND_DISPLAY` is
unset.
2025-04-02 10:53:45 +01:00
a6bef1d8f9 Remove wl-clipboard 2025-04-02 10:50:33 +01:00
b27a2fcabf Refactor input usage 2025-04-01 23:24:02 +01:00
c906a7226b Add an abbreviation for git tag 2025-04-01 16:06:58 +01:00
61f87918e0 Use XDG directory names 2025-04-01 09:13:58 +01:00
290cea0228 flake update 2025-03-31 22:30:04 +01:00
dd8d054b37 Fix duplicate directory suggestions 2025-03-31 21:29:42 +01:00
65173e6f75 Move restartsig.patch 2025-03-31 20:04:38 +01:00
1587dba66f Add jj to easily switch back to visual mode 2025-03-31 13:35:36 +01:00
a6a943dd70 Remove the git user 2025-03-31 13:34:13 +01:00
31472dea4f Fix global abbreviations 2025-03-31 09:47:38 +01:00
c55dcbc07a Move zsh.nix 2025-03-31 09:21:05 +01:00
eb449b2b55 Add an alias for composer install 2025-03-31 09:10:30 +01:00
3388fd2b7e Add a keymap to easily add {{site.url))/ before
...some text

This is useful when writing my daily emails and creating links within
the content.
2025-03-30 17:21:19 +01:00
016bd76792 Remove unused aliases 2025-03-30 17:00:52 +01:00
92f7639be9 Re-add run alias 2025-03-30 12:45:29 +01:00
640ef4a97e Fix spellfile path 2025-03-30 12:43:34 +01:00
078e7ff638 Fix wallpaper path 2025-03-30 12:36:27 +01:00
683dde918d Delete todo.txt 2025-03-29 23:44:38 +00:00
6bc04c77cd Delete .envrc 2025-03-29 23:43:46 +00:00
613c207015 Delete .markdownlint.yaml 2025-03-29 23:43:26 +00:00
a751ec4541 Delete README.md 2025-03-29 23:43:02 +00:00
f2eea2d397 Move non-Nix bash scripts 2025-03-29 23:34:25 +00:00
7c9ffc116e Move shared Home Manager packages 2025-03-29 23:25:29 +00:00
f28ccbf45d Move shared Home Manager configuration 2025-03-29 23:24:59 +00:00
1aa18760f9 Remove espanso matches
Espanso was removed in commit b6a653f.
2025-03-29 23:22:39 +00:00
9d874ce423 Delete lib/theme/default.nix 2025-03-29 23:21:49 +00:00
087153a16d Move Nix files back to the root of the project 2025-03-29 23:19:06 +00:00
52044d9995 Move Neovim configuration files 2025-03-29 23:15:01 +00:00
383dab85f2 Move phpactor configuration files 2025-03-29 23:09:54 +00:00
f775a4341b flake update 2025-03-29 22:02:21 +00:00
98cf67dbc8 Add and use passmenu-otp 2025-03-29 21:59:35 +00:00
50d6671e54 Move dwm overrides into the modifications overlay 2025-03-29 21:58:16 +00:00
bd36f795e0 Remove the git user 2025-03-29 21:45:27 +00:00
5def384496 Remove drupalorg 2025-03-28 22:04:22 +00:00
faaa377de4 Remove logo.txt 2025-03-28 22:03:31 +00:00
6fbcd27331 Remove ghost text when performing completions 2025-03-28 21:27:19 +00:00
e99da3c2f2 Add emmet language server 2025-03-28 21:17:44 +00:00
c3d40142d9 Use new language server package names 2025-03-28 21:08:55 +00:00
90497bbdd0 Add clean function 2025-03-28 12:13:32 +00:00
b583d82e5d Skip errors when fetching and pulling changes 2025-03-27 22:07:11 +00:00
d9f50762a7 Clean shared Home Manager packages 2025-03-27 20:43:16 +00:00
70b5185faf Update spellfile 2025-03-27 20:27:16 +00:00
443b40ea59 Open the project with netrw by default 2025-03-27 19:11:01 +00:00
522b4362b3 Add backup-websites script
Add a bash script that downloads and backs up my static websites from my
server onto my laptop.
2025-03-27 18:50:30 +00:00
874ede426e Add keymaps for custom PHP macros
Wrap the selected text with `var_dump()`, `dump()` or `dd()`.
2025-03-27 13:09:46 +00:00
a8931fc653 Fix default script check 2025-03-26 14:25:06 +00:00
a5bfa60625 Add a key binding to switch to the previous window 2025-03-26 11:46:36 +00:00
63abcd9962 Add keymaps to edit different files 2025-03-26 11:01:06 +00:00
499c266270 Re-add missing session variables
These were removed in commit 40c8776.
2025-03-26 08:59:30 +00:00
679dd702e2 Enable xdg.userDirs 2025-03-26 08:45:47 +00:00
5820cea815 Open current note in a new tmux window 2025-03-26 02:26:28 +00:00
5e39cccd34 Open TODO.md if it exists in the current directory 2025-03-26 02:26:28 +00:00
81be534d4f Re-add keymap to run tmux-sessionizer in Neovim 2025-03-26 02:26:28 +00:00
fbe3867690 Support .tmux files as well as .tmux-sessionizer 2025-03-26 02:26:28 +00:00
40c8776e4b Refactor XDG user directories 2025-03-25 23:36:52 +00:00
4ae602d0fa Remove Brave 2025-03-25 21:45:05 +00:00
4cac07d2db Rename shell to scratch 2025-03-25 00:36:27 +00:00
bbb5913463 Enable exrc
This allows for automatically loading an `.nvim.lua` file when starting
Neovim that contains project-specific configuration.
2025-03-22 23:25:39 +00:00
c8fe513a46 Reapply "Remove oil.nvim"
This reverts commit a9af3cd9e5.
2025-03-22 23:04:51 +00:00
6f2c2ad092 Update Harpoon configuration 2025-03-22 22:57:59 +00:00
7affff28a3 Remove copyq 2025-03-22 21:03:39 +00:00
c3e240d2e3 Manage newsboat with Home Manager 2025-03-22 13:30:29 +00:00
079ca6e968 nix flake update 2025-03-21 22:45:18 +00:00
65293db412 Re-add librewolf 2025-03-21 22:29:03 +00:00
148d6ca78c Add t480 configuration 2025-03-21 22:29:03 +00:00
c347c217a4 Remove espanso 2025-03-21 15:01:39 +00:00
3246a34b8d Update displayselect 2025-03-21 15:01:39 +00:00
59382508d8 Add ranger 2025-03-19 14:08:04 +00:00
53ed6535fa Add IMAPFILTER_HOME 2025-03-18 23:42:19 +00:00
3bd7f1fffe Move .xinitrc 2025-03-18 23:40:32 +00:00
1899081f06 Refactor XDG session variables 2025-03-18 17:43:56 +00:00
809cddb533 Move undodir directory 2025-03-18 17:41:38 +00:00
bce72f1e56 Move .wget-hsts 2025-03-18 17:26:38 +00:00
66c5842b76 Move npm configuration 2025-03-18 16:54:39 +00:00
225bf51396 Move w3m state directory 2025-03-18 16:54:39 +00:00
d09388feb2 Fix zsh dotdir value 2025-03-18 10:27:47 +00:00
6c3f8796b4 Move mbsync configuration to XDG_CONFIG_HOME 2025-03-18 02:45:41 +00:00
5de6335137 Remove autorandr 2025-03-18 01:47:16 +00:00
f0cd21c104 Fix zsh aliases 2025-03-17 23:51:58 +00:00
a9af3cd9e5 Revert "Remove oil.nvim"
This reverts commit 30880dd786.
2025-03-17 23:05:33 +00:00
9036fc4ba5 Change scaling logic 2025-03-17 23:05:33 +00:00
14517eb72d Remove duplicate displayselect script 2025-03-17 23:05:33 +00:00
6eb7b2a622 Configure wallpaper 2025-03-17 23:05:33 +00:00
0188b564a5 Change DOCUMENTS to XDG_DOCUMENTS_DIR 2025-03-17 20:05:16 +00:00
92d3b2946a Fix pname 2025-03-17 20:05:16 +00:00
9d913f9c61 Remove cdpath 2025-03-17 20:05:16 +00:00
2343a739da Add XDG_REPOS_HOME variable 2025-03-17 20:05:16 +00:00
b0c2021d92 Move default Git commit message template 2025-03-17 20:05:16 +00:00
1c6401af08 Move the password store 2025-03-17 20:05:16 +00:00
02cd87af90 Move tmux-sessionizer default script 2025-03-17 20:05:16 +00:00
aa2426d955 Add Vim-like pane navigation 2025-03-17 20:05:16 +00:00
4e0c874321 nix flake update 2025-03-15 11:46:04 +00:00
adc19fc210 Update download-buffer-size 2025-03-15 11:30:07 +00:00
5662a4f522 Update paths
Ignore _archive and directories starting with . or ending in .old.
2025-03-15 11:16:04 +00:00
867ddbf8a2 Add mariadb/mysql for vim-dadbod 2025-03-14 23:17:18 +00:00
44d019d4e0 Remove logseq 2025-03-14 16:01:49 +00:00
5ae7c016f3 Add redshift
> Redshift adjusts the color temperature of your screen according to
your surroundings. This may help your eyes hurt less if you are working
in front of the screen at night.

https://github.com/jonls/redshift
https://nixos.wiki/wiki/Redshift
2025-03-13 21:46:24 +00:00
d2f5001e7e Remove thunar-volman 2025-03-13 20:53:47 +00:00
d5acca9440 Remove syncthing configuration 2025-03-13 20:53:30 +00:00
5a7252e7d0 Update dwm keys 2025-03-13 20:42:42 +00:00
9926cf2202 Add new scripts 2025-03-13 20:42:42 +00:00
378db6134a Improve Brave's startup time
Use the basic password store instead of GPG.

I don't save passwords in Brave anyway.
2025-03-11 23:00:59 +00:00
9c4be445e4 Add redirect 2025-03-11 20:07:59 +00:00
512c8b5303 Remove rsnapshot 2025-03-11 07:49:09 +00:00
4e1aa667da Add clean function 2025-03-11 07:44:37 +00:00
e610e30658 Don't automatically run gc or optimise the Nix
...store
2025-03-10 20:47:27 +00:00
6297a32ecd Add disable_bold_italic_fonts patch
From https://st.suckless.org/patches/disable_bold_italic_fonts.
2025-03-10 20:47:27 +00:00
75778848c9 Move zbar to shared Home Manager packages 2025-03-10 15:32:41 +00:00
8d5b12b1ee Add dwm patches
Add the preserveonrestart patch from
https://dwm.suckless.org/patches/preserveonrestart and a custom patch
based on https://dwm.suckless.org/patches/restartsig which failed to
apply cleanly.
2025-03-08 23:20:27 +00:00
bc397079fd Sort inputs alphabetically 2025-03-08 21:00:55 +00:00
30880dd786 Remove oil.nvim 2025-03-08 13:49:44 +00:00
0828966dfd Switch to Brave 2025-03-07 16:04:53 +00:00
f678c94c3a nix flake update 2025-03-07 16:04:53 +00:00
0f31678c52 Remove the features directory 2025-03-07 16:04:48 +00:00
6585022138 Add displayselect from Luke Smith's dotfiles 2025-03-06 01:12:32 +00:00
d1cbdf3bb4 Add bc
Needed for the `displayselect` script that I'm testing from Luke Smith's
voidrice repo.

1e750084e5/.local/bin/displayselect
2025-03-06 00:51:52 +00:00
2de0e1a2d6 Use nixosModules and homeManagerModules for config 2025-03-05 17:20:03 +00:00
88a054f3b4 Add more keybindings to st to zoom in and out 2025-03-05 17:18:04 +00:00
f3e18e45e1 Move st into its own module 2025-03-05 11:25:24 +00:00
adaf6ae5ea Switch from Firefox to Librewolf 2025-03-05 09:59:34 +00:00
8d6512e1cc Add a keybind for passmenu 2025-03-04 21:47:41 +00:00
60152f2e92 Remove blank lines from the suggestions
My Neovim configuration always adds a blank line to the end of a file
that I don't want to be included in my suggestions.

Using `grep "\S"` was working in a Terminal but this broke when adding
it to my dwm configuration.

This approach works in dwm when triggered with the keyboard shortcut.
2025-03-04 20:32:45 +00:00
f893caefac Add Twig snippets 2025-03-03 18:37:20 +00:00
bd58cf5821 nix flake update 2025-03-02 23:00:06 +00:00
9d2848cbd7 Add qrencode
Add qrencode to generate QR codes locally. For example:

    qrencode https://www.oliverdavies.uk -o website.png
2025-03-02 21:10:35 +00:00
7289db6b76 Move docker group addition to opdavies user module 2025-03-02 21:07:07 +00:00
c9e2db5e12 Add zbar
Includes zbarimg which is used to get OTP paths for pass-otp.
2025-03-02 21:07:07 +00:00
ccc0358e53 Set composer.lock as a JSON filetype 2025-03-02 21:06:42 +00:00
f2c760d690 Add composer.json and composer.lock as alternates 2025-03-02 21:06:02 +00:00
4767195fff Update to harpoon2, update keymaps 2025-02-28 10:25:29 +00:00
26700c7911 Add poweralertd and dunst
https://git.sr.ht/~kennylevinsen/poweralertd
2025-02-28 00:26:00 +00:00
0e599e9273 Remove duplicate pinentry package definitions 2025-02-28 00:25:54 +00:00
5fdf49ee6c Remove delta 2025-02-27 21:20:30 +00:00
58b5e9a452 Remove ripgrep
Remove ripgrep globally but keep it installed in Neovim so live grep
will continue to work.
2025-02-27 21:19:19 +00:00
b801755db5 Add a keymap to show LSP references 2025-02-27 08:49:07 +00:00
f734ae4e06 Revert "nix flake update"
This reverts commit ce4f49dc98.
2025-02-27 01:06:50 +00:00
ce4f49dc98 nix flake update 2025-02-27 00:24:38 +00:00
6d55ea4dee Re-enable tmux 2025-02-24 13:45:28 +00:00
f5d6391a33 Re-enable neovim 2025-02-24 10:34:08 +00:00
0b8068039c Add pass to all hosts 2025-02-24 10:08:21 +00:00
5f1f6f351e Fix paths in .xinitrc 2025-02-22 23:21:04 +00:00
8ad1dcc14b Remove default variables
I no longer want these to be true so I can remove them.
2025-02-22 19:51:11 +00:00
597a72b4d5 Use dwm on nixedo 2025-02-22 12:14:10 +00:00
40aefce47b Add Video Speed Controller 2025-02-22 00:23:43 +00:00
8df5e6b623 Re-add bluetuith 2025-02-21 10:00:38 +00:00
9177cb3f9d Migrate .xinitrc file into Nix 2025-02-20 21:19:21 +00:00
219d032974 Move dwm and st configs from patches to overrides 2025-02-19 02:19:24 +00:00
560912af52 Move dwm and st patches
9ad246031f/home/dwm.nix
2025-02-18 12:24:39 +00:00
33a360db02 nix flake update 2025-02-18 12:24:39 +00:00
394d40f601 Automatically run startx on login 2025-02-18 12:24:39 +00:00
604891afb6 Remove lightdm, enable startx 2025-02-18 12:24:39 +00:00
4483075457 Update custom key bindings 2025-02-17 20:08:53 +00:00
a13527889c Change font 2025-02-17 20:08:50 +00:00
61c0b7c5c6 st: add anysize patch
> By default, st's window size always snaps to the nearest multiple of
the character size plus a fixed inner border (set with borderpx in
config.h). When the size of st does not perfectly match the space
allocated to it (when using a tiling WM, for example), unsightly gaps
will appear between st and other apps, or between instances of st.
>
> This patch allows st to resize to any pixel size, makes the inner
border size dynamic, and centers the content of the terminal so that the
left/right and top/bottom borders are balanced. With this patch, st on a
tiling WM will always fill the entire space allocated to it.

https://st.suckless.org/patches/anysize
2025-02-17 01:09:00 +00:00
abc2ea777e hetznix: add git user 2025-02-15 14:02:50 +00:00
1ca1ac3c4a Add a cron job to run mbsync twice a day 2025-02-15 01:35:08 +00:00
75f47838fa Change job to run every 15 minutes 2025-02-15 01:34:46 +00:00
186dd064e2 Add awesome-rss extension
Puts an RSS/Atom subscribe button back in URL bar. Supports "Live
Bookmarks" (built-in), Feedly, &amp; Inoreader

https://addons.mozilla.org/en-US/firefox/addon/awesome-rss
2025-02-15 00:43:43 +00:00
63b141d360 nixedo: add git user 2025-02-15 00:42:30 +00:00
8121441002 Add newsboat 2025-02-14 23:08:17 +00:00
5c97dfa9c7 Add eric vhost 2025-02-14 23:05:10 +00:00
31010c9a8c Remove files vhost 2025-02-14 23:04:19 +00:00
be06a07019 t490: add cron job to run imapfilter 2025-02-14 21:33:57 +00:00
baf0ed984d Remove unused reference to self 2025-02-14 07:50:04 +00:00
5b4245a910 Add xdotool 2025-02-14 07:49:31 +00:00
ce3a1df8d9 Update run script 2025-02-14 07:48:53 +00:00
3c76aa0936 Update Firefox configuration 2025-02-13 23:12:27 +00:00
ea7c5b1449 dwm: add pertag patch
> More general approach to taglayouts patch. This patch keeps layout,
mwfact, barpos and nmaster per tag.

https://dwm.suckless.org/patches/pertag
2025-02-13 20:36:26 +00:00
98bc3433c0 Remove ytfzf 2025-02-13 08:49:56 +00:00
84d5a02a42 Replace rofi with dmenu 2025-02-13 02:00:24 +00:00
5d854d25d2 Replace alacritty with st 2025-02-13 02:00:24 +00:00
0a345df1a5 st: change the font size 2025-02-13 02:00:24 +00:00
bf22f31b5a Remove i3 configuration
Remove my i3 configuration as I've been using dwm as my daily driver for
a few weeks.
2025-02-12 23:09:50 +00:00
8facff13af Remove unused Vim plugins 2025-02-12 21:46:40 +00:00
4a522c954f Change the test strategy to vimux 2025-02-12 21:39:24 +00:00
443cfcf95c Re-enable vim-caser 2025-02-12 21:21:51 +00:00
77621d00ef Disable mini.hipatterns 2025-02-12 21:20:58 +00:00
f1462b253d Remove Brave 2025-02-12 20:52:49 +00:00
3ab241c5a9 nix flake update 2025-02-11 07:26:33 +00:00
e8efe60ae1 Open diagnostics in the quickfix list 2025-02-05 06:53:38 +00:00
de5f12ad9f Update directories
Include the ~/Code/os directory for open source projects.
2025-02-05 06:51:48 +00:00
9933b0b8aa Add pass
Used to store a password for Neomutt.
2025-02-05 06:48:15 +00:00
09cbba3083 Add sxiv 2025-02-05 06:47:37 +00:00
d6ad5f1f15 nix flake update 2025-02-05 06:44:53 +00:00
33ec1e0d77 Enable neomutt and Vim keys 2025-02-04 12:21:10 +00:00
7989a4cbd3 t490: add nixedo host 2025-02-02 22:41:36 +00:00
c3265e0b48 Remove .tmux-sessionizer 2025-02-02 22:41:36 +00:00
518d80226f Add custom keys to dwm 2025-02-02 22:41:36 +00:00
10d6e0e363 Move Tube Archivist volumes to the media drive 2025-02-02 22:41:36 +00:00
db1ab57383 Update Tube Archivist URL 2025-02-02 22:41:36 +00:00
2e2ec7650b Update Tube Archivist URL 2025-02-02 11:08:17 +00:00
eb76d68e2f Add cryptsetup 2025-02-02 10:22:31 +00:00
62e8b83df2 Refactor dwm and thunar configuration 2025-01-31 11:01:14 +00:00
90118dde48 Fix conform error
> Error detected while processing BufWritePre Autocommands for "*":
> The nested {} syntax to run the first formatter has been replaced by
the stop_after_first option (see :help conform.format).
2025-01-30 17:46:11 +00:00
4461ad3ca4 Add dwm window manager with some initial patches
- Set Mod4 as the mod key and Alacritty as the termcmd.
- Add a patch from suckless.org to hide any vacant tags.
  - https://dwm.suckless.org/patches/hide_vacant_tags
2025-01-30 17:41:54 +00:00
e66af807b3 nix flake update 2025-01-30 01:06:16 +00:00
893dd8c2a4 Re-add line numbers for text files 2025-01-29 11:52:45 +00:00
fe4f07f8ee Simplify imports 2025-01-29 01:49:03 +00:00
02890fc725 Make NOTES_DIRECTORY configurable per host 2025-01-29 01:49:03 +00:00
4f91d5ce7d Add yazi
Blazing fast terminal file manager written in Rust, based on async I/O.

https://github.com/sxyazi/yazi
https://yazi-rs.github.io
2025-01-29 01:15:42 +00:00
cf7de1eb9c Refactor desktop Home Manager packages 2025-01-29 01:15:42 +00:00
20ec9fde32 lemp11: split configuration 2025-01-29 01:15:42 +00:00
40f1a72438 lemp11: remove unused services
The homelab services and programs have been moved to nixedo so can be
removed from lemp11.
2025-01-29 01:15:42 +00:00
fcf0f8d39d Only add upload-to-files on t490
It's not needed on other systems, such as hetznix.
2025-01-29 01:15:42 +00:00
0d05eb3df6 t490: add Cloudflare secrets 2025-01-29 01:15:42 +00:00
49b5424dbd Refactor nixpkgs import 2025-01-29 01:15:42 +00:00
a5c1c89102 nix flake update 2025-01-26 02:57:41 +00:00
716cb791e9 Move homelab services to oliverdavies.uk domain 2025-01-21 00:49:27 +00:00
f740c91a6c nix fmt 2025-01-20 17:54:44 +00:00
88a5dcae48 Update paperless data directory path 2025-01-20 17:52:44 +00:00
6efc4bd51e t490: add docker
Add Docker which is needed by DDEV, which I need to quickly get HTTP and
SSL running for a project.

There is https://devenv.sh/blog/2023/03/02/devenv-06-generating-containers-and-instant-shell-activation/#hosts-and-certificates
that mentions provisioning certificates for a local domain name, which
is something I'll look at in the future.
2025-01-20 00:50:02 +00:00
d3ac84b6dd Automatically add a blank line to the end of text
...files
2025-01-19 23:37:30 +00:00
3e9a27874a Alter notes to create daily notes
Alter notes to create daily notes instead of monthly notes.
2025-01-19 21:50:44 +00:00
09663f6b90 Add .tmux-sessionizer
Open nvim with `:Telescope git_files` when starting the session.
2025-01-19 21:50:44 +00:00
a7430169e9 Refactor custom packages 2025-01-19 21:50:44 +00:00
e04bededf3 Run tmux-sessionizer after cloning a repo 2025-01-19 12:53:49 +00:00
2f5636c127 Simplify agenix configuration 2025-01-19 12:41:19 +00:00
4f3c713f73 Refactor zsh plugins
- Remove fzf-tab.
- Configure zsh-abbr with Home Manager.
2025-01-19 11:01:21 +00:00
fed99ed659 Add .mailmap
Add a .mailmap file to make Git contribution history more consistent.

- https://git-scm.com/docs/gitmailmap
- https://datawookie.dev/blog/2023/05/using-mailmap-to-tidy-git-contributors
2025-01-19 00:11:55 +00:00
1128fbb94c t490: investigate using isync/mbsync
Investigate using isync/mbsync to backup emails locally.

https://isync.sourceforge.io

For this, I've created a ~/.mbsyncrc file that contains my IMAP
configuration to connect to my email account and allows me to run
`mbsync oliverdavies.uk` to perform the backup.

`programs.mbsync` exists in Home Manager, so I can use this if I decide
to refactor this and have Home Manager create the configuration file.
2025-01-18 23:32:01 +00:00
5fd27efa50 Use the tmux-sessionizer from GitHub
Use the tmux-sessionizer code from GitHub instead of writing it myself
and apply a patch to change the directories it uses to provide
suggestions.
2025-01-18 02:05:08 +00:00
75efe1bf99 Group containers into their own directory 2025-01-17 21:23:01 +00:00
359bb61628 Move secrets.nix 2025-01-17 20:56:05 +00:00
403e44afb9 Add Hunspell dictionary for en-GB 2025-01-17 14:33:57 +00:00
ed8de700f8 t490: enable upower 2025-01-17 10:36:13 +00:00
54ef8142da t490: re-add dconf
error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
ca.desrt.dconf was not provided by any .service files
2025-01-16 13:15:14 +00:00
a98b56df67 Remove 2020.oliverdavies.uk 2025-01-16 08:54:20 +00:00
2db818f017 Add abook 2025-01-16 08:07:29 +00:00
922012c215 Add upload-to-files script 2025-01-16 08:07:29 +00:00
0a535c1c4e Add files subdomain vhost 2025-01-16 08:03:15 +00:00
a2b855214b Remove unused attribute 2025-01-15 15:02:10 +00:00
8df2e5c1b9 Refactor programs 2025-01-15 15:02:10 +00:00
005c34156b Remove unused variable 2025-01-15 15:02:10 +00:00
532d110b05 Add Jitsi Meet 2025-01-15 15:02:10 +00:00
fefdf04a6d Use a wildcard certificate 2025-01-15 15:02:10 +00:00
bc6e5be1af Switch from lightdm to ly 2025-01-15 15:02:10 +00:00
c3481f8ba6 nix flake update 2025-01-15 15:02:10 +00:00
7771c88040 Refactor Home Manager modules 2025-01-15 12:48:41 +00:00
5229429bc4 Update todo.txt 2025-01-15 12:48:41 +00:00
48ab2b7cab Add floating IP address 2025-01-10 00:09:51 +00:00
f982861233 Remove notify-battery script with i3-battery-popup
https://github.com/rjekker/i3-battery-popup
2025-01-09 03:08:53 +00:00
5160384b10 Reset diagnostics after disabling 2025-01-09 03:08:53 +00:00
fd0eb9166c Add a Phpactor template for creating collections 2025-01-09 02:56:11 +00:00
d56eef8070 Fix infinite loop 2025-01-09 02:56:11 +00:00
e3a11b8d06 Add keybindings to enable, disable and toggle
...diagnostics
2025-01-08 22:43:56 +00:00
f94bf1e883 Replace the intelephense LSP with phpactor 2025-01-08 20:42:41 +00:00
320f503b1e Standardise PHP versions 2025-01-08 20:34:03 +00:00
30f336f05b Merge default.nix files into configuration.nix 2025-01-08 08:54:14 +00:00
6cd711920b t490: re-enable syncthing 2025-01-08 00:22:55 +00:00
8aeadbf708 Remove unused import 2025-01-08 00:13:56 +00:00
df9c5c87c5 Fix SSH domain 2025-01-08 00:04:56 +00:00
37ee30dfc0 Add syncthing via NixOS
Adding it via Home Manager doesn't work, presumably due to WSL.
2025-01-07 21:08:11 +00:00
7e3743d470 Make syncthing configurable per host 2025-01-07 20:58:17 +00:00
5f8bb22a90 nixedo: remove Forgejo 2025-01-07 16:08:40 +00:00
384c9aadb1 Delete ghostty configuration 2025-01-07 16:08:10 +00:00
279ce3ebf4 hetznix: refactor SSH_DOMAIN 2025-01-07 02:17:18 +00:00
6d7a0f8202 hetznix: re-enable forgejo and fix SSH issue 2025-01-07 02:03:40 +00:00
cd4eac4df6 Update SSH key and re-key secrets 2025-01-06 20:41:54 +00:00
130c2c97b1 Update website root 2025-01-06 20:41:54 +00:00
2006d2b53e nixedo: re-add forgejo 2025-01-06 10:39:46 +00:00
f1f9866816 Add new SSH key 2025-01-06 10:21:15 +00:00
3a0bf7a057 Re-key secrets 2025-01-06 10:05:41 +00:00
93f2b8a34d Change firefox to brave 2025-01-06 08:13:47 +00:00
2a55da9eb8 Move vhost imports 2025-01-06 06:43:11 +00:00
7cacaa3e26 hetznix: disable forgejo temporarily
I need to investigate why I can't push changes to it, as "git push"
commands are hanging.

I've added forgejo as an authorised SSH user and tried various Forgejo
and firewall configurations, but it isn't working.
2025-01-06 06:37:24 +00:00
d50f92ca1b Move forgejo to hetznix 2025-01-06 02:10:11 +00:00
1156a9af04 Only install browsers on non-headless systems 2025-01-06 00:38:50 +00:00
8d508dad81 Update Cloudflare API key 2025-01-05 14:26:58 +00:00
2a331f5af1 Re-organise hetznix configuration 2025-01-05 14:03:21 +00:00
8dd338d8d5 Split t490 configuration 2025-01-05 14:03:21 +00:00
96bbb1934a Revert "Restructure NixOS host configuration files"
This reverts commit f92ad2b5ab.
2025-01-05 13:37:13 +00:00
51fc0af70e Update todo.txt 2025-01-05 13:33:57 +00:00
184cc780a1 Override background colour 2025-01-04 21:22:10 +00:00
fc3c9ef569 Revert "t490: set ghostty as the default terminal"
This reverts commit 2c9af56ff7.
2025-01-04 21:07:45 +00:00
f92ad2b5ab Restructure NixOS host configuration files 2025-01-04 17:51:00 +00:00
9ea5655669 nixedo: add beaverhabits 2025-01-04 17:36:30 +00:00
6154af49b7 Move ghostty configuration 2025-01-04 16:11:51 +00:00
3b2ffa783c Update spellfile 2025-01-04 15:12:41 +00:00
2c9af56ff7 t490: set ghostty as the default terminal 2025-01-04 14:09:28 +00:00
389e5f247a Set the font size 2025-01-04 14:09:19 +00:00
44f413cd53 Remove drupal_class snippet
Removed now I have Phpactor working again.
2025-01-04 13:43:22 +00:00
aa666a2391 Re-add Phpactor 2025-01-04 13:43:22 +00:00
1cfe4b0315 Refactor snippet configuration 2025-01-04 13:43:22 +00:00
c5833a9cdc Add a snippet to create a test with an attribute
Instead of an annotation.
2025-01-04 02:06:30 +00:00
f1466f269c Remove unused snippets 2025-01-04 02:06:30 +00:00
b11a558f66 Add a custom tmux strategy for vim-test 2025-01-03 16:21:26 +00:00
3382627d6f Highlight the yanked text 2025-01-03 16:21:22 +00:00
db3aa2fe32 Add tmux keybindings to open todo list and wiki 2025-01-03 02:04:56 +00:00
98b6f7cc5b Redirect /talks to /presentations 2025-01-02 20:26:02 +00:00
91afc60ac3 Remove unused packages 2025-01-01 21:45:11 +00:00
04e8dbe319 Add throttled service 2025-01-01 20:56:29 +00:00
8abc2e1afd Fix archive page redirect
/archive/page/* shouldn't redirect.
2025-01-01 20:55:56 +00:00
1ce83c3f86 Add Brave and Chromium 2025-01-01 19:45:00 +00:00
33c4da6f92 lemp11: restore normal Caps Lock key 2025-01-01 19:15:04 +00:00
ba76093a41 Extract opdavies user 2025-01-01 19:01:51 +00:00
07e0b47988 Add missing pkgs 2025-01-01 18:41:54 +00:00
7d4f19655b lemp11: add luke user 2025-01-01 17:58:56 +00:00
62bd1c3bfe Fix the default user shell 2025-01-01 17:47:14 +00:00
985b3d10cf lemp11: add eric user 2025-01-01 17:46:44 +00:00
aad706aad6 Add missing pkgs 2025-01-01 14:49:17 +00:00
b380816a34 Re-enable audiobookshelf 2025-01-01 14:47:36 +00:00
7f2b50f736 Re-add Vaultwarden 2025-01-01 14:47:09 +00:00
07fde36fb0 Homelab updates
- Change domain to opdavies.uk as this works with HTTPS/SSL.
- Switch Nginx to Caddy.
2025-01-01 14:46:27 +00:00
f43069adac Update todo.txt 2025-01-01 13:12:42 +00:00
dd1f39b636 lemp11: switch to cinnamon and lightdm 2025-01-01 13:01:09 +00:00
1781a1ca1c Re-key secrets 2024-12-31 14:07:08 +00:00
996603da25 nixedo: re-enable FreshRSS 2024-12-31 11:53:45 +00:00
e12da9e59b Test ghostty 2024-12-31 11:52:20 +00:00
0dde56cd3f Simplify Neovim configuration 2024-12-31 11:52:20 +00:00
390eb9c312 Move more things to the common host configuration 2024-12-31 11:52:16 +00:00
c8cf733e73 Re-enable Docker 2024-12-31 10:53:48 +00:00
7c9cb14ab2 Make FreshRSS configurable per host 2024-12-31 10:48:44 +00:00
cf2cbbf19b Simplify Neovim configuration 2024-12-30 18:47:17 +00:00
ae456f3317 Remove unused packages 2024-12-30 18:05:01 +00:00
815ec0f429 Move more things to the common host configuration 2024-12-30 18:01:26 +00:00
c5afed5767 Move WSL from standalone Home Manager to NixOS 2024-12-30 17:42:55 +00:00
d1e0abf4c5 Change the pihole mount directories
Whilst doing this to /mnt/media, the adlist was showing as -2 and saying
that DNS resolution was not possible. This was preventing any ads from
being blocked.

Moving this to a local directory seems to fix the issue and I'll
investigate further at a later date.
2024-12-30 10:34:37 +00:00
35e2fe1d91 Simplify neovim keymaps and change clipboard
...setting
2024-12-29 11:54:21 +00:00
8add47b7c9 Switch font to JetBrainsMono 2024-12-29 11:54:21 +00:00
8a768262fc Update syntax highlighting 2024-12-28 23:40:35 +00:00
ba50ef37c5 Re-add nixedo as a media server 2024-12-28 09:26:54 +00:00
ec7efcba47 Re-use Terminus font 2024-12-28 09:26:54 +00:00
ed9d929b62 Re-key secrets 2024-12-27 18:59:49 +00:00
b04abfd33b Update homelab service URLs 2024-12-26 21:38:08 +00:00
22473ca2ab Update Cloudflare API token 2024-12-26 21:38:08 +00:00
ad08679bf2 lemp11: use GNOME and don't hibernate when the lid
...is closed but there is external power
2024-12-26 20:04:13 +00:00
675f4c6d92 Replace Nginx with Caddy 2024-12-26 00:13:42 +00:00
dcb3f90393 Add Cloudflare API keys to hetznix server with
...agenix
2024-12-26 00:13:42 +00:00
50c8d8ae18 Add freshrss
As services.freshss wasn't working and not logging in, I've used Docker
for this.
2024-12-26 00:13:42 +00:00
d12041ba46 Make autorandr configurable per host 2024-12-26 00:13:42 +00:00
f55e94ad4c Make audiobookshelf togglable per host 2024-12-26 00:13:42 +00:00
9a10b7017b Disable direnv logging with direnv.silent 2024-12-26 00:13:42 +00:00
be93343023 Update zsh configuration 2024-12-23 18:05:40 +00:00
2dad0a487d t490: add via and android-tools 2024-12-23 07:09:07 +00:00
0cb8818245 t490: add agenix 2024-12-23 06:50:56 +00:00
b48cc7774a Change desktop to headless 2024-12-23 00:29:30 +00:00
8607e1dee4 Re-add Meslo Nerd Font 2024-12-22 22:54:21 +00:00
67a7d9d3af Update flake.lock file dependencies 2024-12-22 22:07:14 +00:00
c462a9d35a Set the rofi theme 2024-12-22 20:52:49 +00:00
1229a9c92a t490: add peek and games 2024-12-22 20:52:31 +00:00
9088dac46d Start to extract common host configuration 2024-12-21 23:13:28 +00:00
07c6bd0ac7 Add t490 host 2024-12-21 23:13:28 +00:00
e4d27eefc9 Update rewrites 2024-12-21 02:21:20 +00:00
f4d237c7ba Configure scanning 2024-12-21 00:46:25 +00:00
83339d1bc2 Use nixpkgs-2405 on hetznix 2024-12-21 00:45:51 +00:00
c50f54fb2c Add forgejo, potentially to replace Gitea 2024-12-21 00:45:51 +00:00
815c9ece0e Remove CHANGELOG.md 2024-12-19 21:29:13 +00:00
752353b76a Update flake.lock file dependencies 2024-12-19 21:29:13 +00:00
4973f53114 Add Drush abbreviations 2024-12-17 14:55:41 +00:00
3a9f53735b Add w3m 2024-12-17 14:55:16 +00:00
71ff140285 Add composer abbreviations 2024-12-16 20:31:56 +00:00
6ed99e1a7b Fix notes directory path 2024-12-16 18:30:56 +00:00
0c6ddab366 Open a split window with C-b N to enter notes 2024-12-16 18:26:39 +00:00
b1f817b82d Follow symbolic links 2024-12-16 17:59:37 +00:00
452f5875ce Set the notes directory path 2024-12-16 17:58:54 +00:00
434c40597b Don't exit on error
As this file is sourced, it affects all subsequent shells created in the
current session.
2024-12-16 17:12:33 +00:00
839cd30420 No more .tmux files 2024-12-16 17:10:11 +00:00
ee81a0dbb5 Ignore *.old directories 2024-12-16 09:39:31 +00:00
f6abaa8926 Fix notes path with standalone Home Manager 2024-12-16 07:54:47 +00:00
db4cfbc518 Refactor local Nginx virtual hosts and update
...local hostnames
2024-12-16 00:09:43 +00:00
8e599c2ffd Rename custom-tmux-sessionizer 2024-12-15 10:16:25 +00:00
4185013014 Refactor Vim plugins into its own default.nix 2024-12-14 21:05:26 +00:00
c26e63315e Add audiobookshelf 2024-12-14 20:19:42 +00:00
1a14118877 Configure Neovim for the text filetype 2024-12-14 11:20:03 +00:00
73d801d7ac Add Nick Janetakis' notes script
https://github.com/nickjj/notes
https://nickjanetakis.com/blog/organize-your-text-based-notes-from-the-command-line-with-this-script
2024-12-14 02:50:48 +00:00
8cdc6a511d Add paperless-ngx
https://wiki.nixos.org/wiki/Paperless
https://docs.paperless-ngx.com
2024-12-13 22:18:30 +00:00
d3b0c48726 Revert "Add encrypted media drive"
This reverts commit 4cbf2104b5.
2024-12-12 22:45:29 +00:00
8280c49990 Show more generations on boot 2024-12-12 22:23:35 +00:00
bbd5052b0f Revert "Remove encrypted disk configuration"
This reverts commit d21fafc4ef.
2024-12-12 22:23:16 +00:00
58f645ee50 Add multigrep from TJ's video 2024-12-12 22:04:23 +00:00
ffc12963c4 Update mount location for media directories 2024-12-12 21:48:14 +00:00
d21fafc4ef Remove encrypted disk configuration
This is causing issues on startup which I don't have time to look into
right now.
2024-12-12 21:42:30 +00:00
f8e63a6542 Add pi-hole 2024-12-12 00:43:45 +00:00
84e9fd1424 Move Gitea, Immich and Jellyfin data to the media
...drive
2024-12-11 18:49:25 +00:00
85933f169e Add a vhost for syncthing 2024-12-11 17:17:06 +00:00
139abfaa3f Add myself to a media group 2024-12-11 17:16:11 +00:00
4cbf2104b5 Add encrypted media drive 2024-12-11 13:42:41 +00:00
b707c20259 Add cryptsetup 2024-12-11 11:01:35 +00:00
0f90bcfd70 Simplify use of lib 2024-12-10 21:40:33 +00:00
3d4bca0ada Execute Lua code in the current file, range or
...line
2024-12-10 16:57:56 +00:00
6e897dfe0b Update abbreviations 2024-12-10 09:13:31 +00:00
dbd0c993b3 Add nginx vhosts for self-hosted services 2024-12-10 00:12:26 +00:00
c01820a33b Use agenix to encrypt secrets 2024-12-09 23:54:21 +00:00
04c32edb04 Add tubearchivist
Generated with compose2nix.
2024-12-09 21:11:59 +00:00
4f6202de81 Fix keymap 2024-12-09 16:27:07 +00:00
fc8925f4b2 Set keymaps after loading options
Ensure `<leader>` is set in options.lua before settings keymaps in
keymaps.lua.
2024-12-09 16:25:58 +00:00
5c0b31e49c Update fonts 2024-12-08 22:42:38 +00:00
0a4c0ee7a7 Update spellfile 2024-12-08 22:42:38 +00:00
aa75621f4c Disable animations 2024-12-08 22:42:38 +00:00
5f2d28285b Rename scratch to shell 2024-12-07 02:37:01 +00:00
ccb9f7bf4b Remove nitrogen 2024-12-07 02:37:01 +00:00
e6349b6c31 Just clear in certain directories 2024-12-07 00:43:21 +00:00
bab5f8f4a8 Fix occassional Neovim loading error 2024-12-07 00:43:21 +00:00
930473a896 Rename t to tmux-sessionizer
This matches ThePrimeagen's script that mine is based on and that I'll
probably switch to in the future.

I've added to the Nix store as custom-tmux-sessionizer so it doesn't
conflict with the tmux-sessionzer packages that's already in the store.
2024-12-07 00:43:21 +00:00
5a9353ad17 Update tmux-sessionizer 2024-12-06 16:09:29 +00:00
1696b70be8 Revert "Set i3 colours"
This reverts commit bac14a8cb1.
2024-12-05 19:33:06 +00:00
8be04fdab9 Update spellfile 2024-12-05 19:33:06 +00:00
1b2095eb99 Add peek 2024-12-05 19:33:06 +00:00
ca9c039575 Update flake.lock file dependencies 2024-12-05 19:33:06 +00:00
ed50cf8f1e Tweak Alacritty settings 2024-12-05 19:33:06 +00:00
3acd73f6a2 Update spellfile 2024-12-02 22:34:00 +00:00
f034bb62f7 Add luke.oliverdavies.uk 2024-12-02 22:33:08 +00:00
7e102e3555 Enable the mouse in Neovim
I already have it enabled in i3, tmux, etc, so why not in Vim?
2024-11-30 23:11:06 +00:00
bac14a8cb1 Set i3 colours 2024-11-30 23:07:37 +00:00
842ce007ff Reverse all fzf lists by default 2024-11-30 22:33:45 +00:00
e09de22f4b Make handbrake configurable 2024-11-30 20:41:15 +00:00
818ecfa618 Remove kanata 2024-11-30 13:22:40 +00:00
ec2767adfb Remove taskwarrior 2024-11-29 22:32:54 +00:00
d79350f36a Remove reference to treesitter-context 2024-11-29 19:24:55 +00:00
fed132e2c3 Update todo.txt 2024-11-29 16:29:08 +00:00
c9fd07295f Open copyq in a floating window 2024-11-29 16:28:37 +00:00
b2dd905f82 Focus follows the mouse 2024-11-29 16:28:26 +00:00
eef952c8c0 Add tome.oliverdavies.uk 2024-11-29 16:27:39 +00:00
8454dbe891 Add packages 2024-11-29 16:27:09 +00:00
9a32f612f2 Update vhost path 2024-11-29 14:18:55 +00:00
21b6cd9326 Move my static sites to the new server 2024-11-29 01:52:50 +00:00
de553ff052 Update spellfile 2024-11-28 01:32:15 +00:00
8fd5c6b969 Initial Hetzner server and vhost configuration 2024-11-28 01:07:21 +00:00
d693e16796 Hide errors for non-existant paths 2024-11-28 01:07:21 +00:00
4f93c87bb3 Find directories for open source projects 2024-11-28 01:07:21 +00:00
1d40bf6c1d Fix battery notifications 2024-11-28 01:07:21 +00:00
0e2a86abb6 Fix Neovim imports in WSL 2024-11-27 18:18:23 +00:00
5ebf83a334 Un-reverse the directory names
This makes it consistent with other places where I use fzf.
2024-11-26 15:18:58 +00:00
198f2962bd Extract Docker and screenkey modules 2024-11-26 13:42:33 +00:00
d0e83937d2 Remove unused packages 2024-11-26 13:05:41 +00:00
9782272a76 Group modules into feature directories 2024-11-26 13:04:03 +00:00
0baed7e6f6 Make other desktop Home Manager modules togglable 2024-11-26 09:00:41 +00:00
af9edbfe1a Refactor NixOS and Home Manager modules
This makes them more modular and configurable by allowing features to be
enabled per-host.

Squashed commit of the following:

commit e9896d6166125de7aa26ddc63dac3adb196e8c23
Author: Oliver Davies <oliver@oliverdavies.dev>
Date:   Mon Nov 25 23:06:23 2024 +0000

    Use mkMerge

    To ensure features isn't overridden and values aren't lost accidentally

commit c9c8ff5d059f08ade3aee9bb4e25bd51d4817a6d
Author: Oliver Davies <oliver@oliverdavies.dev>
Date:   Mon Nov 25 22:56:38 2024 +0000

    Move NixOS module imports

commit 4a85bbac9dfa8f06825f6b1fee45ef27befa16d3
Author: Oliver Davies <oliver@oliverdavies.dev>
Date:   Mon Nov 25 22:39:54 2024 +0000

    Move Home Manager module imports

commit 6d7a1b0aac68ccc8649fa2d8cd6e8b17ecebb4f0
Author: Oliver Davies <oliver@oliverdavies.dev>
Date:   Mon Nov 25 21:15:54 2024 +0000

    Add host-specific Home Manager configurations

commit b32da2fbf7498c9684d8289be0f02800994e9110
Author: Oliver Davies <oliver@oliverdavies.dev>
Date:   Mon Nov 25 18:00:00 2024 +0000

    Start to parameterise Home Manager modules

commit e80e89b415849cc4c6051a07b70587ac98724e2c
Author: Oliver Davies <oliver@oliverdavies.dev>
Date:   Mon Nov 25 18:00:00 2024 +0000

    Rename wsl commands to home-manager

commit 6d82ed73da3c104fb25117fb843c3f3b5d833180
Author: Oliver Davies <oliver@oliverdavies.dev>
Date:   Mon Nov 25 18:00:00 2024 +0000

    Refactor NixOS Home Manager configuration

commit cc5cbf5ac1a407a456d7258dd65a78ba3128a88f
Author: Oliver Davies <oliver@oliverdavies.dev>
Date:   Mon Nov 25 08:05:00 2024 +0000

    Refactor WSL Home Manager configuration

commit deaf664a0997871b6f2bb0a8f97d638a91cb10bc
Author: Oliver Davies <oliver@oliverdavies.dev>
Date:   Mon Nov 25 08:04:00 2024 +0000

    Refactor lemp11 configuration
2024-11-26 08:13:46 +00:00
7973d6ebad Revert "Add git-squash-merge script"
This reverts commit 150182149a.
2024-11-26 08:09:03 +00:00
150182149a Add git-squash-merge script 2024-11-26 00:41:53 +00:00
adcbb914f1 Remove zellij 2024-11-25 08:03:59 +00:00
4a92828efb Replace backintime with rsnapshot 2024-11-25 08:03:59 +00:00
42ba264047 Configure rofi and add plugins 2024-11-25 08:03:59 +00:00
8a6be4f1de Re-use dunst for battery notifications 2024-11-25 08:03:59 +00:00
196b793515 Fix bin path 2024-11-25 08:03:59 +00:00
bb73c19448 Add collect-garbage 2024-11-25 08:03:59 +00:00
b85ee25878 Tab completion with fzf 2024-11-25 08:03:59 +00:00
6f54d169b7 Re-add borders 2024-11-25 08:03:59 +00:00
87a756a4fb Remove nvim-treesitter-context 2024-11-25 08:03:59 +00:00
4c5fd19f5a Remove mini.statusline 2024-11-25 08:03:59 +00:00
172b7c9ca6 Update the output path 2024-11-22 01:20:30 +00:00
e5b60ccc8b Add ~/Code/personal directory 2024-11-22 01:19:15 +00:00
71f335870d Move host-specific modules 2024-11-22 01:18:31 +00:00
f232ce4679 Swap shift and control keys 2024-11-21 21:03:08 +00:00
664f8e37ae Add screenkey 2024-11-21 19:06:26 +00:00
b480910b98 Don't redeclare the username 2024-11-21 16:31:40 +00:00
42742700a6 Move i3 and autorandr into desktop modules 2024-11-21 16:21:14 +00:00
64b3299b82 Update spellfile path 2024-11-21 13:22:17 +00:00
962e97f613 Add build-glove80 script
Instead of running NixOS in Docker, I can build the firmware natively as
I'm running NixOS.
2024-11-21 13:19:21 +00:00
bebdfb82fd Update flake.lock file dependencies 2024-11-21 10:49:00 +00:00
2ed0cfbb20 Remove the old nixpkgs-unstable input
This is not needed as I'm now using unstable by default.
2024-11-21 10:49:00 +00:00
5ba4add9a3 Automatically run autorandr 2024-11-21 08:56:12 +00:00
2735048119 Enable xbanish
Hide the mouse cursor whilst typing.

https://github.com/jcs/xbanish
2024-11-21 08:56:12 +00:00
Oliver Davies
d64018f6d0 Update todo.txt 2024-11-21 08:56:12 +00:00
7c5461892c Update espanso matches 2024-11-21 08:56:12 +00:00
785b24ca0f Add dunst 2024-11-21 08:56:12 +00:00
69a397e624 Move Nix files into a nix directory
Move everything from `config` to the root level.
2024-11-21 08:56:12 +00:00
9f47df62b5 Disable automatic upgrades 2024-11-20 21:34:21 +00:00
6444ce5226 Re-add Nitrogen for managing wallpaper 2024-11-20 17:58:57 +00:00
35a7b70fe2 Add abbreviation to source .tmux files 2024-11-20 11:06:12 +00:00
b8cc67b3db Remove username from starship prompt 2024-11-20 11:02:10 +00:00
0cafc1ca4e Disable colours in i3status bar 2024-11-20 11:01:38 +00:00
d201a2b27b Remove tmux-resurrect 2024-11-20 10:49:06 +00:00
dcbe273d9b Add killall 2024-11-20 10:48:42 +00:00
cb402c2abd Replace tsserver with ts_ls 2024-11-20 10:48:00 +00:00
71d680c695 Update spellfile 2024-11-20 09:18:21 +00:00
963f09c67f Refactor LSP configuration 2024-11-20 09:17:57 +00:00
a181e9fe4e Configure htop with Home Manager 2024-11-20 07:59:50 +00:00
2226730f0b Fix yanking from tmux to the clipboard 2024-11-19 21:31:14 +00:00
7dec20cc37 Update spellfile 2024-11-19 21:30:04 +00:00
7f602e8fa1 Allow for renaming tmux windows
Don't override the format for window statuses.
2024-11-18 20:43:53 +00:00
319102a2f8 Update spellfile 2024-11-18 18:10:19 +00:00
aa02efba95 Remove dev.kdl 2024-11-18 18:08:32 +00:00
03ec322eb2 Remove reference to awesome-client 2024-11-18 18:01:42 +00:00
fd961a57de Automatically enable spell checking for markdown
...files
2024-11-18 01:37:16 +00:00
f1b811a384 Filter Tailwind v4 messages 2024-11-17 14:01:28 +00:00
15629afd1b Remove tabline-vim 2024-11-17 12:08:55 +00:00
31e4700c23 Open splits below and right 2024-11-17 12:08:04 +00:00
13fd9f53fb Replace tsserver with ts_ls 2024-11-17 12:03:45 +00:00
23bad15ab1 Add terminal settings 2024-11-16 20:37:27 +00:00
18b4f4429f Adjust line spacing in Alacritty 2024-11-16 15:47:44 +00:00
bc3a9b43d7 Revert zoom-us back to nixpkgs-2405
Fixes a black screen when screen sharing.
2024-11-16 15:24:07 +00:00
94f9c8a116 Include .tmux.conf.local 2024-11-16 15:24:07 +00:00
f3527f91c1 Add myself as a trusted Nix store user
Allows using Cachix caching in devenv.
2024-11-16 15:24:07 +00:00
c2f61f897b Update spellfile 2024-11-16 15:24:07 +00:00
ae45be3426 Add devenv abbreviations 2024-11-16 15:11:21 +00:00
83e5acb5e7 Add immich-cli 2024-11-15 18:12:00 +00:00
81397078dd Remove the cmd_duration module 2024-11-13 08:53:26 +00:00
bdaba8b391 Update shell to terminal.shell 2024-11-13 01:40:49 +00:00
85e9a16611 Add immich for photo backups 2024-11-12 20:31:30 +00:00
bcbdb5a2d5 Remove GNOME 2024-11-12 20:21:26 +00:00
abc0e5d429 Switch back to nixpkgs-unstable by default 2024-11-12 20:14:21 +00:00
1a081a956b Switch back to i3 2024-11-12 20:14:21 +00:00
e4cd1a0b81 Add devenv 2024-11-12 00:18:38 +00:00
81303f4c09 Re-enable the starship prompt 2024-11-12 00:18:15 +00:00
7377019826 Update spellfile 2024-11-10 00:13:52 +00:00
86fb0c37c4 Fix gitea
Fixes this error:

> Migration Error: Your database (migration version: 299) is for a newer
Gitea, you can not use the newer database for this old Gitea release
(280).

This was probably caused by installing Gitea whilst experimenting again
with nixpkgs unstable.
2024-11-10 00:12:22 +00:00
d8db48ddfe Add more Git abbreviations 2024-11-09 21:24:11 +00:00
0d4f919898 Enable system76 hardware settings
Remove tlp in case there are conflicts.
2024-11-07 22:29:03 +00:00
3c7aa3f03e Organise NixOS and Home Manager modules 2024-11-05 23:59:03 +00:00
501b5cd011 Change gitea port 2024-11-05 23:57:44 +00:00
cf838b73c6 Add todo.txt 2024-11-05 18:43:42 +00:00
1a627d1828 Use the unstable overlay in other places 2024-11-05 16:01:00 +00:00
8876a339b6 Move jellyfin into its own module 2024-11-05 14:49:01 +00:00
7cf71d17f6 Add gitea 2024-11-05 14:47:10 +00:00
4f9073757c Refactor vim plugins overlay
Add overlays for additions, modifications and unstable packages, and
move each additional plugin into its own additional package.
2024-11-05 13:40:42 +00:00
cd25bf96e9 Remove notetaker script 2024-11-05 07:45:36 +00:00
4da89a329f Move custom Vim plugins back to an overlay 2024-11-05 00:02:51 +00:00
216a1d3321 Tweak max CPU performance settings 2024-11-04 23:08:25 +00:00
c155c36270 Add an abbreviation for git branch 2024-11-04 23:08:25 +00:00
586aa7f207 Try kanata for configuring my laptop keyboard 2024-11-04 23:08:03 +00:00
11a75714f9 Prepare for switching back to unstable 2024-11-03 19:57:04 +00:00
241e15315d Add gtypist 2024-11-01 23:01:41 +00:00
3cc5c97178 git: remove unstage alias and move it to a zsh
...abbreviation
2024-10-30 14:52:31 +00:00
83ae12e080 Add built Go binaries to $PATH 2024-10-29 17:15:18 +00:00
7f2be583d4 Make direnv quieter 2024-10-29 17:03:14 +00:00
38fb5ddb25 Use gofmt as a formatter for go files 2024-10-29 14:28:11 +00:00
1bc80ccef3 Update t script
Stop automatically running `.tmux` files as I don't always want
everything to run when opening a project. This also simplifies the code
within the script.

This also refactors the logic for creating and switching sessions as it
didn't work 100% of the time. This is nearer to Jess Archer's version of
the script with less error output and changes needed for shellcheck.
2024-10-28 16:29:22 +00:00
a7f2d90542 Order zsh abbreviations alphabetically 2024-10-28 12:09:19 +00:00
7aa65d419e Add more Git abbreviations 2024-10-28 12:08:57 +00:00
576e8c37a2 Re-add nvim-tmux-navigation
Easier navigation between Neovim and tmux panes.
2024-10-26 16:09:10 +01:00
cffba6b6b6 Re-add en.utf-8.add spellfile 2024-10-26 15:45:29 +01:00
d4daaa1509 Update flake.lock file dependencies 2024-10-26 13:02:38 +01:00
1d4f4a46f5 Add ytfzf
A tool for finding YouTube videos from the command line.
2024-10-26 01:40:14 +01:00
80927b1df2 Add deliver script
Based on Jess Archer's script, this executes a command within a
specified Docker Compose service or, if no matching one is not found,
will execute it locally.
2024-10-25 22:06:26 +01:00
c1e85f01d9 Add more Git-related abbreviations 2024-10-25 20:51:11 +01:00
5b1f41a2e1 nvim: add Twig snippets for Storybook 2024-10-24 14:39:00 +01:00
8d07d76e2b Replace nil_ls with nixd 2024-10-23 21:07:26 +01:00
05114e59b7 Update flake.lock file dependencies 2024-10-21 23:57:58 +01:00
5d19b61817 Add handbrake and jellyfin 2024-10-14 21:04:49 +01:00
86308429dd Update Neovim to 0.10.1 2024-10-09 19:15:02 +01:00
e332a9835e Remove the default colorcolumn 2024-10-09 19:05:22 +01:00
8244e157fd Re-add Neovim configuration files
Re-included from https://github.com/opdavies/opdavies.nvim.
2024-10-09 19:04:40 +01:00
634bf71c6e Add rci abbreviation 2024-10-09 17:46:45 +01:00
0d1065e73c Use t again 2024-10-09 17:46:45 +01:00
a0d4634837 Update flake dependencies 2024-10-07 22:53:55 +01:00
bc366d2e48 Change monitor resolution 2024-10-07 09:44:17 +01:00
3b0aa0aa34 Update abbreviations 2024-10-06 09:55:15 +01:00
1d064be58a Update opdavies-nvim 2024-10-06 09:48:03 +01:00
8b3ecc1e2b Update opdavies-nvim 2024-10-03 11:35:47 +01:00
77ae8eb467 Add libreoffice 2024-10-02 22:24:50 +01:00
6335757a9c Update autorandr configuration 2024-10-02 21:00:52 +01:00
7b8bb509c8 Add taskopen 2024-10-01 21:46:15 +01:00
1669fb84b3 Add taskwarrior3 and taskwarrior-tui 2024-10-01 12:46:46 +01:00
0581b50118 Update flake dependencies 2024-10-01 09:22:10 +01:00
9fbe7c1fec Revert "Remove tmux"
This reverts commit a7556575ac.
2024-09-25 21:33:55 +01:00
598989f2ad Revert "Make Terminus the default font"
This reverts commit 1e83c4bf8b.
2024-09-25 10:07:26 +01:00
9cdb4461a4 Format 2024-09-23 13:17:10 +01:00
1e83c4bf8b Make Terminus the default font 2024-09-23 13:07:13 +01:00
aa9b66f091 Add the Terminus font 2024-09-23 11:53:08 +01:00
2265173564 Include the tfw sub-directories 2024-09-23 10:47:00 +01:00
73a893143e Update tfw directory 2024-09-23 10:46:41 +01:00
56e39ef6be Remove the apollo host
This laptop is currently dead and I'm only working on my Lemur Pro
laptop (lemp11), so I'm removing this host for now.
2024-09-23 09:02:03 +01:00
8b0d618672 Move NixOS modules 2024-09-23 09:01:00 +01:00
e17aa080ba Nicely reload system units when changing configs 2024-09-23 02:32:07 +01:00
f71696ed22 Update flake.lock 2024-09-21 13:34:28 +01:00
4ba72da371 Add common-gpu-intel from nixos-hardware 2024-09-21 13:15:39 +01:00
cd4e7048c5 Extract Docker configuration to a mixin 2024-09-21 12:46:14 +01:00
24e2edfb8e Extract font configuration into a mixin 2024-09-21 12:36:24 +01:00
561a30cde6 Update hostname 2024-09-21 11:35:26 +01:00
c8befe0767 Switch firefox to brave 2024-09-21 11:18:22 +01:00
da330ef9ee Add logseq 2024-09-21 10:23:54 +01:00
990af27e35 Add more nixos-hardware modules 2024-09-21 10:22:52 +01:00
fec58e770d Add nixos-hardware for system76 2024-09-21 09:58:08 +01:00
9fe266acc5 Update opdavies-nvim 2024-09-16 00:01:52 +01:00
bf79200e0d Update opdavies-nvim 2024-09-15 23:17:55 +01:00
f5c7b2ae10 Re-add Documents 2024-09-13 20:19:00 +01:00
098d714168 Use create-zellij-session 2024-09-13 20:18:20 +01:00
15fd2c3d25 Re-add the brave browser 2024-09-13 20:18:11 +01:00
72e2f1f46d Simplify packages using with 2024-09-13 13:52:51 +01:00
5cd3ddceff Re-add Pocket Casts 2024-09-13 13:49:25 +01:00
552d7cda20 espanso: move base matches to base.nix 2024-09-11 23:08:32 +01:00
f706299fbf espanso: configure toggle key
From the configuration docs:

> If you often need to quickly enable and disable Espanso during regular
use, you might want to customize the Toggle Key. When double pressed,
the Toggle Key disables Espanso, preventing any
expansion. Double-pressing Alt again will re-enable it.

> Prior to version 2.1.2, Espanso was configured to use the ALT key as
toggle_key by default. That was a major source of confusion, as many
users accidentally pressed it during normal use. For this reason,
Espanso now ships with the toggle_key disabled by default.

https://espanso.org/docs/configuration/options/#customizing-the-toggle-key
2024-09-11 23:03:11 +01:00
28aef6504f Add a :record snippet
That links to the calendar to book a Beyond Blocks podcast episode
recording.
2024-09-11 22:53:41 +01:00
d63992ed63 Re-organise Home Manager modules 2024-09-11 21:48:58 +01:00
9401bd3754 Remove DDEV and just 2024-09-11 20:39:19 +01:00
91dc0de725 Add fastfetch 2024-09-11 20:38:52 +01:00
a476a53d3a Update completions 2024-09-11 15:22:49 +01:00
1d1f4255b9 Re-add Lemur Pro laptop as a NixOS machine 2024-09-11 15:21:52 +01:00
2082d9361b Update expansion matches 2024-09-10 01:41:50 +01:00
985b872d7b Update flake dependencies 2024-09-08 12:27:36 +01:00
a7556575ac Remove tmux
After using it as a daily driver from the last week or so, I'm switching
to Zellij.

https://zellij.dev
2024-09-04 08:00:59 +01:00
edfa2b7c22 Only show the names of the directories
Remove the ~/Code prefix from the list of items.
2024-09-04 07:55:50 +01:00
246e383a77 Update flake dependencies 2024-09-04 07:55:42 +01:00
2d91ea65a4 Update abbreviations 2024-09-04 00:00:16 +01:00
950579f538 Add compact bar 2024-08-31 17:18:27 +01:00
56ce8ba735 Add create-zellij-session script
Based on t.nix, this creates or attaches to a Zellij session based on a
given directory.
2024-08-31 17:17:32 +01:00
9f4e5bebf8 Add the Zellij default configuration
Used `zellij setup --dump-config` to get the configuration and saved it
into its own file.
2024-08-29 09:44:59 +01:00
4406690f63 Set Zellij theme 2024-08-29 02:21:19 +01:00
4c3ba5549d Don't open all Kdenlive windows in fullscreen mode
This also affects pop-up windows within Kdenlive, such as when changing
the playback speed, that I don't want to be fullscreen.
2024-08-28 13:01:46 +01:00
c62f741a90 Add a default directory when using yt-dlp
Always place downloaded videos in `~/Videos`.
2024-08-28 13:00:36 +01:00
7c6d68a589 zsh: add code directory to CDPATH 2024-08-28 13:00:09 +01:00
e810a8506e Add a :zet expansion that links to my
...Zettelkasten site
2024-08-28 12:58:17 +01:00
b9ff90afc0 Add watchexec 2024-08-28 12:58:02 +01:00
7ec9ec107d Add Zellij layout 2024-08-27 23:30:38 +01:00
932294ca3f Update opdavies-nvim 2024-08-27 23:29:36 +01:00
5fe35808d2 Trying out zellij 2024-08-24 23:36:39 +01:00
10097802b3 Update opdavies-nvim 2024-08-24 15:23:17 +01:00
50fc641743 Update abbreviations 2024-08-21 09:36:15 +01:00
a1c356a1f5 Update aliases, abbreviations and snippets 2024-08-21 01:12:55 +01:00
a1ef2d1402 Update path to jq 2024-08-20 21:51:15 +01:00
4d4d65d812 Refactor: inject the username into the source path 2024-08-20 21:01:50 +01:00
ce5b4fa0a1 Create export-video-list script
Create a `export-video-list` script that exports all the video files on
my external hard drive to a JSON file so I can easily see what videos I
have without needing to get and plug in the drive.

I can easily view it using `bat` or `jq` and combine it with `grep` to
search for a specific video - e.g. `cat ~/video.json | grep -i nix`
(`-i` makes the search case-insensitive).
2024-08-20 19:48:57 +01:00
13c83fb8b4 Hide error about nested tmux sessions 2024-08-20 17:07:04 +01:00
b36ca8086e Add timer script for desktop machines
Based on https://github.com/sdaschner/dotfiles/blob/master/bin/timer and
https://github.com/sdaschner/dotfiles/blob/master/bin/_timer.

Seen in https://youtu.be/8CZIv3MJvic?si=PiVPM_vwuUKI7ak3&t=1460.
2024-08-20 14:34:32 +01:00
b30909b32a zsh: add some suffix aliases
Aliases that run when files of a matching type are opened.

See https://youtu.be/8CZIv3MJvic?si=QVqtaCDNaygs2qaE&t=670.
2024-08-19 22:18:02 +01:00
c712a1b254 Add aliases for curl
Use the cursor position to not have a trailing space after expanding the
abbreviation, making it easier to type any following characters.

See https://zsh-abbr.olets.dev/usage.html#place-the-cursor and
https://github.com/olets/zsh-abbr/discussions/97
2024-08-19 22:10:29 +01:00
5dac3f312d Add an abbreviation for C to copy to the
...clipboard using `xclip`

This also works in WSL.
2024-08-19 21:41:42 +01:00
74c6c2f8dc Always install xclip, not just on desktop 2024-08-19 21:41:28 +01:00
730c776646 Add xclip 2024-08-19 21:09:01 +01:00
49ec84d9e4 Add mermaid-cli 2024-08-19 21:08:41 +01:00
92cecef02c Remove feh and nitrogen
Go back to the default awesome WM wallpaper.
2024-08-15 21:22:55 +01:00
0a2a924a9d Update Flake lock file 2024-08-15 10:00:38 +01:00
6254621f24 nix flake update 2024-08-13 23:37:26 +01:00
834b1bb502 Update opdavies-nvim 2024-08-13 23:30:41 +01:00
9f860ee6f2 Experiment with pet for snippets
https://github.com/knqyf263/pet

Seen on https://youtu.be/fU8HB1cvG9w?si=-lPdL1csAB_4D6tL&t=653.
2024-08-13 18:12:59 +01:00
95f6620c47 Remove nnn 2024-08-13 12:04:43 +01:00
1d59baa998 t: sort and reverse directories 2024-08-13 12:04:43 +01:00
4b7bae5c97 Don't include results from /tmp 2024-08-13 12:04:43 +01:00
0acedf8bea Remove starship, atuin and wezterm 2024-08-13 12:04:40 +01:00
bcf8104617 Add age and sshs
Seen on https://youtu.be/1QqvL-k11NE?si=I_nNNf7b7u9O16Xr.
2024-08-13 09:13:32 +01:00
ffc8945630 Simplify tmux configuration 2024-08-13 09:11:06 +01:00
fee57341de Update opdavies-nvim 2024-08-13 09:05:04 +01:00
44e73d1815 Ignore .stignore 2024-08-13 09:05:04 +01:00
f6a6785234 Use arguments to the wsl commands 2024-08-12 10:49:02 +01:00
4d1040a4de bluetuith: use j and k to navigate up and down
https://github.com/darkhz/bluetuith/issues/62#issuecomment-2141669880
https://darkhz.github.io/bluetuith/Configuration.html
2024-08-09 12:50:18 +01:00
23cf80d9c6 Add bluetuith
A TUI for managing Bluetooth devices and connections.

https://darkhz.github.io/bluetuith/index.html
2024-08-07 09:21:31 +01:00
6082de62b0 Look for .ignored/run when running commands
Make the `run` command cleverer by also searching for a `.ignored/run`
file, following the convention of always ignoring a `.ignored` directory
from Git.

This allows me to have a local `run` file that doesn't need to be
committed and pushed to the repo (e.g. it's too specific to me), and
being able to keep it outside of the root of the project directory where
it could be committed accidentally.

A similar approach was done by Andreas Möller using Makefiles in this
article:

https://localheinz.com/articles/2020/05/07/using-makefiles-in-projects-where-i-can-not-use-them

With this function, the `.ignored/run` file is executed if it's found
and exits with the status code of the command.

If not, it will fall back to using `./run` as before.

I considered reversing these and checking for `./run` first as there
could be a performance benefit but, if neither file is found, I want the
error to show `./run` and not `.ignored/run` as that's the main use
case.
2024-07-31 16:40:25 +01:00
75f983fea7 Revert "git: use difftastic"
This reverts commit c06fb20115.
2024-07-28 13:30:11 +01:00
22385b9a1c Revert "git: use difftastic by default"
This reverts commit 2fbf67507f.
2024-07-28 13:29:57 +01:00
ac34ff2742 Update flake lock dependencies 2024-07-28 13:29:37 +01:00
b944d20123 zsh: run zle reset-prompt in each widget
Instead of having to press the Enter key after running a widget, use
`zle reset-prompt` to reset the prompt.
2024-07-24 08:01:20 +01:00
15d6fa1aab tmux: update prefix key 2024-07-23 21:33:13 +01:00
960b354b31 awesome: change font size 2024-07-23 21:32:25 +01:00
b661f78a28 awesome: remove s.mylayoutbox
It's not needed if I only have one layout option enabled.
2024-07-23 21:27:07 +01:00
bc92eb0afb awesome: only use the tiled layout 2024-07-23 21:26:28 +01:00
0a28c2a5b3 zsh: open nvim with Ctrl+v 2024-07-23 20:47:53 +01:00
4d5e17c46f awesome: add a keybind to run notetaker in a
...floating window
2024-07-23 17:00:30 +01:00
c2ead888dd Add notetaker script
Add a script to quickly and easily create and edit a daily note.
2024-07-23 15:19:47 +01:00
c7ca1fd14c Remove nixedo host 2024-07-22 18:09:50 +01:00
e63150e278 Re-add GNOME to fix the thunar theme and see if it
...fixes autorandr
2024-07-22 11:56:17 +01:00
3ae1d8d51d Add pmutils 2024-07-21 13:11:22 +01:00
8c095288dc espanso: move matches into a separate file 2024-07-21 00:28:35 +01:00
b64556e2ca Remove unused packages 2024-07-20 23:42:16 +01:00
9a84a3bcc1 Update flake lock dependencies 2024-07-20 23:41:29 +01:00
a1065e8466 Update opdavies-nvim 2024-07-16 18:08:02 +01:00
6fa5a95636 Fix traefik repo path 2024-07-14 18:38:00 +01:00
ce9cf2ea83 Add gpl and gps abbreviations
`gpl` expands to `git pull` and `gps` expands to `git push`.
2024-07-14 10:38:24 +01:00
c258e6f70c Re-add lightdm as a display manager 2024-07-14 09:14:15 +01:00
d2dbf29483 Don't use pkgs.firefox-wayland 2024-07-11 13:16:59 +01:00
537eb704e7 zsh: remove zsh-auto-notify plugin
`AUTO_NOTIFY_IGNORE` keeps being reset within a tmux session, so I'm
removing this for now until I have time to investigate further and
resolve.
2024-07-11 13:14:10 +01:00
d2ae9d01ee git-instafix: set a default upstream branch 2024-07-11 02:58:46 +01:00
2b157d1275 awesome: allow toggling the wibar with Mod+b 2024-07-10 22:48:24 +01:00
a2ed026258 Use $REPOS variable consistently in scripts 2024-07-10 13:44:09 +01:00
c8d21d28c1 Re-add backintime for Linux backups 2024-07-10 13:27:47 +01:00
cc896e94b4 Add cpufrequtils to get cpufreq-info to check
...CPU performance
2024-07-10 13:27:47 +01:00
2220569643 Re-add gtk configuration, switch Thunar back to
...the dark theme
2024-07-10 12:34:20 +01:00
91aa0e0c0e Update opdavies-nvim 2024-07-10 09:32:28 +01:00
d1e47d867e Update opdavies-nvim 2024-07-09 19:59:43 +01:00
97ac64195c autorandr: fix automatically switching when a
...monitor is plugged or unplugged
2024-07-09 18:39:40 +01:00
590cb3ab40 Update opdavies-nvim 2024-07-09 18:39:05 +01:00
f0e3671e1d zsh: remove unused functions 2024-07-09 14:25:41 +01:00
5bf2253f98 git: organise extraConfig values 2024-07-09 14:25:00 +01:00
2fbf67507f git: use difftastic by default
As described in
https://difftastic.wilfred.me.uk/git.html#difftastic-by-default, the
`--ext-diff` option needs to be used for difftastic to be used on
commands other than `git diff`, such as `git show` or `git log`.

> This only applies to git diff. For other git commands, you still need
to specify --ext-diff, or use an alias as described above.

```shell
$ git diff
$ git show HEAD --ext-diff
$ git log -p --ext-diff
```

> Conversely, if you need to copy/paste a diff in the standard diff
format, you can use git diff --no-ext-diff.
2024-07-09 14:15:46 +01:00
c06fb20115 git: use difftastic 2024-07-09 13:53:02 +01:00
42c1bc4045 zsh: remove just override 2024-07-09 12:01:08 +01:00
0610b0e865 t: search in ~/Documents 2024-07-09 07:07:51 +01:00
75731bda19 t: extract a function that finds and executes
...`.tmux` files
2024-07-09 07:07:44 +01:00
9677ef8ecd Replace justfile with run 2024-07-08 22:13:06 +01:00
ad796ad495 Remove unused files and references 2024-07-08 22:13:06 +01:00
84cff06cf3 Move autorandr configuration so it works
...automatically when docking or undocking
2024-07-08 22:12:28 +01:00
0c4167a464 zsh: don't automatically source zsh plugins
It seems this is done automatically.
2024-07-08 18:46:56 +01:00
d1080e0cbc t: ignore the _archive directory 2024-07-08 18:43:32 +01:00
b23d33586b Update opdavies-nvim 2024-07-08 16:53:43 +01:00
d769885d8f Flatten Code directories 2024-07-06 02:21:40 +01:00
766a35d27e awesome: add space between keybindings 2024-07-06 02:21:40 +01:00
c90b77f4a1 awesome: increase font size 2024-07-06 02:21:40 +01:00
e6e55d8af8 Remove build-configs
Caching permissions error when running `app:generate`.
2024-07-06 01:41:43 +01:00
53b8745b34 Update git-instafix to 0.2.7
v0.2.6 contained fixes for trunk-based development workflows that don't
require being on a separate branch.

https://github.com/quodlibetor/git-instafix/releases/tag/v0.2.6
2024-07-06 01:38:44 +01:00
aaf069593d Update flake dependencies 2024-07-06 01:23:52 +01:00
0fc3c765e5 tmux: remove padding around words in the status
...bar
2024-07-05 23:10:56 +01:00
fc8f930aef t: work for .ignored/.tmux files too 2024-07-05 19:43:55 +01:00
d37e30e67c git: ignore .ddev/providers 2024-07-05 15:12:06 +01:00
3137c0e096 awesome: make max the default layout 2024-07-03 09:08:47 +01:00
b636f365ca tmux: remove tmuxinator 2024-07-03 09:08:47 +01:00
8f98a24ea1 awesome: add spacing between keybinds 2024-07-03 09:08:47 +01:00
795f996091 awesome: swap Mod+j and Mod+k keybindings
Make `Mod+j` go left and `Mod+k` go right, so they match the position of
the keys on the keyboard.
2024-07-03 09:08:47 +01:00
b11055fd8e zsh: configure auto-notify ignore settings 2024-07-03 09:08:47 +01:00
3de6b6cd33 Update flake lock file 2024-06-30 14:41:40 +01:00
b68d48603e zsh: extract aliases and abbreviations into
...separate files
2024-06-30 14:22:57 +01:00
0ec273cbb4 zsh: fix gs alias for git status 2024-06-29 20:51:22 +01:00
53423ccdbf zsh: add zsh-auto-notify plugin
Shows notifications when long running tasks are completed.

See https://github.com/MichaelAquilina/zsh-auto-notify.
2024-06-29 20:47:41 +01:00
f0f7e55a04 awesome: re-add the max layout 2024-06-27 20:50:50 +01:00
776bcfe7ea awesome: space out keybindings 2024-06-27 20:08:45 +01:00
56ccef5c7b awesome: add a keybinding to run flameshot 2024-06-27 20:08:45 +01:00
928e5c6938 awesome: prevent firefox from always opening in
...a maximised window
2024-06-27 20:08:43 +01:00
0df5f17dae zsh: migrate to zsh-abbr
Migrate from `zsh-expand` to `zsh-abbr` as it seems more performant and
isn't giving me unwanted expansions, such as when typing `run` within
this repository and it completing to something else.

Whilst Home Manager does have `programs.zsh-attr`, there isn't an option
for setting global abbreviations that expand anywhere in the command,
which I need to replace global ZSH aliases such as `G` which expands to
`| grep`.

For now, I've installed `zsh-abbr` via zplug and am creating the
`user-abbreviations` file using Home Manager where I can use `attr -g`
for global aliases.

If or when support is added for global abbreviations in Home Manager,
I'll switch to `programs.zsh-abbr.abbreviations`.

`programs.zsh.shellAliases` is still used for aliases that shouldn't
expand, whereas everything else has been moved to abbreviations.
2024-06-25 12:43:30 +01:00
d277199c23 services.xserver.displayManager is now
...`services.displayManager`
2024-06-25 07:04:26 +01:00
055b1583db Find .git directories, not files 2024-06-25 07:04:06 +01:00
3092cafb20 tmux: make the status bar transparent 2024-06-24 22:36:48 +01:00
2e225a7c91 git: remove git-cm 2024-06-24 22:36:40 +01:00
d7f24aa03a Update opdavies.nvim to the latest version 2024-06-21 18:27:10 +01:00
b86cc3d7f0 Update awesome configuration 2024-06-21 08:36:27 +01:00
b3b96c3163 Add navigation aliases 2024-06-19 22:04:51 +01:00
5ba78f110a Configure starship prompt
Based on the Plain Text present.

https://starship.rs/presets/plain-text
2024-06-19 22:04:51 +01:00
f0163cd28c Revert "Reapply "Remove starship""
This reverts commit 7c06364329.
2024-06-19 21:59:18 +01:00
1e14953314 Add git-instafix
As seen on
https://www.youtube.com/live/ik_d0dWYQgQ?si=XSNR00ovIgSu7Ent&t=6510,
`git-instafix` is a tool for quickly fix up an old commit using your
currently-staged changes.

https://github.com/quodlibetor/git-instafix
2024-06-19 08:07:02 +01:00
c020d771c9 Remove .tmuxinator.yaml 2024-06-19 06:39:41 +01:00
4ddd317c6c Add xdg-utils and wsl-open
Add `xdg-utils` to add functions like `xdg-open` to run commands such
as `mob timer open` and have them open a browser.

Also add `wsl-open` so this works within WSL.
2024-06-18 12:32:47 +01:00
4ed0648578 Move mob and simple-http-server
So they aren't only available in NixOS.
2024-06-18 12:32:18 +01:00
a36dd7baf4 Move t into its own file 2024-06-17 17:59:35 +01:00
4d24228c30 Update t script 2024-06-16 23:01:49 +01:00
9fcce5ad14 Change writeShellScriptBin to writeShellApplication 2024-06-15 13:26:38 +01:00
5347c04b3e Add awesome configuration 2024-06-15 13:26:18 +01:00
f2c7453b02 Add mob
https://mob.sh
https://github.com/remotemobprogramming/mob
2024-06-15 12:39:45 +01:00
e61242e51a Create the t script with nix 2024-06-15 12:36:11 +01:00
25b286786d Re-add alacritty 2024-06-15 12:22:36 +01:00
41386749b8 Use awesome window manager 2024-06-15 12:22:01 +01:00
a7a979e17e Add move-firefox-screenshots script 2024-06-12 09:01:46 +01:00
68813f3af7 Fix battery notifications 2024-06-12 07:02:10 +01:00
1869c6b223 Try firefox-wayland 2024-06-12 07:02:10 +01:00
9f33af70a3 Change status bar background colour 2024-06-11 23:39:38 +01:00
1b629cb355 Update CHANGELOG 2024-06-11 22:14:50 +01:00
8ad1637c57 Switch from NixOS unstable to 24.05 by default 2024-06-11 09:18:50 +01:00
cda7e38284 Update opdavies.nvim to the latest version 2024-06-10 10:18:40 +01:00
7f2df5f726 Run nix fmt
Format using `nixfmt-rfc-style`.
2024-06-10 09:38:34 +01:00
14a1f177a0 Update flake.lock dependencies 2024-06-09 21:06:05 +01:00
11d0c5ab3e Set systemd-boot configuration limit 2024-06-09 21:05:01 +01:00
7c06364329 Reapply "Remove starship"
This reverts commit e4923e708e.
2024-06-09 20:55:21 +01:00
f952e2d6b8 Refactor zsh configuration
* Move aliases into `programs.zsh.shellAliases` and
  `programs.shellGlobalAliases`.
* Use the `MenkeTechnologies/zsh-expand` plugin instead of using custom
  expansion code.

https://github.com/MenkeTechnologies/zsh-expand
2024-06-09 20:54:19 +01:00
a87750cd30 Tweak performance and battery optimisation settings
Based on https://github.com/MatthewCroughan/nixcfg and other sources.
2024-06-09 20:51:48 +01:00
00d9a75c3e Change date format
Change the date format used by `i3status-rs`.
2024-06-09 01:51:18 +01:00
3fe0d74a9b Run just update 2024-06-06 21:37:17 +01:00
e4923e708e Revert "Remove starship"
This reverts commit 90a1ca81aa.
2024-06-02 01:43:01 +01:00
64dd65d4e9 Run just update 2024-06-01 14:50:59 +01:00
c8bc522268 Revert "Use fzf for searching zsh history"
This reverts commit 0bbd536e3e.
2024-06-01 14:38:55 +01:00
a3bcd63b3d Add keybindings for controlling volume
Add keybindings for increasing and decreasing volume in mpv.
2024-05-31 19:46:47 +01:00
a29372ef99 Try using wezterm as my default terminal 2024-05-31 19:43:51 +01:00
430ea10ef6 Run just update 2024-05-31 18:36:51 +01:00
194289f9a6 Replace VLC with mpv 2024-05-31 16:30:35 +01:00
859d46781c Update kanshi.settings 2024-05-31 16:09:49 +01:00
d515d5cc0f Rename kanshi.profiles to kanshi.settings
> trace: warning: opdavies profile: kanshi.profiles option is
> deprecated. Use kanshi.settings instead.
2024-05-24 15:36:22 +01:00
361412db61 Add wezterm
Add wezterm as another terminal option and to see how it compares to
Alacritty.
2024-05-24 15:29:00 +01:00
fb4886be49 Add simple-http-server 2024-05-23 17:14:07 +01:00
323df5ca10 Add GNOME as a desktop manager, working with sway
...and wayland
2024-05-22 21:36:26 +01:00
5a0cfd10ae Run just update 2024-05-22 21:35:43 +01:00
d9d04025dc Move Slack into NixOS configuration 2024-05-22 21:35:12 +01:00
c8cc72b1ac Add build-configs from its derivation
It currently uses a local version of `build-configs`. I need to look
into how to get it to with Nix and a private GitHub repository.
2024-05-22 09:21:25 +01:00
395e92054e Add vss alias for sorting words in my spellfile
Automatically sort and update the words within my `spellfile` that's
used by Neovim.
2024-05-22 08:52:27 +01:00
a2ac74a796 Use set -o 2024-05-22 08:52:27 +01:00
504fb96771 Add swaybg
At the moment, it's not being run automatically when sway starts, so I
need to add it to my sway configuration.
2024-05-20 19:11:04 +01:00
ab20c7de69 Consolidate Git aliases
Move the `update` alias into the Git namespace, so it's now `git
update`, and remove the others that I wasn't using.
2024-05-20 19:09:17 +01:00
2382103445 Run nix flake update 2024-05-20 18:13:08 +01:00
c4eaf38a9c Remove references to nixpkgs 23.11
As it's no longer used by kdenlive.
2024-05-19 16:02:39 +01:00
9da6ec88cc Update kdenlive 2024-05-19 16:00:21 +01:00
01700889fa Run nix flake update 2024-05-19 15:59:53 +01:00
f766a15616 Alias cat to bat 2024-05-15 13:49:05 +01:00
c95a5105c9 Don't automatically run tmuxinator when starting
...a session
2024-05-12 10:40:50 +02:00
7b9e5c6cfc Add todo and til functions
Add helper functions to write text input into a `TODO.txt` or `TIL.txt`
file respectively.

Extracting this to a function means I'm not able to overwrite the
contents of a file by typing `echo "foo" > TODO.txt` or similar
accidentally and overwriting the entire file instead of appending to it.
2024-05-12 09:25:21 +02:00
5c8c53d1cf Run nix flake update 2024-05-12 00:50:54 +02:00
56ca4cba12 Open copyq in floating windows, too 2024-05-11 07:57:28 +02:00
1a285c668c Open pavucontrol in a floating window
The `app_id` is found by running `swaymsg -t get_tree`.
2024-05-11 07:57:28 +02:00
475a2195c0 Configure lsd
See: https://github.com/lsd-rs/lsd
2024-05-11 01:55:59 +02:00
689c018bae Add update-all-git-repos
Add a script to update top-level cloned Git repositories within my Code
directories to their latest versions.
2024-05-11 01:55:59 +02:00
de2ca55cac Add just globally
See: https://just.systems/man/en
2024-05-11 01:55:10 +02:00
0a5815c116 Add the git root command
Add the `git root` command shown by Greg in his YouTube video:

https://www.youtube.com/watch?v=C5aRtq-Rtbg
2024-05-09 23:57:05 +01:00
5d3f7ef58f Override just command
If a `.ignored/justfile` exists, e.g. for open-source projects I can't
commit a `justfile` to, use it by default.
2024-05-09 23:40:30 +01:00
634ed23325 Override the ttyper command with a function
Set values for the number of words and languages, as there isn't a word
setting to add to a `config.toml` file.

This is based on https://www.youtube.com/watch?v=C5aRtq-Rtbg by Greg
Hurrell.
2024-05-09 23:31:43 +01:00
cae47950be Update lock file 2024-05-09 18:59:25 +01:00
0976d079e4 Fix copying from tmux to the system clipboard 2024-05-09 18:53:09 +01:00
78f810844b Add yt-dlp 2024-05-09 18:52:43 +01:00
88c61fe7ad Update monitor resolution 2024-05-09 13:55:11 +01:00
d9bd5fa3bd Fix colours in tmux 2024-05-09 13:54:41 +01:00
43c3def633 Update lock file 2024-05-09 13:03:36 +01:00
d1fc5b7fd2 Remove reference to autotiling 2024-05-09 12:59:29 +01:00
b0b59d63c6 Update repo path 2024-05-09 12:57:45 +01:00
c0516b872a Add ttyper 2024-05-09 12:56:39 +01:00
7118326ec4 Re-organise system packages
Move some desktop-specific packages to the desktop list.
2024-05-09 12:55:48 +01:00
61838245e0 Allow passing arguments to nixos-* commands
e.g. `just nixos-switch --offline`
2024-05-09 10:16:13 +01:00
9a7733515e Update lock file 2024-05-07 16:06:09 +01:00
5329b3534f Update sway configuration 2024-05-07 14:33:26 +01:00
12cfadd564 Move just 2024-05-06 14:36:44 +01:00
0c7d16a053 Update lock file 2024-05-06 14:34:05 +01:00
6308026365 Update opdavies.nvim path 2024-05-06 14:33:55 +01:00
636d928fc8 Replace periods with underscores in session names 2024-05-06 10:53:20 +01:00
874e5a750e Update background colours 2024-05-05 20:22:00 +01:00
8bd3e93888 Include .tmux.conf.local file if it exists 2024-05-05 20:21:13 +01:00
c99f23be11 Source the zsh-fzf-history-search plugin 2024-05-05 11:55:58 +01:00
7beeb924f7 Move bin into my .local directory 2024-05-04 21:52:21 +01:00
e3dda9ade8 Add directories within /tmp 2024-05-04 21:43:40 +01:00
90a1ca81aa Remove starship 2024-05-04 21:17:36 +01:00
cb56b55f42 Set the default workspace 2024-05-04 20:06:42 +01:00
e967b5b7fd Remove commented-out code 2024-05-04 20:05:01 +01:00
93f4cb09d7 Revert "Sway configuration"
This reverts commit f831574d9c.
2024-05-04 20:04:31 +01:00
b88be58190 Add ~/Code/work and ~/Code/personal to the
...suggestions
2024-05-04 19:02:32 +01:00
f831574d9c Sway configuration
- Remove commented-out code.
- Set colours.
- Set the default workspace.
2024-05-04 16:59:54 +01:00
c93dbad0db Stop automatically assigning apps to workspaces 2024-05-04 12:03:09 +01:00
fa51601efc Update lock file 2024-05-04 11:49:57 +01:00
5ecf13ccb6 Update the suggested directories in bin/t 2024-05-04 01:34:16 +01:00
fd6b1f4a75 Simplify code repository directory structure 2024-05-03 23:38:32 +01:00
58e7ca413b Update lock file 2024-05-02 18:00:01 +01:00
2835bcd6cd Make Prefix+W open the wiki directory 2024-05-02 17:30:14 +01:00
41167cf442 Move syncthing into its own module 2024-05-02 17:29:35 +01:00
3d8493f050 Add syncthing as a service 2024-05-02 12:54:05 +01:00
b3d360e421 Run kanshi when reloading sway 2024-04-30 21:00:04 +01:00
ba681a9cdf Allow for firewall connections to xdebug 2024-04-30 20:43:22 +01:00
5d5031c01b Update lock file 2024-04-30 08:46:35 +01:00
95e527be22 Add vscode for testing xdebug 2024-04-30 08:46:09 +01:00
57e4f05d12 Add ddev and mkcert 2024-04-25 14:46:01 +01:00
cf71b2b6bb Restructure GitLab repository structure 2024-04-24 23:17:16 +01:00
cd526e953f Update lock file 2024-04-24 22:13:37 +01:00
d4f347186d Use a regular git clone 2024-04-24 22:08:38 +01:00
e28f2816ef Move ~/.config/bin to ~/bin 2024-04-23 23:08:36 +01:00
022fb2d986 Fix warnings 2024-04-23 22:56:39 +01:00
e8835f858e Add commands to start and stop Traefik 2024-04-23 22:28:51 +01:00
1f447ad8dc Update lock file 2024-04-22 23:06:37 +01:00
0bbd536e3e Use fzf for searching zsh history 2024-04-19 21:38:00 +01:00
5897faed0c Update lock file 2024-04-18 19:52:03 +01:00
0a54e63a16 Fix Bitbucket URL 2024-04-17 10:26:57 +01:00
39fa2a2fc5 Make clone work with HTTPS URL 2024-04-17 08:48:28 +01:00
bbfdb0362d Add TODO for extracting the domain from HTTPS URLs 2024-04-17 07:41:56 +01:00
0227ad945b Update lock file 2024-04-17 07:39:28 +01:00
c9b423c9a8 Fix repo path 2024-04-17 00:27:05 +01:00
d0e42b602f Echo the git clone command before running it 2024-04-17 00:24:46 +01:00
51b6d6b8c5 Add a REPOS environment variable 2024-04-17 00:24:41 +01:00
c0fabc4f20 Rename variable 2024-04-17 00:08:13 +01:00
a1f4782b63 Use git bare-clone when cloning the repo 2024-04-17 00:07:42 +01:00
a57d60e1b4 Fix GitLab and Bitbucket URLs
Remove GitLab and Bitbucket URLs when getting the user and repo name.
2024-04-16 23:04:42 +01:00
d26ecee2ee Extract the remote URL from the repository URL 2024-04-16 18:06:30 +01:00
2074c748cb Create new sessions using bin/t 2024-04-16 18:02:36 +01:00
5a934bf843 Add clone ZSH function 2024-04-16 16:22:52 +01:00
844a10074b Update lock file 2024-04-13 16:05:05 +01:00
5a38fdcb88 Include GitLab repositories are within multi-level
...directories
2024-04-09 23:18:05 +01:00
0171861a44 Move wsl2-* commands to justfile 2024-04-08 13:01:54 +01:00
2027eb4d2b Update lock file 2024-04-08 07:46:18 +01:00
e8373f38d0 Update lock file 2024-04-07 01:37:53 +01:00
757c8b6b22 Add atuin 2024-04-07 01:36:40 +01:00
4a1ba1a4a8 Update opdavies-nvim 2024-04-04 18:52:30 +01:00
97abe951e4 Enable smart gaps in Sway 2024-04-03 20:04:05 +01:00
462eff64f2 Update lock file 2024-04-02 01:23:38 +01:00
c99564fff5 Remove support for .tmuxinator.yml files
Only support .tmuxinator.yaml files
2024-04-01 20:41:09 +01:00
8a4f0d3bf3 Use MesloLGSDZ Nerd Font Mono 2024-03-31 18:13:01 +01:00
13f23e88de Update lock file 2024-03-31 17:30:52 +01:00
4a10b04f8e Use Meslo font 2024-03-31 17:30:21 +01:00
2ff8640426 Update opdavies-nvim 2024-03-31 10:42:45 +01:00
dd0f70a9e7 Re-enable autotiling with sway 2024-03-31 09:21:07 +01:00
a704e11376 Add keybinding for thunar 2024-03-30 22:23:16 +00:00
afe587d3a1 Switch awscli2 back to unstable 2024-03-30 22:22:39 +00:00
488f70aab2 Add support for .tmuxinator.yaml files 2024-03-30 22:15:32 +00:00
0ff3724c58 Replace .tmux with tmuxinator 2024-03-30 22:15:05 +00:00
1418a2333f Inherit just and nixfmt and update lock file 2024-03-30 22:14:48 +00:00
e67424baa5 Extract PHP version variables 2024-03-30 20:00:37 +00:00
446ff6fada Update lock file 2024-03-30 20:00:17 +00:00
f350986961 Remove flake parts and update lock file 2024-03-29 01:33:25 +00:00
dda29957a9 Update opdavies.nvim 2024-03-27 16:46:18 +00:00
a6a81f0cd6 Support tmuxinator configurations in .ignored
Also use tmuxinator if the `.tmuxinator.yml` file is within a `.ignored`
directory and ignored from Git.
2024-03-27 08:53:34 +00:00
f2db3d29f7 Enable tmuxinator
This is a potential replacement for my custom `.tmux` files.
2024-03-26 20:45:02 +00:00
6287b83d33 Simplify nixos-* justfile recipes 2024-03-26 20:44:45 +00:00
8dc0e30556 Configure gtk 2024-03-26 00:16:48 +00:00
e92cfa3b23 Switch to wayland and sway 2024-03-26 00:15:29 +00:00
f6c366611e Fix awscli2 build error 2024-03-25 12:03:08 +00:00
6ab382053d Format with nixfmt 2024-03-25 11:55:12 +00:00
40d6b9285a Fix wsl2 configuration 2024-03-25 11:49:39 +00:00
da0a1276ff Update lock file 2024-03-25 08:58:34 +00:00
86badb3a60 Revert "Update lock file"
This reverts commit 7c8dfc1194.
2024-03-25 08:58:34 +00:00
7c8dfc1194 Update lock file 2024-03-24 12:06:25 +00:00
f44a2570ac Re-add autotiling 2024-03-22 20:43:49 +00:00
a41ad883c2 Enable floating by default for Zoom windows 2024-03-22 18:27:17 +00:00
ca27706226 Replace watchexec with entr
https://eradman.com/entrproject
2024-03-22 08:14:28 +00:00
7234bbd3e7 Update CHANGELOG 2024-03-21 15:11:22 +00:00
7cd4f3c881 Update lock file 2024-03-21 15:06:35 +00:00
15e485ea81 Remove Mod4+Tab keyboard from i3 configuration 2024-03-20 15:36:30 +00:00
0073585678 Remove lib for now 2024-03-19 17:16:19 +00:00
5ebe064a28 Simplify nixos-* justfile recipes
Make the hostname configurable for NixOS and remove the need to specify
the profile name when running `nixos-rebuild` commands as the hostname
can be used.
2024-03-19 00:13:01 +00:00
a0b155ea8e Update autorandr configuration 2024-03-18 23:28:21 +00:00
6963cceb17 Update lock file 2024-03-18 20:36:01 +00:00
b1421c97e1 Format using nixfmt 2024-03-18 20:34:51 +00:00
a33c74c580 Automatically prune unused Docker images 2024-03-18 00:44:00 +00:00
bb944db1fe Update lock file 2024-03-17 20:42:40 +00:00
5ea676df95 Remove overridden i3 colours 2024-03-17 09:05:58 +00:00
105f88ff1e Replace relative paths with self 2024-03-17 00:28:38 +00:00
5e5e46922c Move monospace fonts into a theme 2024-03-17 00:28:00 +00:00
384da2a640 Make configuration more modular 2024-03-16 22:38:39 +00:00
2995c006ed Update lock file 2024-03-16 13:44:38 +00:00
288d2837eb Update lock file 2024-03-14 23:33:00 +00:00
310e52dec8 Add desktop apps
Pocket Casts, Spotify, Microsoft Teams, Todoist.
2024-03-14 23:23:04 +00:00
0f0bf5cdf8 Update CHANGELOG 2024-03-12 23:09:33 +00:00
b22ee35bb6 Remove lazygit configuration 2024-03-12 23:02:49 +00:00
506f99fdf1 Use a different email address for TfW codebases 2024-03-12 23:02:39 +00:00
10ab3bb4c7 Update opdavies-nvim 2024-03-12 19:57:15 +00:00
941ee35d19 Allow for specifying the profile name/hostname 2024-03-12 17:52:43 +00:00
d14f0a8883 Refactor to remove system variable 2024-03-12 17:15:10 +00:00
9eac93c95f Update lock file 2024-03-12 17:14:36 +00:00
b5e831ef35 Add udev rules for using VIA/Vial
https://get.vial.today/manual/linux-udev.html#generalized-via-udev-rule
2024-03-09 20:36:45 +00:00
66f4c15f97 Update lock file 2024-03-09 20:20:43 +00:00
553d967bed Fix Kdenlive
Error when rendering a project.
2024-03-09 18:51:13 +00:00
561eefeea3 Remove neofetch 2024-03-05 15:01:46 +00:00
466cff1ad4 Fix wsl2 build 2024-03-04 11:22:46 +00:00
3a36025a16 Update lock file 2024-03-04 09:39:07 +00:00
fd45324727 Fix allowUnfree and add obsidian 2024-03-04 00:05:23 +00:00
9aa51a9446 git: include untracked files in stash 2024-03-02 23:42:15 +00:00
5dee369667 Add cachix 2024-03-01 23:26:36 +00:00
d2e1024897 Changes after working Scott Chacon's FOSDEM talk
- https://blog.gitbutler.com/fosdem-git-talk
- https://www.youtube.com/watch?v=aolI_Rz0ZqY
2024-03-01 23:26:36 +00:00
7640e6e12b Update lock file 2024-03-01 18:19:58 +00:00
26d4969795 Update .tmux 2024-03-01 18:19:58 +00:00
2c088442a1 Remove hostname variable 2024-02-29 23:24:50 +00:00
ec4a091991 Update lock file 2024-02-29 14:01:18 +00:00
49ac5097b5 Add lib/default.nix 2024-02-29 10:06:27 +00:00
2f6977bb82 Rename variables 2024-02-29 10:06:27 +00:00
addad268e5 Rename system to lib 2024-02-29 08:24:01 +00:00
cf4c9710a2 Remove nixpkgs 23.11 2024-02-29 00:39:25 +00:00
4ac36f410f Update lock file 2024-02-29 00:31:20 +00:00
90790365fb Update lock file 2024-02-28 09:28:38 +00:00
4061ec8992 Add bitwarden-cli 2024-02-27 18:33:03 +00:00
4328494006 Update lock file 2024-02-27 18:16:04 +00:00
8e62b79cb8 update autoUpgrade settings
https://discourse.nixos.org/t/best-practices-for-auto-upgrades-of-flake-enabled-nixos-systems/31255/2
2024-02-26 18:42:18 +00:00
e98b2431c4 Add a default version of PHP and Composer
I use it for various CLI tools so it makes sense to have a default
version of PHP installed.
2024-02-26 17:34:56 +00:00
996bfb0120 Update lock file 2024-02-26 11:57:58 +00:00
409f0a99f3 Update lock file 2024-02-25 01:10:58 +00:00
1303a30796 Switch from firefox-devedition 2024-02-25 01:10:48 +00:00
1e352cef03 Remove i3-auto-layout 2024-02-24 10:26:00 +00:00
73bd2e0bda Add just and justfile 2024-02-24 10:21:53 +00:00
bdd33ac0e5 Update lock file 2024-02-21 16:26:27 +00:00
657696630f Add keybinding to cycle between autorandr profiles 2024-02-21 08:14:20 +00:00
e3312a984c Update lock file 2024-02-20 17:50:16 +00:00
c35a1a17aa Use rofi instead of dmenu 2024-02-20 01:07:02 +00:00
eb9aadc004 Update CHANGELOG 2024-02-20 01:07:02 +00:00
85215edf8f i3: add keybinding to open thunar 2024-02-20 01:07:02 +00:00
cba5923b48 i3: set the default workspace 2024-02-20 01:07:02 +00:00
3d9f39d6b4 Update lock file 2024-02-19 10:31:24 +00:00
e57b40d5b0 Update lock file 2024-02-15 19:24:36 +00:00
529d1a7ce7 Replace watch-changes script with watchexec 2024-02-14 17:44:52 +00:00
2f2ded8d20 Add arandr 2024-02-14 12:17:50 +00:00
7302dae7ec Use alejandra for formatting Nix files 2024-02-13 21:33:32 +00:00
7db4788e49 Use direnv 2024-02-13 21:32:44 +00:00
09a1fd688c Update lock file 2024-02-11 14:10:15 +00:00
34eddc3e3e Remove nixpkgs 23.11
As it's no longer used in my dotfiles.
2024-02-11 10:40:58 +00:00
a6a27ddbdf Update lock file 2024-02-10 19:29:49 +00:00
073bce3397 Use zeroad from nixpkgs/unstable 2024-02-10 18:55:47 +00:00
b2a1334559 Update lock file 2024-02-07 23:28:50 +00:00
497287e4a3 Run garbage collection more frequently 2024-02-07 23:28:44 +00:00
e1f93f8e8b i3: refactor to fonts.names 2024-02-04 22:56:40 +00:00
15fab770bc tmux: add keybinding to open opdavies.nvim 2024-02-04 12:38:43 +00:00
02c909ed44 Replace eza with lsd 2024-02-04 12:36:43 +00:00
39c6794877 i3: remove i3-gaps 2024-02-04 12:35:51 +00:00
4f76ec77df i3: add i3-auto-layout
https://github.com/nwg-piotr/autotiling
2024-02-04 00:37:53 +00:00
1098ac44d2 Update renamed keys 2024-02-02 22:06:04 +00:00
8001acb52c Update lock file 2024-02-02 22:01:16 +00:00
ae102a5637 Update lock file 2024-02-01 17:19:12 +00:00
101c704a09 i3: disable focus following the mouse 2024-01-31 18:27:13 +00:00
a4113fad97 i3: style colours in demnu 2024-01-31 18:27:13 +00:00
9b4e83c2ca git: update email address 2024-01-29 13:10:21 +00:00
db12d87eec Ignore notes and todo files 2024-01-29 12:59:47 +00:00
8b85611025 Change i3 colours 2024-01-29 12:59:23 +00:00
f895d44e37 Update nix build alias 2024-01-29 07:52:12 +00:00
43821f0ab6 Update flake dependencies 2024-01-29 07:47:45 +00:00
9da4339bd4 Update lock file 2024-01-28 23:08:19 +00:00
a8722ad2e6 Update build-configs aliases 2024-01-26 00:59:23 +00:00
2124d90136 Re-add Starship prompt 2024-01-26 00:37:48 +00:00
9feefa1fb4 Add :zoom snippet that links to SavvyCal 2024-01-26 00:23:39 +00:00
a2e40ba189 Update CHANGELOG 2024-01-25 23:07:49 +00:00
9980546a41 Update default session name 2024-01-25 22:57:11 +00:00
f4acbf59c9 Update lock file 2024-01-25 22:45:21 +00:00
3d24bce0d9 Don't show any directories ending in "-old" 2024-01-25 18:23:38 +00:00
1d11adfe94 Only show top-level directories within ~/Code/tmp 2024-01-25 18:07:51 +00:00
d0c6fe0002 Allow for passing arguments to nixos task 2024-01-25 16:49:31 +00:00
53ead53af2 zsh: rename nah to reset 2024-01-25 16:49:31 +00:00
f71195a314 zsh: remove plugins
No more autocompletion.
2024-01-25 16:49:24 +00:00
948d68c2ca Add and configure lazygit 2024-01-25 08:12:33 +00:00
0ab2622453 i3: update default workspaces 2024-01-25 08:04:55 +00:00
f66f1b0c7c Add and use GeistMono 2024-01-25 07:54:48 +00:00
5a5517552b Add rclone and rclone browser 2024-01-25 07:54:48 +00:00
c2cbf111bf Install fzf with Home Manager 2024-01-25 07:18:14 +00:00
509e85e0d0 Update dotfiles repo path 2024-01-25 07:17:38 +00:00
9ef0411680 Use Neovim from the flake in opdavies.nvim 2024-01-25 01:54:22 +00:00
27dfbae4a5 Update lock file 2024-01-24 21:13:19 +00:00
6d27e72b02 Extract neovim configuration to a separate
...repository

https://github.com/opdavies/opdavies.nvim
2024-01-24 12:10:46 +00:00
16520cca16 Update flake dependencies 2024-01-18 06:48:08 +00:00
d999e21d45 Add a keymap to run :Git commit 2024-01-17 22:11:59 +00:00
06ea9a5ff9 Add snippets for __invoke() and __construct() 2024-01-17 22:05:41 +00:00
b55117af69 Update flake dependencies 2024-01-17 07:40:11 +00:00
01d3c1b3a1 Use nixpkgs paths in i3 configuration
Fix Firefox not loading when using the keybinding.
2024-01-17 07:36:49 +00:00
c66861483b Add keybinding to switch wallpaper 2024-01-15 00:07:41 +00:00
fbb62dd6ce Update flake dependencies 2024-01-15 00:07:23 +00:00
d706e0cdf1 Show trailing spaces 2024-01-14 17:15:41 +00:00
3d51d8fc3f Switch back to NixOS unstable 2024-01-14 13:54:30 +00:00
5d244a83f0 Update flake dependencies 2024-01-14 08:56:45 +00:00
537007929a Update CHANGELOG 2024-01-12 10:50:46 +00:00
bc09343dfc Update flake dependencies 2024-01-12 10:45:37 +00:00
8d617d5cea Update espanso snippets 2024-01-10 13:55:44 +00:00
0b3301c53f Don't do completion in command mode
This is stopping normal expansion of things like `%:h` for the directory
of the current buffer.
2024-01-10 00:50:45 +00:00
7253597784 Add gscan2pdf 2024-01-09 21:02:45 +00:00
baf7db2a23 Enable Blueman 2024-01-09 20:40:10 +00:00
7c72cc4d5d Make the NixOS hostname configurable 2024-01-09 20:39:56 +00:00
e87b718592 Use feh for managing wallpaper 2024-01-08 17:50:15 +00:00
c700329642 Add Telescope mappings to find the current word 2024-01-08 17:50:15 +00:00
f465870c82 Revert "Move key mappings"
This reverts commit b7f26524b0.
2024-01-08 17:50:15 +00:00
0261347ede Add new ZSH aliases 2024-01-07 22:03:01 +00:00
1ddc526895 Move VLC windows to a different default workspace 2024-01-07 22:02:46 +00:00
e8d3e1b5a2 Don't load Telescope by default
Sometimes I want to use Harpoon files or a different Telescope picker.
2024-01-07 22:01:51 +00:00
0fefc2428c Update Flake lock file 2024-01-07 22:01:51 +00:00
65184eb34b Update CHANGELOG 2024-01-07 22:01:51 +00:00
d5b2d76dfb Revert "Automatically close brackets, parentheses and"
This reverts commit 799ca92f40.
2024-01-07 22:01:51 +00:00
61dbb0b895 Add Espanso snippets 2024-01-07 22:01:51 +00:00
35467a996a Add copyq for clipboard management 2024-01-04 21:51:46 +00:00
e7c9db7711 Add and configure flameshot for screenshots 2024-01-04 16:42:54 +00:00
79f5c8ac5b Add iamcco/markdown-preview.nvim 2024-01-03 13:50:50 +00:00
d088145f69 Update flake.lock file 2024-01-02 00:38:43 +00:00
34a8cce318 Add and configure dunst for battery notifications 2023-12-28 12:28:41 +00:00
5113583f8e Assign Firefox to any workspace by default 2023-12-27 15:43:16 +00:00
f6a29aa4ef Update flake.lock file 2023-12-27 07:15:58 +00:00
a460fbd1d3 Switch back to 23.11 2023-12-27 07:15:58 +00:00
4e1c3123a0 Switch back to 23.05
Issues with Neovim, Harpoon and/or Telescope.
2023-12-24 16:59:08 +00:00
545b386096 Update Alacritty configuration 2023-12-21 12:03:57 +00:00
b6ce95feb3 Remove starship prompt 2023-12-21 12:02:24 +00:00
512f86cf66 Add run aliases 2023-12-21 12:01:24 +00:00
f319519159 Add zeroad 2023-12-21 12:00:05 +00:00
4dd08d65bc Tailwind CSS autocomplete not working in Twig files 2023-12-21 11:05:33 +00:00
e45c88490e Change splitbelow to false
This means that new splits, such as Fugitive, will open above the
current pane rather than below it.

If I don't like it, I'll revert it.
2023-12-21 08:28:17 +00:00
d97259fc6a Fix terminal colours within tmux 2023-12-20 00:56:08 +00:00
c600c30e22 Revert "Use zoxide to provide paths to fzf"
This reverts commit 54fdbd71d9.
2023-12-19 20:50:12 +00:00
7832d6b0b6 Update the t script 2023-12-19 15:28:12 +00:00
bf4789fb11 Update .tmux script 2023-12-19 10:54:31 +00:00
12001b588a Update the t script 2023-12-19 10:54:31 +00:00
b7f26524b0 Move key mappings 2023-12-19 08:10:22 +00:00
799ca92f40 Automatically close brackets, parentheses and
...quotes whilst in insert mode in Neovim
2023-12-19 00:34:30 +00:00
029b2f1721 Update the Git commit message template 2023-12-18 11:31:23 +00:00
782f3e4b10 Add prettier as a formatter 2023-12-18 11:30:51 +00:00
3e58c64014 Update the Git commit message template 2023-12-17 20:29:39 +00:00
a4fb59d193 Display Harpoon window at the top of the screen 2023-12-17 20:29:06 +00:00
5e6bee6432 Manage ripgrep with Home Manager 2023-12-17 17:52:59 +00:00
8deb363f76 Add :website to espanso 2023-12-15 11:24:50 +00:00
a6be7cabc4 Revert "Add openssl"
This reverts commit 22aa32f852.
2023-12-15 11:16:09 +00:00
4bbcbc6c4f Configure i3status 2023-12-15 11:16:09 +00:00
7124abf983 Add :dotfiles to espanso 2023-12-15 11:16:09 +00:00
c5846665aa Update CHANGELOG 2023-12-15 11:16:09 +00:00
bb64b892aa work with .tmux files 2023-12-15 00:00:37 +00:00
74cf7c2a99 Add espanso 2023-12-15 00:00:37 +00:00
22aa32f852 Add openssl 2023-12-13 10:25:55 +00:00
933a6b288e Remove just 2023-12-13 10:25:34 +00:00
6df789852e Change tmux pane border style colours 2023-12-13 06:32:21 +00:00
580e7c7940 Remove terraform
Remove `terraform` from the global Home Manager packages as this is now
added into per-project Flakes instead.
2023-12-13 01:03:41 +00:00
0e070b55bd Add xsel for copying to the system clipboard 2023-12-13 01:03:21 +00:00
bdfeb83cb0 Update default workspaces for Alacritty and VLC 2023-12-12 20:29:58 +00:00
9ec1f48792 Move autorandr configuration to its own module 2023-12-12 20:29:56 +00:00
4259ab0985 Add keymaps to easily run macros 2023-12-12 20:22:06 +00:00
b40e25dea0 Revert "Switch to unstable by default"
This reverts commit 3c7877776e.

Slack was broken when using the unstable version of nixpkgs.
2023-12-12 20:17:40 +00:00
54fdbd71d9 Use zoxide to provide paths to fzf 2023-12-11 21:25:23 +00:00
bad8b22a3b Upgrade to Harpoon 2 2023-12-11 17:45:36 +00:00
012289949b Update flake.lock file 2023-12-11 12:33:43 +00:00
5daa6f85af Use autorandr for monitor management 2023-12-07 09:11:42 +00:00
39458cce04 Re-add GoToFile command to Neovim
Allow for starting Vim and automatically opening Telescope to select a
file using `nvim +GoToFile`.
2023-12-06 22:49:43 +00:00
3c7877776e Switch to unstable by default 2023-12-06 15:36:10 +00:00
80860fe6df Upgrade nixpkgs to 23.11 2023-12-03 08:54:29 +00:00
06f660dcd6 Configure netrw in Neovim 2023-11-29 09:57:49 +00:00
c40d215db3 Remove space before the left status in tmux 2023-11-29 09:53:10 +00:00
50311f4102 Update Home Manager desktop packages 2023-11-29 09:46:39 +00:00
02d7654c03 Remove autocmd for plugins.lua
This is no longer needed as plugins are now managed with Nix.
2023-11-29 09:45:51 +00:00
2916de33da Update Flake lockfile 2023-11-29 09:42:50 +00:00
55dbee27d9 Update PHP test method snippets 2023-11-29 09:42:19 +00:00
1899835341 chore(flake): update lockfile 2023-11-24 18:31:31 +00:00
797dd3efa8 docs(README): add Dan Leech dotfiles link 2023-11-24 18:31:09 +00:00
8f5d7e5dd7 docs: update dotfiles links 2023-11-24 18:07:23 +00:00
a8e77ce6cf docs: add CHANGELOG.md 2023-11-24 17:47:24 +00:00
ad4b86b8a3 revert(nvim): update Harpoon mappings
This reverts commit e05aadef34.
2023-11-23 11:54:55 +00:00
024384303f feat(i3): more key mappings 2023-11-21 23:16:17 +00:00
ee43ad3333 fix(scripts): make monitor mode configurable 2023-11-21 23:15:06 +00:00
249f05860f feat(neovim): configure markdownlint
Prevent diagnostic messages for duplicate sibling headings and line
length.
2023-11-21 16:16:40 +00:00
e05aadef34 chore(nvim): update Harpoon mappings 2023-11-21 08:01:37 +00:00
a8f1873c94 chore(flake): update lockfile 2023-11-21 08:01:03 +00:00
c5ab97079a fix(scripts): make monitor ID configurable 2023-11-21 07:53:29 +00:00
eeae7c00ef chore(nixos): switch to lightdm 2023-11-19 08:41:14 +00:00
f3ae000713 feat(i3): re-add workspace switching 2023-11-16 19:11:50 +00:00
2124965f86 chore(git): move global gitignore to .config 2023-11-15 21:00:42 +00:00
6d12f5c2d5 feat(git): globally ignore a .ignored directory 2023-11-15 20:55:19 +00:00
f44231d595 chore(tmux): update status line 2023-11-15 19:03:45 +00:00
8f06a50756 chore(flake): update lockfile 2023-11-15 08:52:44 +00:00
00593ad29d feat(home-manager): add kdenlive and OBS Studio 2023-11-15 08:52:28 +00:00
d68d1aa679 refactor: switch from sway to i3 2023-11-15 08:52:28 +00:00
eb622e5e45 fix(tmux): update repo paths 2023-11-14 21:17:26 +00:00
ddd32822b1 feat(scripts): add git-bare-clone 2023-11-14 21:17:26 +00:00
3af2f96b89 chore(nvim): update treesitter configuration 2023-11-14 20:15:12 +00:00
6c93891bd0 fix(flake): attribute 'inputs' missing 2023-11-09 12:55:20 +00:00
4b1cf2a0ce fix(wsl): add extra experimental features 2023-11-07 09:27:07 +00:00
c01ac9422a build: ignore Nix files and directories 2023-11-07 09:10:40 +00:00
5449d8c021 chore(nvim): configure lualine 2023-11-07 07:53:58 +00:00
ec23fb1431 refactor(nixos): extract Home Manager modules 2023-11-07 07:20:47 +00:00
2968f5396d feat(nixos): configure garbage collection and
...optimisation
2023-11-07 00:07:24 +00:00
8cc6c51e15 chore(flake): update lockfile 2023-11-07 00:04:12 +00:00
282b764ba6 refactor(nvim): split into modules 2023-11-06 23:48:09 +00:00
8f5a8dee66 refactor(flake): move pkgs 2023-11-06 23:24:53 +00:00
6c610fea29 feat(nvim): use rstfmt for rst file formatting
Add `vimPlugins.conform-nvim` to add formatting rst files with `rstfmt`.

This isn't supported as a formatter in `none-ls`, and I wanted to try
and potentially switch to `conform-nvim` and `nvim-lint` in the future,
so this is a potential first step towards that.

`rstfmt` itself is already installed and available within my additional
Vim packages.

This currently needs to be run manually, as I don't want to change my
default keybind for formatting until I've supported all the filetypes and formatters
I have in `none-ls`.

To run the foramt manually, run `:lua require"conform".format()`.

See:

- https://github.com/stevearc/conform.nvim
- https://github.com/mfussenegger/nvim-lint
- https://pypi.org/project/rstfmt
- https://www.youtube.com/watch?v=ybUE4D80XSk
2023-11-04 21:46:13 +00:00
f97d7008e2 feat(nvim): configure lualine 2023-11-04 20:37:30 +00:00
9dc52fc3a0 feat(nixos): add fonts 2023-11-04 20:23:50 +00:00
632f220bee fix(tmux): update repo paths 2023-11-04 20:22:04 +00:00
5303c1ae9c fix(scripts): fix incorrect item 2023-11-04 20:21:13 +00:00
6514792445 refactor(flake): add pkgsUnstable in other files 2023-11-04 10:29:29 +00:00
ee4911cbeb chore(zsh): remove just aliases 2023-11-04 10:19:46 +00:00
5c31b63308 refactor(nvim): sort keymaps alphabetically 2023-11-04 10:19:20 +00:00
9d1ca90bcc chore: update custom Nix packages 2023-11-04 09:37:29 +01:00
acf5767a1e chore(flake): update lockfile 2023-11-04 09:11:49 +01:00
6d38e5e83e fix(nvim): configure undodir 2023-10-29 23:13:08 +00:00
0f5e96daa0 chore(flake): update lockfile 2023-10-29 23:11:12 +00:00
fce21fc930 feat(zsh): add aliases 2023-10-27 21:13:59 +01:00
10643ac0d4 chore(flake): update lockfile 2023-10-27 21:12:43 +01:00
941d9951bd feat(nvim): configure cmdline completion 2023-10-27 21:12:23 +01:00
ff97af5b76 chore(flake): update lockfile 2023-10-24 23:24:16 +01:00
c484d16435 revert(zsh): set keymap to vicmd
This reverts commit a0829bcb63.
2023-10-20 07:58:53 +02:00
5f3f2b2f6f fix(nvim): call treesj.setup 2023-10-20 07:58:32 +02:00
e6ab9a780b fix(nvim): add missing character 2023-10-20 07:56:38 +02:00
3b00490b55 refactor(nvim): add opdavies/init.lua 2023-10-18 22:57:11 +02:00
c2ae75a465 refactor(nvim): use extraLuaConfig 2023-10-18 22:49:53 +02:00
4f2f98069c chore(nvim): use vim.loader
Improve startup performance by using `vim.loader`.

See https://www.youtube.com/watch?v=ixq3g_D3SVs
2023-10-18 22:48:58 +02:00
c9af4cf4c9 feat(git): set push.autoSetupRemote to true 2023-10-18 22:44:06 +02:00
0531c2ffdd chore(nvim): replace splitjoin with treesj 2023-10-18 22:42:48 +02:00
1c42a0d397 fix(nvim): ensure PHP is available
e.g. for running Drush commands.
2023-10-16 20:15:39 +01:00
a0829bcb63 chore(zsh): set keymap to vicmd 2023-10-16 20:14:55 +01:00
f6d8bd9122 chore(flake): update lockfile 2023-10-15 08:50:59 +01:00
d587bbed9a feat(nvim): add snippet for adding vim plugins 2023-10-12 09:44:35 +01:00
ea6a382edc feat(scripts): add git-sync 2023-10-11 18:42:05 +01:00
ecaae11b4d feat(nvim): add grep_prompt 2023-10-11 17:43:55 +01:00
c0e9fd137f chore(flake): update lockfile 2023-10-10 07:16:42 +01:00
cf5dbda4f0 chore(nvim): remove plugins temporarily
I'm removing these temporarily to see how it affects performance.
2023-10-09 00:14:49 +01:00
759fba125a fix(nvim): next and prev hunk keymaps 2023-10-09 00:11:54 +01:00
20afce7321 chore(nvim): use run 2023-10-07 22:32:23 +01:00
596ba4ac14 build: replace justfile with run 2023-10-07 00:15:30 +01:00
7b86cafc22 stable 2023-10-03 23:35:26 +01:00
3057cde69e revert(flake): update lockfile
This reverts commit 5b34d6d724.
2023-10-03 21:58:59 +01:00
3ea182c94b chore(nixos): re-organise packages
Remove packages that are either no longer used or have been moved into
per-project flakes that are used with direnv.
2023-10-03 18:44:31 +01:00
b806a00ac0 build(deps): remove teams
Remove Microsoft Teams for Linux as it's no longer supported upstream.
2023-10-03 18:28:56 +01:00
80d9347a73 chore(nvim): remove drupalclass
This has been replaced by generation tools within Phpactor.
2023-10-03 18:19:01 +01:00
5763900b5f fix(scripts): vendor files causing reloads
Ignore the `vendor` directory and some others as it was causing the
script to reload when it wasn't expected.

Whilst I'd expect it to be ignored if I specified the path to look at as
something like `web/modules/custom`, but it still seems to trigger the
command and it seems a lot more stable since adding this.
2023-10-03 18:14:37 +01:00
5b34d6d724 chore(flake): update lockfile 2023-10-03 18:14:26 +01:00
57db76b1e5 refactor(nvim): replace null-ls with none-ls 2023-10-01 21:55:38 +01:00
bf21d7de56 feat(nvim): use neoterm with vim-test 2023-09-29 21:31:12 +01:00
ec9cc45572 feat(nvim): re-add lualine-lsp-progress 2023-09-28 07:22:58 +01:00
badbf0bac3 feat(nixos): enable auto-cpufreq
See https://github.com/AdnanHodzic/auto-cpufreq

I've used `auto-cpufreq --stats` to do some initial monitoring.

Further configuration can be added with `services.auto-cpufreq.settings`,
if needed.
2023-09-28 00:53:51 +01:00
5ef648b6af style: stylua 2023-09-27 21:03:47 +01:00
09981552c6 style: nix fmt 2023-09-27 21:02:06 +01:00
82122ee03b feat(nvim): add lualine 2023-09-27 21:01:28 +01:00
e0ba018af8 fix(nvim): enable terraformls 2023-09-27 19:36:44 +01:00
27f8980dfa feat(tmux): create a session for my website
Bind a shortcut key to create and switch to a session for my personal
website.
2023-09-27 00:16:01 +01:00
cf54a4d52e chore(flake): update lockfile 2023-09-26 21:08:11 +01:00
ee4733438a build(deps): add go and gopls 2023-09-22 07:45:29 +01:00
cb700d775a fix(nvim): revert phpactor to 23.05
This was erroring when trying to create a new PHP class but works when
reverted back to 23.05.
2023-09-19 21:01:35 +01:00
028c69bccf chore(nvim): remove unused configuration 2023-09-18 22:49:55 +01:00
ec344fd4f5 refactor: remove nodemon
Removing this as I mostly use `inotifywait` via the `watch-changes`
script instead of nodemon.
2023-09-18 22:42:41 +01:00
c29c49d5dd feat(nixos): add IntelOneMono font 2023-09-18 22:35:29 +01:00
f93c1ba9c7 unstable by default
Switch back to using `nixpkgs-unstable` by default and using
`nixpkgs-2305` when needed, such as for `exa` which is no longer
maintained and available.

In a future commit, I'll switch to `eza` which is the recommended alternative.

https://github.com/eza-community/eza
2023-09-17 23:40:32 +01:00
cafd6cdf7d chore(flake): update lockfile 2023-09-16 20:33:15 +01:00
2db29db470 chore(nvim): upgrade refactoring-nvim 2023-09-16 20:32:46 +01:00
2b806913c5 chore(flake): update lockfile 2023-09-15 19:22:43 +01:00
5864c63cf3 feat(nvim): add friendly-snippets 2023-09-15 19:20:40 +01:00
83b51ebdf4 feat(nvim): add a keymap for switching to the
...alternative file
2023-09-14 19:08:50 +01:00
5369ccdddd feat(zsh): re-add suffix aliases 2023-09-14 19:08:06 +01:00
944e5d7911 revert(zsh): re-add suffix aliases
This reverts commit de69d1253b.
2023-09-14 19:07:01 +01:00
e649eb98bf chore(zsh): configure exa colours 2023-09-14 07:45:52 +01:00
de69d1253b feat(zsh): re-add suffix aliases 2023-09-14 07:39:06 +01:00
610fc6ffbf refactor(nixos): avoid repetition of the username 2023-09-14 07:25:55 +01:00
5f2c4b18b2 chore(sway): simplify sway colours 2023-09-12 23:46:09 +01:00
962dadf536 chore(flake): update lockfile 2023-09-11 19:48:39 +01:00
2eac239ae3 chore(flake): update lockfile 2023-09-05 22:33:08 +01:00
e37e283d95 fix(nvim): ignore line lengths in markdown files 2023-09-05 13:34:44 +01:00
6f7a6df4f7 feat(nvim): configure alternate files for Fractal
Configure `*.twig` and `*.config.yml` as alternate files in
Projectionist.
2023-09-05 12:56:24 +01:00
b6d118ed75 feat(nvim): re-add projectionist.vim
Re-add `projectionist.vim` with a minimal configuration for setting the
alternate file in basic PHP library or TypeScript projects.
2023-09-05 07:52:01 +01:00
2c709d3fcd fix(nvim): re-add completion configuration 2023-09-05 07:24:34 +01:00
f3e2741a6f fix(nvim): add stylua 2023-09-04 11:05:17 +01:00
3614d71a2c style(nvim): run stylua 2023-09-04 11:05:13 +01:00
62765d25aa fix(nvim): disable key ordering check again 2023-09-04 08:20:33 +01:00
b66a8bb3d2 chore(nvim): remove lsp-zero 2023-09-04 08:11:43 +01:00
864b9ca4a5 feat(nvim): add lua-language-server 2023-09-03 20:50:57 +01:00
b659f491ea fix(scripts): shebang and exit code 2023-09-02 10:41:00 +01:00
4bea747ffa revert(nvim): re-add lualine and noice
This reverts commit db7d2b442f.
2023-09-01 12:11:15 +01:00
43a1ad8592 chore(zsh): remove dev and develop
These aren't needed since adding `direnv`.
2023-08-30 13:30:30 +01:00
19ed68f3ee feat(zsh): configure Starship prompt
Enable and configure the Starship prompt, removing the `package` module
and using the plain text symbols preset.
2023-08-30 10:34:22 +01:00
c18948c69e chore(flake): update lockfile 2023-08-30 10:34:05 +01:00
adcbc6b3de fix(nvim): ignore .direnv from Telescope and Git 2023-08-30 10:34:01 +01:00
7c566dbe76 chore(nixos): change font 2023-08-29 23:04:25 +01:00
8f9c42ca6b feat(home-manager): enable direnv 2023-08-29 23:04:25 +01:00
db7d2b442f feat(nvim): re-add lualine and noice 2023-08-29 21:46:02 +01:00
4da372c8ce fix(zsh): aliases 2023-08-29 21:45:25 +01:00
4b966a4736 chore(zsh): move aliases 2023-08-28 12:18:36 +01:00
aff7d4d509 feat(nixos): add shotwell 2023-08-27 17:35:23 +01:00
90fa8596cb feat(nvim): re-add todo-comments.nvim 2023-08-27 17:34:58 +01:00
150e945417 feat(nixos): configure more Firefox settings 2023-08-27 01:57:12 +01:00
ea02fc6a09 fix(git): remove unused templatedir 2023-08-27 00:31:31 +01:00
0444962168 chore(zsh): make nah a zsh alias 2023-08-27 00:30:37 +01:00
a3ab645a2b feat(git): add an Refs placeholder to commit
...message body

Add an `# Refs:` placeholder to the Git commit message body that can
be replaced manually or using a `prepare-commit-msg` hook.

I have a templated Git hook that will do this within project directories
using an `.issue-id` file.
2023-08-26 22:30:12 +01:00
a54996b5f0 refactor(nvim): prefix custom Vim plugins
Prefix custom Vim plugins with `customVim` so they are easier to
distinguish from the plugins provided by the Nix store.
2023-08-25 14:53:32 +01:00
ec1dff4866 feat(nvim): add vim-zoom
Add https://github.com/dhruvasagar/vim-zoom so that I can focus on a
single split within Vim in the same way I can zoom to a tmux pane.
2023-08-24 23:59:01 +01:00
27373f79bb chore(update) 2023-08-24 22:40:01 +01:00
73d1d765cc chore(nixos): use Fira Code Mono 2023-08-24 22:39:35 +01:00
51fbde6ae4 chore(zsh): don't show the ASCII logo 2023-08-22 23:05:30 +01:00
e53561fb85 fix(scripts): don't stop watching on error 2023-08-22 23:05:06 +01:00
dab8031935 feat(tmux): add join-pane key bind
Add a key binding for re-joining another window into a pane within the
current window, which is the opposite of the `break-pane` command.

It prompts for the window to join from and then joins it into a vertical
pane within the current window.

This was taken from Chris Toomey's dotfiles. See
553c92a3a1/tmux/tmux.conf (L60)
2023-08-22 16:58:57 +01:00
7fecbc9343 feat(scripts): add watch-changes
Based on 2d235c4c71/bin/watch-changes.
2023-08-21 23:17:36 +01:00
3824c8f40b feat(home-manager): add okular for previewing PDFs 2023-08-21 22:56:57 +01:00
cbb337fcd1 feat(nixos): enable printing 2023-08-21 17:40:46 +01:00
644225247e chore(update) 2023-08-17 20:23:50 +01:00
db880e13ad feat(nixos): add wob
Add wob to show an overlay when changing volume and brightness.
2023-08-17 20:23:50 +01:00
0634242cad feat(nixos): use IntelOne Mono 2023-08-17 20:23:50 +01:00
ca7ad57690 fix(nixos): volume keys in swaywm 2023-08-17 20:23:50 +01:00
a3325b372a feat(nvim): add vim-sort-motion
Re-add a plugin to add a text object and motion to sort lines. This
means I can run commands like `gsip` to sort lines within a paragraph
without needing to select them first.

https://github.com/christoomey/vim-sort-motion
2023-08-16 08:31:53 +01:00
bbf14c5b5f chore(home-manager): remove vi and vim aliases 2023-08-15 23:17:16 +01:00
9e4e746052 fix(nvim): remove git-worktree configuration 2023-08-14 19:31:30 +01:00
990a4f62a9 chore(nvim): remove unused plugins 2023-08-14 19:26:53 +01:00
7e8fc3c86f feat(home-manager): add local directories to PATH
This adds local `vendor/bin` and `node_modules/.bin` directories to my
`PATH` so I can more quickly and easily run binaries within a project
from within those directories without needing to include the path.
2023-08-14 17:49:20 +01:00
9bf205edd8 feat(nvim): add more Harpoon keymaps 2023-08-14 00:50:49 +01:00
1f459e59f9 chore(update) 2023-08-14 00:37:27 +01:00
b63b84e2f1 feat(nvim): add undotree 2023-08-14 00:23:46 +01:00
07bc04fa4d revert(readme): add ASCII logo
This reverts commit 6b52cd2119.
2023-08-12 21:48:50 +01:00
5bf3964ae3 revert(readme): fix logo formatting
This reverts commit 2b9e7fce26.
2023-08-12 21:48:42 +01:00
2b9e7fce26 docs(readme): fix logo formatting 2023-08-12 21:47:17 +01:00
6b52cd2119 docs(readme): add ASCII logo 2023-08-12 21:45:54 +01:00
577054a9e5 feat(zsh): show ASCII logo in a new terminal 2023-08-12 19:53:07 +01:00
b7dca115ae feat(nixos): add via and vial for keyboard
...configuration
2023-08-11 00:29:01 +01:00
ae4c829b4e chore(nvim): update gitsigns keymaps 2023-08-11 00:29:01 +01:00
ce6193bb7b feat(nvim): add fugitive keymaps
Add keymaps to open `git status` within Fugitive as well as push and
pull changes within a fugitive buffer.
2023-08-11 00:29:01 +01:00
227dff7fd1 fix(wsl2): use shared Home Manager configuration 2023-08-09 22:37:03 +01:00
0c4b2d691d feat(nvim): telescope mapping to delete buffers 2023-08-08 23:59:42 +01:00
3b890d9ee5 refactor(flake): split NixOS Home Manager configs
Create a NixOS-specific Home Manager configuration and a reusable shared
configuration that can be imported and also used by other configurations,
such as WSL2.
2023-08-08 22:35:23 +01:00
994341071a feat(git): add global gitignore 2023-08-08 20:09:44 +01:00
482a74a5e0 fix(wsl2): inherits, import paths, unfree packages 2023-08-08 13:43:44 +01:00
eac470013b refactor(flake): re-organise systems and modules 2023-08-08 13:24:29 +01:00
af70a9b56f fix(nvim): remove phpactor as an LSP server 2023-08-07 22:13:45 +01:00
202dceada3 chore(nvim): remove lualine packages 2023-08-07 22:03:45 +01:00
aeb921e7e8 fix(nvim): re-add intelephense for completion 2023-08-07 21:51:38 +01:00
b18152cb4a chore(nvim): change vim-test strategy 2023-08-07 21:51:20 +01:00
ddf1ddb1b2 refactor(nixos): define devices by label 2023-08-07 21:42:17 +01:00
468d0c71a3 chore(update) 2023-08-07 20:02:51 +01:00
894de5d3e6 fix(flake): not loading nvim configuration 2023-08-07 19:37:25 +01:00
fb30ec5168 refactor(wsl2): move file 2023-08-07 18:28:04 +01:00
624faf959c refactor: restructure my Code directory
I recently restructed the contents of my `~/Code` directory so that
repositories are grouped by their provider and organisation.

For example, my `dotfiles` are now located at
`~/Code/github.com/opdavies/dotfiles`.

Likewise, `build-configs` is now located at
`~/Code/github.com/OliverDaviesLtd/build-configs` as it's within the
`OliverDaviesLtd` organisation.

As well as `~/Code/github.com`, I also have `~/Code/bitbucket.org` for
Bitbucket repositories. These are also grouped within subdirectories for
each organisation.

This change means I need to update any reference to the old `dotfiles`
location to the new one and I can update the `t` function to adjust the
min and max depth it uses to find directories.
2023-08-07 09:53:33 +01:00
f570b44606 refactor(flake): move nvim config to a package
Add it as a package instead of symlinking it into the `~/.config.nvim`
directory.
2023-08-07 09:44:06 +01:00
2140439032 docs: update README 2023-08-06 10:57:20 +01:00
750ae0a273 docs: update README 2023-08-06 10:55:59 +01:00
2e77243058 feat(zsh): add secrets alias 2023-08-06 00:37:32 +01:00
015b617ba1 chore(nixos): use JetBrains Mono 2023-08-05 01:36:00 +01:00
aa63de628e refactor(flake): inherit inputs 2023-08-05 01:22:18 +01:00
b68ad75ce3 build(flake): switch to stable by default
Switch to using the stable version of nixpkgs but still use unstable
where it's needed.
2023-08-04 22:54:32 +01:00
8f4aa7bbfc chore: remove apollo configuration
Remove the configuraton for my `apollo` laptop as I don't use it
regularly and I want to simplify my configuration before I refactor it.
2023-08-04 21:09:47 +01:00
212b62e164 chore(update) 2023-08-04 20:11:54 +01:00
6155b77e99 refactor(flake): reformat inputs 2023-07-30 23:01:46 +01:00
c076c756e6 refactor(nixos): remove unused overlay 2023-07-30 22:57:27 +01:00
000bb2fd5e revert(nvim): add mappings for cnext and cprev
Removing these keymaps as they conflict with C-j and C-k which navigates
between horizontal splits in tmux.

I also already have `]q`, `[q`, `]l` and `[l` that do the same `cnext`
and `lnext` navigation.

This reverts commit a02e2765f4.
2023-07-28 09:02:15 +01:00
a02e2765f4 feat(nvim): add mappings for cnext and cprev 2023-07-26 09:53:23 +01:00
346960f313 feat(git): set the default branch name for new
...repositories

When running `git init` to initialise a new repository, set the default
branch name that will be used. In this case, the branch name will be
`main` instead of the old default, `master`.
2023-07-25 20:24:48 +01:00
b6a3906865 feat(sway): auto-start Firefox and Alacritty 2023-07-25 09:07:41 +01:00
e0c37b06e7 feat(zoom): configure window settings 2023-07-24 15:12:03 +01:00
1dd6dc16e5 chore(sway): change the workspace number
Change the assigned workspace from 10 to 9.
2023-07-22 23:10:30 +01:00
6c5b015aee chore(nvim): remove intelephense 2023-07-22 09:35:20 +01:00
0580fd54dc feat(nvim): configure lualine 2023-07-22 09:35:20 +01:00
f61697da02 chore(nvim): switch to stable 2023-07-22 08:45:01 +01:00
0365947a6a chore(update) 2023-07-21 22:11:45 +01:00
19fcc6c317 chore(update) 2023-07-20 09:35:52 +01:00
dae27fdef8 fix(scripts): use Flake by default if it exists 2023-07-20 09:26:31 +01:00
1b397749ca revert(nvim): invoke completion menu manually
This reverts commit 1366a9d472.
2023-07-19 21:41:19 +01:00
648e9ee023 feat(scripts): add develop
Add a `develop` script that runs either Docker Compose or Nix depending
on which files are present within the repository.

Also add a `dev` alias for the `develop` script.
2023-07-19 11:38:50 +01:00
9980f80e0b feat(scripts): name the service name configurable 2023-07-18 20:51:41 +01:00
2a5cc1253d chore(update) 2023-07-18 20:51:09 +01:00
3d93030568 feat(zsh): add tf alias 2023-07-18 20:51:00 +01:00
c0243ed7ef feat(nixos): update kernel packages 2023-07-18 20:24:52 +01:00
ebf27538d6 feat(nixos): use Firefox Developer Edition 2023-07-18 20:23:55 +01:00
367cc7600b fix(sway): background colours 2023-07-18 20:21:59 +01:00
6345e57c75 feat(nvim): add terraform-ls 2023-07-18 20:21:08 +01:00
a1a4ee3374 feat(nvim): add vim-easy-align 2023-07-17 20:17:19 +01:00
b336c18a7e chore(update) 2023-07-17 20:17:19 +01:00
0348b260be refactor(new-drupal-module): use git 2023-07-09 16:34:53 +01:00
93e04a554b feat: add new-drupal-module
Create a new Drupal module based on my Drupal Module template -
https://github.com/opdavies/drupal-module-template
2023-07-09 12:27:16 +01:00
b9077d3399 chore(update) 2023-07-09 12:25:40 +01:00
d486ace596 feat(nixos): add and use IntelOne Mono 2023-07-07 09:22:50 +01:00
43235e0f5d chore(nvim): remove neogit 2023-07-07 09:20:12 +01:00
c08e814009 chore(update) 2023-07-07 09:19:42 +01:00
866dcfbd55 chore(update) 2023-07-03 21:31:37 +01:00
1fb3954397 fix(i3status-rust): override critical_bg colour 2023-07-01 00:13:56 +01:00
8ce406b9fe chore(update) 2023-07-01 00:13:25 +01:00
48d737b8c9 chore(update) 2023-06-28 20:49:16 +01:00
6050660c4e feat(home-manager): add packages 2023-06-28 20:49:08 +01:00
46183f48b5 chore(update) 2023-06-27 20:06:00 +01:00
3d27c35796 fix(tmux): remove erroring key bind 2023-06-24 10:34:13 +01:00
db8bac91e7 feat(sway): set as the default graphical session 2023-06-24 10:31:51 +01:00
a7c7fb6989 feat(nixos): add wl-clipboard 2023-06-23 22:34:10 +01:00
43c720d245 chore(alacritty): use IBM Plex Mono 2023-06-23 22:33:42 +01:00
9fe308fb83 chore(alacritty): enable window opacity 2023-06-23 22:33:07 +01:00
6af219c740 chore(update) 2023-06-23 22:22:38 +01:00
1366a9d472 feat(nvim): invoke completion menu manually
Don't open the completion menu automatically but invoke it when needed
using <C-Space>.
2023-06-23 22:21:02 +01:00
c8a62301f8 refactor(nvim): group extra Vim packages 2023-06-23 21:41:27 +01:00
ed0e7cf0a8 refactor(nvim): update Telescope preview settings 2023-06-23 10:11:33 +01:00
5602094891 chore(update) 2023-06-22 08:53:49 +01:00
8997e76108 fix(nixos): enable gvfs
This is needed by thunar-volman.
2023-06-22 08:43:01 +01:00
ee3054fe48 fix(nvim): re-add intelephense
Phpactor isn't providing LSP information or diagnostics within Drupal
tests whereas Intelephense does.

This means that I'm getting duplicate results in files where both
Intelephense and Phpactor are working, but I'll look into this again and
see if I can go back to using just Phpactor.
2023-06-22 07:56:36 +01:00
3547fe2c2b feat: add pass - a CLI password manager 2023-06-22 07:55:59 +01:00
31602d9de6 chore(nvim): standardise Telescope themes 2023-06-21 10:13:19 +01:00
61ee8411e1 fix(nvim): code formatting and diagnostics 2023-06-21 09:01:21 +01:00
a9c7ab3f67 feat(nvim): add keymap for formatting text 2023-06-21 09:01:21 +01:00
9691f2efce chore(update) 2023-06-21 09:01:21 +01:00
07b9d08a3e feat(nvim): add nixd 2023-06-20 01:39:23 +01:00
fe46ac7d43 feat: add rustywind 2023-06-20 00:29:34 +01:00
b64017f6d9 chore(update) 2023-06-20 00:29:34 +01:00
db175139a9 refactor(packages): move packages
Move packages so they aren't only available in Neovim, just in case I
want to run one of them from the command line.
2023-06-16 21:01:02 +01:00
63362f9d82 chore(update) 2023-06-16 17:23:51 +01:00
1af1dc3fb7 feat(nixos): faster reboots 2023-06-15 19:33:41 +01:00
9c2da9d353 refactor 2023-06-15 19:00:45 +01:00
31089aa054 chore(git): update user email address 2023-06-15 08:56:42 +01:00
0eee846185 fix(scripts): update paths 2023-06-13 19:57:25 +01:00
1a35b26bea chore(update) 2023-06-13 19:52:53 +01:00
1cc14b6a80 feat(scripts): push with --no-verify 2023-06-13 19:52:32 +01:00
94b045c01f style(fmt) 2023-06-13 19:51:56 +01:00
e2a8f86899 refactor(sway): manage with Home Manager 2023-06-13 12:33:34 +01:00
7c8e2d3284 refactor(i3status-rs): manage with Home Manager 2023-06-12 08:43:37 +01:00
a0e364269c chore(update) 2023-06-12 07:46:27 +01:00
15be3b9d38 chore(update) 2023-06-10 23:14:13 +01:00
ab36de47a7 feat: transparency in alacritty and nvim 2023-06-10 10:20:54 +01:00
12c8bc7d7f chore(update) 2023-06-09 19:09:10 +01:00
7fd477519a feat(sway): configure swaylock 2023-06-04 18:15:28 +01:00
46e6cb1d87 feat: configure auto upgrades 2023-06-04 16:30:17 +01:00
ddc4e57109 feat(sway): add binding to open a browser 2023-06-04 16:28:33 +01:00
89aa90aa34 feat(i3status-rs): updates 2023-06-04 14:05:14 +01:00
1f4ba88a17 feat(nvim): show matches in a split window 2023-06-04 14:04:08 +01:00
0a6d1f8e3a feat(sway): start assigning apps to workspaces 2023-06-04 14:03:25 +01:00
6e0fa3fdfe feat: configure fonts 2023-06-03 11:40:49 +01:00
407de3be32 chore(update) 2023-06-03 11:12:46 +01:00
b906cc8a51 chore: update nix.settings and nix.gc 2023-06-03 11:11:19 +01:00
bf3d81656d feat: caps lock key configuration
Esc on press, ctrl on hold.
2023-06-03 11:09:59 +01:00
342ea10202 feat(sway): add volume key bindings 2023-05-31 20:51:12 +01:00
8db35779f7 feat(i3config-rs): updates 2023-05-31 20:47:56 +01:00
462d1d86e7 feat(packages): add brightnessctl 2023-05-31 20:35:57 +01:00
3db3ad1c09 chore(update) 2023-05-31 13:50:24 +01:00
62751a9974 feat(phpactor): override the default template
Make classes final and enable strict types by default.

Refs: #41
2023-05-31 13:50:02 +01:00
f933b7c2e1 chore(sway): updates 2023-05-31 13:50:02 +01:00
e582b41bde chore(sway): updates 2023-05-30 00:57:53 +01:00
addbb45e8d chore(update) 2023-05-30 00:57:33 +01:00
42bab05a83 feat: ripgrep configuration 2023-05-25 23:37:35 +01:00
807e8f177c feat: sway configuration
- Change the mod key to Alt.
- Change the keyboard input language to UK.
- Replace dmenu with wofi.
- Disable the laptop screen when used in clam mode (lid closed with an
  external monitor).
- Override the GTK theme to ensure that a dark theme is used in all apps
  (e.g. Firefox).

See:

- https://github.com/swaywm/sway/wiki#clamshell-mode
- https://wiki.archlinux.org/title/Sway#Keymap
2023-05-25 23:37:35 +01:00
581dc96157 chore(update) 2023-05-25 23:37:35 +01:00
71aa83c61d chore(update) 2023-05-23 09:41:01 +01:00
0c75a6799d feat: add keybinding for the t function 2023-05-22 22:45:52 +01:00
ef64b0e03d feat(sway): initial configuration 2023-05-22 22:45:23 +01:00
2f06003ff8 chore(update) 2023-05-22 20:35:30 +01:00
4bace8f63e chore(update) 2023-05-19 12:24:14 +01:00
03ff33fc6f feat: enable Phpactor
Refs: #41
2023-05-19 12:23:09 +01:00
0bad33a035 refactor(git): move .gitmessage text 2023-05-16 22:49:11 +01:00
57bfd7470e chore(git): populate .gitmessage
Populate the default Git commit message with information about the
Conventional Commits specification.

See https://www.conventionalcommits.org.
2023-05-16 22:46:07 +01:00
5c077db0e5 chore(tag-release): add output message 2023-05-16 19:56:05 +01:00
47e2189487 fix(tag-release): accept no arguments
HEAD should be used as the default value if no value is passed for the
SHA value.
2023-05-16 19:55:31 +01:00
97f53b7f49 chore(update) 2023-05-15 18:17:22 +01:00
8b44eb3c5f feat(tmux): restore nvim sessions 2023-05-13 10:50:32 +01:00
180f88da20 feat(zsh): update aliases 2023-05-13 10:47:52 +01:00
b027182014 fix(tmux): fix colours 2023-05-13 10:40:04 +01:00
458c7fe755 chore(update) 2023-05-13 10:39:25 +01:00
cad984b874 chore(home-manager): rename packages.nix 2023-05-11 14:16:00 +01:00
Oliver Davies
f468f8aa5f feat(nvim): only run PHPCS if there is a
...phpcs.xml.dist file.
2023-05-11 14:14:03 +01:00
Oliver Davies
9f065ea19d feat(nvim): add snippet to create a Pest test 2023-05-11 13:55:56 +01:00
c5b2bafe34 chore(nvim): re-add cmdheight
Without this, I can't see when a macro is recording.
2023-05-10 20:33:02 +01:00
4814bbea3f chore(nvim): remove winbar 2023-05-10 20:32:54 +01:00
bcbdcabd32 chore(nvim): stop automated resizing 2023-05-10 20:32:46 +01:00
8512b12430 chore(nvim): no longer using Packer 2023-05-10 20:32:24 +01:00
281b15d86b chore(home-manager): set environment variables 2023-05-10 13:26:31 +01:00
c38b0732ad feat(nvim): add key bindings for Phpactor 2023-05-10 12:36:54 +01:00
1e22556f6a feat(nvim): add Phpactor templates for Drupal tests 2023-05-10 12:36:54 +01:00
fdd48ba14d feat(scripts): stop all Docker containers 2023-05-10 12:36:54 +01:00
b975044a9e chore(nvim): remove old lir configuration 2023-05-10 12:33:23 +01:00
9ecc92f7d1 feat(nvim): evaluate replacing Intelephense with
...Phpactor

Refs: #41
2023-05-10 01:44:29 +01:00
b733e63574 feat(nvim): add phpactor
Refs: #41
2023-05-10 01:44:12 +01:00
1a65394a0c chore: update Git user email address 2023-05-09 21:43:21 +01:00
bcfde30e28 feat: enable zram swap 2023-05-09 19:09:12 +01:00
bc149e3deb feat(nvim): ignore key mapping error 2023-05-09 19:08:53 +01:00
85913acb63 chore(update) 2023-05-08 19:54:55 +01:00
f08fe54d85 chore(update) 2023-05-07 01:27:35 +01:00
32c6ee2171 refactor: use flake parts 2023-05-04 00:04:02 +01:00
967e7e7bf8 refactor: use flake parts 2023-05-03 22:41:33 +01:00
f0560fb773 chore(update) 2023-05-03 22:20:53 +01:00
4b459f08d4 style: reformat with nixpkgs-fmt 2023-05-03 22:19:59 +01:00
1be69caabb fix(nvim): remove plugins.lua 2023-05-02 01:13:33 +01:00
9a94a65cad chore(update) 2023-05-01 10:04:36 +01:00
491b6bcc3f fix(nvim): eslint errors on first lines of buffers
Only run eslint when an .eslintrc.js file is present in the project
root.
2023-04-30 23:12:20 +01:00
52e323be81 fix(nvim): set signcolumn
Stop the window moving when a new Gitsigns column is added.
2023-04-30 10:52:48 +01:00
fe4833cdba chore(nvim): re-add virtual text 2023-04-30 10:52:24 +01:00
7c8dfc5ad4 chore(nvim): remove sign icons 2023-04-30 10:52:07 +01:00
dbfcc97708 fix(nvim): additional LSP keybindings 2023-04-30 10:51:44 +01:00
80c09d2783 revert(update)
This reverts commit 1981c62978.
2023-04-29 11:03:36 +01:00
1981c62978 chore(update) 2023-04-29 10:57:46 +01:00
d0f59f950b refactor(nvim): move custom plugins 2023-04-29 10:56:47 +01:00
35bef73170 feat(nvim): finish configuring lsp-zero.nvim
Fixes #49
2023-04-29 10:55:45 +01:00
1bcd135786 chore(update) 2023-04-27 19:03:24 +01:00
6c0691800e feat: automatically clear between nodemon commands 2023-04-27 19:02:14 +01:00
b729416e82 chore(update) 2023-04-26 15:43:46 +01:00
9289ace4c3 chore(nvim): tweak indent line colours 2023-04-26 00:04:44 +01:00
575e0f694b fix(tmux): find warning when using t function
Fixes #51
2023-04-24 19:28:35 +01:00
f58ef51f0f refactor(nvim): use lsp-zero.nvim 2023-04-18 11:43:50 +01:00
80ec00f68b feat: add awscli
Fixes #32
2023-04-17 18:33:20 +01:00
2a8f42c267 fix(nvim): install Treesitter grammars with Nix
Fixes #48
2023-04-17 17:58:31 +01:00
76c327b9b9 chore: remove nvim workaround to get the latest
...version
2023-04-17 17:44:23 +01:00
455cbf3bfc feat: add import-gzip-database script 2023-04-16 20:54:26 +01:00
d9af1a2efd feat: add run alias 2023-04-15 10:30:02 +01:00
c8bd0246ac chore: remove pop-os.nix 2023-04-14 11:50:44 +01:00
d7c70ad5b1 feat: add nodemon 2023-04-14 11:13:14 +01:00
140b9c13a0 feat: add create-script and tag-release 2023-04-14 10:20:44 +01:00
3d10ad02db chore: delete unused bin scripts 2023-04-14 10:06:23 +01:00
419d7cac6a feat(zsh): add Build Configs aliases 2023-04-13 01:45:10 +01:00
b5fd2d781d feat(zsh): add Nix and NixOS aliases 2023-04-13 01:45:10 +01:00
12c99707e2 chore: don't require root password for wheel users 2023-04-11 20:03:25 +01:00
d0d1229d44 feat(nvim): add vim-terraform 2023-04-11 20:03:06 +01:00
017973b0b4 fix: incorrect shebang
Fails on NixOS before making this change.
2023-04-08 09:45:07 +01:00
4add1d9f07 feat(nvim): replace sumneko_lua with lua_ls 2023-04-08 09:44:29 +01:00
6efab85b97 fix(nvim): remove unused user command 2023-04-06 00:26:26 +01:00
388b423114 fix(nvim): treesitter parser location issue 2023-04-06 00:25:49 +01:00
dc9ee849bb fix: use the generated Alacritty configuration 2023-04-05 23:11:32 +01:00
32876821a9 feat: add Meslo font 2023-04-05 23:09:47 +01:00
1a9b54fff9 fix(zsh): add prompt with zplug 2023-04-05 23:09:27 +01:00
601f6b3373 fix: fix customVim overlay in NixOS 2023-04-05 17:51:24 +01:00
d66f5362cb fix(zsh): set zsh as the default shell 2023-04-05 17:17:37 +01:00
dacc6af97e build(justfile): swap profile and command
...arguments
2023-04-05 17:17:37 +01:00
5a08bdc7ea chore(git): remove the g function
This is now used as an alias for `git`.
2023-04-05 17:17:30 +01:00
6974d288a5 feat(nvim): add vim and vi aliases 2023-04-05 16:59:13 +01:00
ca49558306 chore: remove Pop!_OS configuration
This is no longer needed as my laptop is running NixOS again.
2023-04-05 16:59:13 +01:00
4e5ab16937 feat: initial commit of NixOS on my Infinitybook 2023-04-05 16:57:41 +01:00
70f37ec8ae chore: update 2023-03-29 14:26:35 +01:00
c206afb3b0 build(deps): flake update 2023-03-23 21:31:09 +00:00
cc7aaa2144 feat: change Caps Lock behaviour on Pop!_OS 2023-03-23 21:28:52 +00:00
07bc20fc81 chore(packages): remove zoxide 2023-03-23 00:04:39 +00:00
98a47d867e refactor: change configuration to system 2023-03-22 23:50:04 +00:00
8a22a861d4 refactor(nvim): move custom plugins to an overlay 2023-03-22 23:23:33 +00:00
6771dd33d4 chore: remove zoxide 2023-03-22 22:59:58 +00:00
8211af71e3 refactor(packages): add packages.nix 2023-03-22 22:56:56 +00:00
401c9e4660 chore(nvim): remove sumneko-lua-language-server 2023-03-22 22:48:06 +00:00
2fb3745307 Update common.nix 2023-03-22 22:46:08 +00:00
f419f2bd52 feat(zsh): update plugins 2023-03-22 22:27:49 +00:00
8b8a9f1ce5 feat(nvim): config updates 2023-03-22 22:24:53 +00:00
5581ebc1f3 fix: re-add Ansible language server 2023-03-21 22:16:24 +00:00
7824202696 build: allow unfree software 2023-03-21 22:02:18 +00:00
e3f24d0264 build: flake update 2023-03-21 22:01:40 +00:00
d5fa2b558b feat: make working with Pulumi in Python nicer 2023-03-14 11:18:53 +00:00
f603d40156 feat(nvim): automatically find files
Run "nvim +GoToFile" to open Neovim and automatically open Telescope to
find the file that I need.

The idea was taken from @joshmedeski when he mentioned it in a podcast
with @nicknisi.

https://youtu.be/17o9QrCcF_o
https://github.com/joshmedeski/dotfiles/search?q=GoToFile
2023-02-24 09:43:29 +00:00
223412970a feat(nvim): add gitsigns to null-ls code actions 2023-02-12 09:51:24 +00:00
22a99b4258 feat(nvim): try vim-fugitive and vim-rhubarb 2023-02-09 07:37:05 +00:00
7cf17e5550 feat(nvim): add telescope-live-grep-args 2023-02-07 20:24:42 +00:00
1ed3bc8b57 feat(nvim): use Neovim nightly 2023-02-07 20:24:42 +00:00
25166dad97 chore: flake update 2023-02-07 20:24:42 +00:00
f1391bc6af chore: update script names 2023-02-07 20:24:36 +00:00
1e2fb5ae8b revert: flake update
This reverts commit 78526c7818.
2023-01-31 07:17:02 +00:00
fe77f1cfe0 Remove pdfpc 2023-01-30 22:08:56 +00:00
555b954c9a nvim: treesitter: enable autotag 2023-01-30 22:08:14 +00:00
17b8a7c815 nvim: null-ls: set the temporary directory 2023-01-30 22:05:58 +00:00
a68a460131 Add bin scripts 2023-01-30 22:00:53 +00:00
40d3235275 nvim: hide numbers in terminals 2023-01-30 21:59:16 +00:00
f4a3b20f91 Add ionotify tools 2023-01-30 21:57:02 +00:00
78526c7818 flake update 2023-01-27 10:01:41 +00:00
4f097c55ce nvim: add phpdoc to treesitter 2023-01-27 10:00:53 +00:00
196f0969f2 nvim: update gitsigns configuration 2023-01-23 18:12:25 +00:00
fb8ce83e9f alacritty: add configuration
Add the whole file rather than adding it via Home Manager as that causes
a conflict with Pop!_OS where Alacritty is installed via Flatpak rather
than via Nix/Home Manager.

This may be something to try again in future.
2023-01-18 09:47:58 +00:00
19177de131 feat(nvim): add vim-caser plugin 2023-01-13 18:18:27 +00:00
e4b8ea9e33 feat: add Astro language server 2023-01-13 01:39:19 +00:00
ac0c71775d feat(zsh): automatically expand aliases
Automatically expand aliases after the space key is pressed, unless it
was added using the `ialias` function.

This is something that I saw on Sebastian Daschner's videos
(https://www.sebastian-daschner.com,
https://www.youtube.com/@SebastianDaschnerIT) and is from his dotfiles
(https://github.com/sdaschner/dotfiles).
2023-01-13 01:39:19 +00:00
0d25b9348e chore: remove Docker and Docker Compose
When using Docker from the Nix store, I couldn't connect to it so I
uninstalled it and added it using the https://get.docker.com script.

I'm no longer using Docker Compose v1, so I can also remove the
`docker-compose` package.
2023-01-13 01:39:19 +00:00
4c03eb55e2 feat: add packages 2023-01-13 01:39:19 +00:00
c363640a93 feat(zsh): set ZSH opts 2023-01-13 01:39:19 +00:00
3a693e4ffd feat(nvim): add rst snippets for working with PDFs
Fixes #45
2023-01-13 01:37:46 +00:00
07e552df83 feat(nvim): add new plugins 2023-01-04 22:16:14 +00:00
25306a0093 feat: add http-server 2023-01-03 13:05:36 +00:00
5dd5d77b02 feat: add doppler 2023-01-03 12:22:16 +00:00
ce7872c100 feat(nvim): use --testdox when running PHPUnit 2022-12-28 17:56:34 +00:00
0371434311 feat(nvim): use floaterm for running tests 2022-12-28 17:55:49 +00:00
373c824caf chore(nvim): add prefix to Vim plugin names
Make it easier to differentiate between Vim plugins that are available
in the Nix store and those that have been added and built manually.
2022-12-27 17:01:25 +00:00
e6c7d6e69a feat(nvim): re-add dial.nvim
https://github.com/monaqa/dial.nvim
2022-12-27 16:48:31 +00:00
5c10e51af5 feat(nvim): re-add tabline.vim plugin
https://github.com/mkitt/tabline.vim
2022-12-27 16:37:39 +00:00
bd5ec65f8b chore(nvim): configure backup settings 2022-12-27 16:36:56 +00:00
967e443b34 feat(nvim): re-add Ansible language server 2022-12-27 16:36:03 +00:00
e4a1c2fb37 feat(nvim): add nvim_lsp_signature_help 2022-12-26 21:06:11 +00:00
fcccc0906b feat: add terraform 2022-12-21 11:41:33 +00:00
3f61fa3824 fix: update paths 2022-12-21 11:40:36 +00:00
7235dc60dd refactor: delete old Ansible configuration
- Remove the Ansible files.
- Move the Nix files to the root level of the repository.

Refs: #39
2022-12-20 20:00:28 +00:00
a2bded636e feat: add mysql
Add MySQL as this is needed for Drush and other CLI tools even though no
databases will be run in this instance of MySQL.
2022-12-20 19:02:59 +00:00
d4a4f9233e chore(nvim): update vim-test key mappings 2022-12-19 09:44:24 +00:00
a2dc676a42 feat: add t keybindings for Tmux 2022-12-19 09:42:24 +00:00
7ba39d2605 feat: add Postman 2022-12-19 09:41:30 +00:00
ee44c41652 chore: rename tmux-sessioniser
- Rename `tmux-sessioniser` to `t`.
- Search only within the `~/Code` directory instead of using zoxide.
2022-12-19 09:39:39 +00:00
6f08c2de82 feat: add lua-language-server 2022-12-17 12:48:51 +00:00
bb90d579ed feat: enable SSH service 2022-12-12 09:24:15 +00:00
b35e3211de feat: enable Bluetooth and Blueman 2022-12-12 09:20:41 +00:00
0f165b2733 feat: switch from Gnome to KDE Plasma 2022-12-12 09:18:36 +00:00
6f61d84d3f fix: autocompletion of the g function 2022-12-12 09:14:43 +00:00
cf2850ba85 chore: remove unused Alacritty role 2022-12-12 09:13:21 +00:00
9028dbdc87 feat: configure Alacritty
Configure Alacritty in Home Manager.
2022-12-12 09:12:12 +00:00
b4eb83a558 feat: add Astro to Treesitter
Refs: #30
2022-12-10 10:56:33 +00:00
2a1927f073 feat: enable Tailwind CSS LSP for Astro files
Refs: #30
2022-12-10 10:05:45 +00:00
53c40ee21e fix: add Fira Code and JetBrains Mono 2022-12-09 09:19:51 +00:00
e10ec65688 feat: add PHP, node, yarn and pulumi 2022-12-09 09:18:24 +00:00
f9b5aeb8f5 chore(tmux): status line configuration 2022-12-08 10:12:06 +00:00
755b3c88a4 feat(nvim): add phpactor 2022-12-04 15:52:32 +00:00
4404ae5bff fix(nvim): configure splitjoin with lua 2022-12-03 10:46:02 +00:00
c3189ef0a2 feat(nvim): add splitjoin plugin
https://github.com/AndrewRadev/splitjoin.vim
2022-12-03 09:45:50 +00:00
dc89f5ce8c feat(nvim): re-add indent-blankline.nvim 2022-12-03 00:52:13 +00:00
561fd197ad chore: niv init 2022-11-29 07:02:11 +00:00
b877a315a0 feat(nvim): re-add cmp-tabnine 2022-11-08 10:45:53 +00:00
ddfdee777d feat(nvim): re-add vimux 2022-11-08 10:45:31 +00:00
933d2fcf62 fix(nvim): update dotfiles location 2022-11-08 10:44:56 +00:00
1b03084975 fix(nvim): error on startup 2022-11-08 10:40:03 +00:00
c2cfbe0c85 chore: remove some unused Gnome packages 2022-11-02 20:41:36 +00:00
4604600e04 feat: add caffeine 2022-11-02 20:35:40 +00:00
2aff2a28ff feat: re-add vim-tmux-navigator 2022-11-01 20:20:48 +00:00
bcbad6715e fix(git): disable verbose commits
Disable verbose commits as this seems to be causing an issue with Neogit
where the diff is unintentionally included within the commit message.
2022-10-31 23:43:47 +00:00
db7c1fc273 build: add Ansible language server 2022-10-31 23:38:21 +00:00
b5c147bf92 chore(flake): update 2022-10-31 23:38:09 +00:00
d0d81cdeb1 chore(flake): update 2022-10-24 06:49:09 +01:00
e670431799 feat(nvim): re-add DAP plugins 2022-10-14 10:54:25 +01:00
a0fc60ce28 chore(flake): update 2022-10-12 16:36:52 +01:00
7cfdca5a06 feat: add and use zoxide 2022-10-12 07:59:47 +01:00
f7df88b616 feat(nvim): re-add neogit 2022-10-11 22:11:59 +01:00
459428a979 refactor: combine bin directories 2022-10-11 22:09:42 +01:00
f3f1051f1f chore: remove teams 2022-10-11 15:05:53 +01:00
14b1b2885e fix: use Neovim nightly for NixOS 2022-10-06 12:33:59 +01:00
8798a82bbe fix(nixos): enable experimental features 2022-10-04 23:11:23 +01:00
2d5963dbc4 refactor(nvim): delete roles 2022-10-04 09:40:42 +01:00
5630466780 refactor(nvim): manage Neovim with Home Manager 2022-10-04 09:38:42 +01:00
83c43d07df fix(nvim): re-add plugins 2022-10-04 09:21:39 +01:00
c4a2baa71e refactor: re-organise packages 2022-10-04 08:17:18 +01:00
493a63dc2a chore: remove duplicate shell aliases 2022-10-04 08:07:15 +01:00
06440c5f0d chore: delete result directory after running 2022-10-04 08:01:46 +01:00
7c206927dc build: allow for specifying the command 2022-10-04 07:29:34 +01:00
1a0707910e fix(nvim): treesitter paths 2022-10-03 21:33:14 +01:00
85db57210d feat(nvim): add rnix LSP for Nix files 2022-10-03 17:47:17 +01:00
f64b58d6f5 fix: update bash path 2022-10-03 17:46:49 +01:00
23d776e537 fix(flake): add missing flake name 2022-10-03 09:55:41 +01:00
47ca17f781 feat: add NixOS config for Apollo laptop 2022-10-03 09:27:46 +01:00
60b0e1f824 feat(justfile): add update 2022-10-01 23:55:00 +01:00
ccef7209b7 chore: flake update 2022-10-01 23:54:32 +01:00
ffdbb50f01 feat: install LSP and formatters 2022-09-29 20:59:38 +01:00
e01784d8ce chore: move nix files 2022-09-29 19:29:50 +01:00
c7b4055a95 feat: add markdownlint 2022-09-29 19:25:48 +01:00
f4c9e5c83b feat(nvim): add Neovim plugins 2022-09-29 15:17:25 +01:00
228086f19a fix(zsh): include powerlevel10k configuration 2022-09-29 15:17:25 +01:00
691da2a053 revert(alacritty): configure Alacritty
This reverts commit afa768224855f4c1136eb3b62c2b09224f25ade0.
2022-09-29 15:17:25 +01:00
a02f5bb68b refactor: extract a common module
diff --git a/configuration/pop-os/default.nix b/configuration/pop-os/default.nix
index 9ed9e69..2287793 100644
--- a/configuration/pop-os/default.nix
+++ b/configuration/pop-os/default.nix
@@ -3,6 +3,7 @@
 {
   imports = [
     ../../home-manager/modules/alacritty.nix
+    ../../home-manager/modules/common.nix
     ../../home-manager/modules/git.nix
     ../../home-manager/modules/home-manager.nix
     ../../home-manager/modules/tmux.nix
@@ -15,9 +16,5 @@
     docker
     docker-compose
     jetbrains-mono
-    just
-    neovim
   ];
-
-  programs.bat.enable = true;
 }
diff --git a/configuration/wsl2/default.nix b/configuration/wsl2/default.nix
index 84c1242..de6afe3 100644
--- a/configuration/wsl2/default.nix
+++ b/configuration/wsl2/default.nix
@@ -2,17 +2,10 @@

 {
   imports = [
+    ../../home-manager/modules/common.nix
     ../../home-manager/modules/git.nix
     ../../home-manager/modules/home-manager.nix
     ../../home-manager/modules/tmux.nix
     ../../home-manager/modules/zsh.nix
   ];
-
-  home.packages = with pkgs; [
-    just
-    neovim
-    zsh
-  ];
-
-  programs.bat.enable = true;
 }
diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix
new file mode 100644
index 0000000..0a77fe8
--- /dev/null
+++ b/home-manager/modules/common.nix
@@ -0,0 +1,9 @@
+{ config, lib, pkgs, ... }:
+{
+  home.packages = with pkgs; [
+    just
+    neovim
+  ];
+
+  programs.bat.enable = true;
+}
2022-09-29 15:17:25 +01:00
ecab676b75 refactor: move OS configuration files 2022-09-29 15:17:25 +01:00
c08df2a342 feat(alacritty): configure Alacritty 2022-09-29 15:17:25 +01:00
96ca78cf8d feat: add Git shell aliases 2022-09-29 15:17:25 +01:00
7e03839b70 feat: add wsl2 flake 2022-09-29 15:17:25 +01:00
8c281cd5d2 refactor: split into modules 2022-09-29 15:17:25 +01:00
501fe8533f refactor: use a flake for Pop!_OS 2022-09-29 15:17:25 +01:00
a5fa4e80ab feat(zsh): add run alias 2022-09-29 15:17:25 +01:00
2c4e616026 feat(zsh): configure autocd and cdpath 2022-09-29 15:17:25 +01:00
aad6001ccd fix(zsh): case insensitive autocompletion 2022-09-29 15:17:25 +01:00
cb812ee063 fix(tmux): syntax error in tmux.conf 2022-09-29 15:17:25 +01:00
80f76da981 fix(tmux): colours 2022-09-29 15:17:25 +01:00
ebdc6bf771 build: add justfile 2022-09-29 15:17:25 +01:00
21e0969fe0 chore: move home.nix 2022-09-29 15:17:25 +01:00
45c7a28ac6 feat: enable bat 2022-09-29 15:17:25 +01:00
dd7f3f0d95 feat(git): more configuration 2022-09-29 15:17:25 +01:00
b0fdd2429d feat(git): re-add aliases 2022-09-29 15:17:25 +01:00
4e2e81c815 fix(zsh): disable completion
Fix error when running `home-manager switch` by disabling ZSH
completions.
2022-09-29 15:17:25 +01:00
b5308adf17 chore(zsh): change dotDir 2022-09-29 15:17:25 +01:00
c731e814a5 feat(git): add g function 2022-09-29 15:17:25 +01:00
01910284dc feat(git): start configuring Git 2022-09-29 15:17:25 +01:00
503e40b762 feat(zsh): configure plugins 2022-09-29 15:17:25 +01:00
a1bc689a01 feat(zsh): enable zsh 2022-09-29 15:17:25 +01:00
af1d8d3777 feat: initial commit 2022-09-29 15:17:25 +01:00
41b8f3f552 feat: use nix package manager 2022-09-29 15:17:15 +01:00
485 changed files with 12209 additions and 4016 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

View file

@ -0,0 +1,7 @@
on: push
jobs:
check:
runs-on: nixos
steps:
- uses: actions/checkout@v4
- run: nix develop -c just check

View file

@ -0,0 +1,90 @@
name: update-inputs
on:
schedule:
- cron: "0 6 * * 2,5" # Tue & Fri
workflow_dispatch:
jobs:
update-flake-lock:
runs-on: nixos
env:
BASE_BRANCH: main
BRANCH_PREFIX: flake-lock-update
FJ_URL: https://code.oliverdavies.uk
GIT_AUTHOR_EMAIL: flake-bot@local
GIT_AUTHOR_NAME: flake-bot
GIT_COMMITTER_EMAIL: ${{ env.GIT_AUTHOR_EMAIL }}
GIT_COMMITTER_NAME: ${{ env.GIT_AUTHOR_NAME }}
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 0 }
- name: Update inputs & commit
id: bump
run: |
set -o errexit
set -o nounset
set -o pipefail
BRANCH="${BRANCH_PREFIX}-${GITHUB_RUN_ID}"
git switch -c "$BRANCH"
BEFORE=$(git rev-parse HEAD)
# Nix updates inputs and commits if needed
nix flake update --commit-lock-file
AFTER=$(git rev-parse HEAD)
if [ "$BEFORE" = "$AFTER" ]; then
echo "changed=false" >> "$GITHUB_OUTPUT"
exit 0
fi
# ── Grab commit info ────────────────────────────────────────────────
# Full message
COMMIT_RAW=$(git log -1 --pretty=%B)
# First line is the short summary; we keep lines AFTER the first blank
COMMIT_BODY=$(printf '%s\n' "$COMMIT_RAW" \
| sed '1,/^$/d' \
| sed 's/^• */* /') # nicer Markdown bullet
# Title becomes first line of the PR
COMMIT_TITLE=$(printf '%s\n' "$COMMIT_RAW" | head -n1)
# JSON-escape the body so \n etc. are valid JSON
BODY_JSON=$(printf '%s' "$COMMIT_BODY" | jq -Rs .)
echo "changed=true" >> "$GITHUB_OUTPUT"
echo "branch=$BRANCH" >> "$GITHUB_OUTPUT"
echo "title=$COMMIT_TITLE" >> "$GITHUB_OUTPUT"
echo "body_json=$BODY_JSON" >> "$GITHUB_OUTPUT"
git push -u origin "$BRANCH"
- name: Open pull-request
if: steps.bump.outputs.changed == 'true'
env:
TOKEN: ${{ secrets.FLAKE_UPDATE_PAT }}
BRANCH: ${{ steps.bump.outputs.branch }}
TITLE: ${{ steps.bump.outputs.title }}
BODY_JSON: ${{ steps.bump.outputs.body_json }}
run: |
set -o errexit
set -o nounset
OWNER="${GITHUB_REPOSITORY%%/*}"
REPO="${GITHUB_REPOSITORY#*/}"
curl -fSs -X POST "$FJ_URL/api/v1/repos/$OWNER/$REPO/pulls" \
-H "Authorization: token $TOKEN" \
--json '{
"base": "'"$BASE_BRANCH"'",
"body": '"$BODY_JSON"',
"draft": false,
"head": "'"$BRANCH"'",
"title": "'"$TITLE"'"
}'

9
.gitignore vendored
View file

@ -1,3 +1,6 @@
/nvim/.config/nvim/.netrwhist
/nvim/.config/nvim/plugged/
/nvim/.config/nvim/plugin/packer_compiled.lua
# Nix.
/.direnv/
/result
# Syncthing.
/.stignore

1
.ignore Normal file
View file

@ -0,0 +1 @@
.git/

7
.mailmap Normal file
View file

@ -0,0 +1,7 @@
Oliver Davies <oliver@oliverdavies.uk> <339813+opdavies@users.noreply.github.com>
Oliver Davies <oliver@oliverdavies.uk> <oliver+github@oliverdavies.uk>
Oliver Davies <oliver@oliverdavies.uk> <oliver.davies@tfw.wales>
Oliver Davies <oliver@oliverdavies.uk> <oliver@microserve.io>
Oliver Davies <oliver@oliverdavies.uk> <oliver@oliverdavies.dev>
Oliver Davies <oliver@oliverdavies.uk> <opdavies@gmail.com>
Oliver Davies <oliver@oliverdavies.uk> <opdavies@noreply.code.oliverdavies.uk>

67
.nvim.lua Normal file
View file

@ -0,0 +1,67 @@
vim.keymap.set("n", "<leader>fn", function()
require("telescope.builtin").find_files({
cwd = "modules/home-manager/coding/neovim/config"
})
end)
require("conform").setup {
formatters_by_ft = {
lua = { "stylua" },
nix = { "nixfmt" },
},
}
require("lint").linters_by_ft = {
lua = { "luacheck" },
nix = { "nix" },
}
local lspconfig = require "lspconfig"
local capabilities = require("cmp_nvim_lsp").default_capabilities(vim.lsp.protocol.make_client_capabilities())
lspconfig.lua_ls.setup {
capabilities = capabilities,
settings = {
Lua = {
completion = {
callSnippet = "Replace",
},
diagnostics = {
globals = { "vim" },
},
runtime = {
version = "LuaJIT",
},
telemetry = {
enabled = false,
},
workspace = {
library = vim.api.nvim_get_runtime_file("", true),
},
},
},
}
lspconfig.nixd.setup {
capabilities = capabilities,
cmd = { "nixd" },
settings = {
nixd = {
nixpkgs = {
expr = "import <nixpkgs> { }",
},
formatting = {
command = "nix fmt",
},
},
},
}

View file

@ -1,40 +1,3 @@
# dotfiles
# nix-config
My personal dotfiles, originally for macOS only but currently being adapted for
use on Linux based systems (Ubuntu and Pop!_OS in particular) where needed.
The repository is powered using Ansible, with each software package and its
associated configuration within separate roles within the `roles` directory.
The `neovim` role, for example, has its own tasks in `roles/neovim/tasks/main.yaml`
and files in `roles/neovim/files`.
Files within a role are typically symlinked into their required destination
so that they will be automatically updated without needing to run the playbook
again.
For example, the files and directories within the neovim role are symlinked
into `~/.config/nvim`.
## Requirements
- [Ansible](https://www.ansible.com)
- [Git](https://git-scm.com)
## Installation
```
$ ansible-playbook main.yaml --ask-become-pass
```
## Inspiration
- [Chris Toomey](https://github.com/christoomey/dotfiles)
- [Gabe Berke-Williams](https://github.com/gabebw/dotfiles)
- [Jeff Geerling](https://github.com/geerlingguy/dotfiles)
- [Robin Malfait](https://github.com/RobinMalfait/dotfiles)
- [TJ DeVries](https://github.com/tjdevries/config_manager)
- [TheAltF4Stream](https://github.com/ALT-F4-LLC/dotfiles)
- [ThePrimeagen](https://github.com/ThePrimeagen/.dotfiles)
- [Thoughtbot](https://github.com/thoughtbot/dotfiles)
- [codico](https://github.com/codicocodes/dotfiles)
Originally my `dotfiles` repository, this repository contains my NixOS and Home Manager-based configurations for my personal laptop (`t480`) and home server/homelab (`nixedo`).

View file

@ -1,3 +0,0 @@
[defaults]
become = true
inventory = ./hosts.ini

Binary file not shown.

View file

@ -1,20 +0,0 @@
#!/bin/bash
# Abort a rebase, merge, `am`, a cherry-pick or a revert, depending on the situation.
if [[ -e .git/CHERRY_PICK_HEAD ]] ; then
exec git cherry-pick --abort "$@"
elif [[ -e .git/REVERT_HEAD ]] ; then
exec git revert --abort "$@"
elif [[ -e .git/rebase-apply/applying ]] ; then
exec git am --abort "$@"
elif [[ -e .git/rebase-apply ]] ; then
exec git rebase --abort "$@"
elif [[ -e .git/rebase-merge ]] ; then
exec git rebase --abort "$@"
elif [[ -e .git/MERGE_MODE ]] ; then
exec git merge --abort "$@"
else
echo git-abort: unknown state
exit -1
fi

View file

@ -1,271 +0,0 @@
#!/usr/bin/env php
<?php
declare(strict_types=1);
/**
* Usage: git close-pull-request -t <target>
*
* Run this from a branch which has an upstream remote branch, and an associated
* pull request.
*
* The script will merge the branch into master, push master (which will
* automatically close the pull request), and delete both the local and remote
* branches.
*
* Based on a script by @christoomey. Translated into PHP.
*/
class ClosesPullRequests
{
private $targetBranch;
private $localBranch;
private $remoteBranch;
private const RUN_TYPE_COMMAND = 'command';
private const RUN_TYPE_QUERY = 'query';
public function __construct()
{
$this->localBranch = $this->run(
'git rev-parse --abbrev-ref HEAD',
self::RUN_TYPE_QUERY
);
$this->targetBranch = $this->getTargetBranchFromArgs();
$this->remoteBranch = $this->run(
'git rev-parse --abbrev-ref --symbolic-full-name @{u}',
self::RUN_TYPE_QUERY
);
$this->remoteBranch = str_replace('origin/', '', $this->remoteBranch);
}
public function __invoke(): void
{
$this->confirmCiStatusIsPassing();
// TODO: Check that the current branch has a tracking branch.
$this->ensureWorkingDirectoryAndIndexAreClean();
$this->fetchOrigin();
$this->ensureFeatureBranchInSync();
$this->ensureTargetBranchInSync();
$this->checkoutTargetBranch();
$this->mergeLocalBranch();
$this->pushTargetBranch();
$this->deleteRemoteBranch();
$this->deleteLocalBranch();
}
private function ensureWorkingDirectoryAndIndexAreClean(): void
{
echo 'Ensuring that index and working directory are clean...' . PHP_EOL;
$isIndexClean = $this->run('git diff --cached --exit-code', self::RUN_TYPE_COMMAND);
$isWorkingDirClean = $this->run('git diff --exit-code', self::RUN_TYPE_COMMAND);
if (!$isIndexClean || !$isWorkingDirClean) {
$this->dieWithMessage('Index or working dir not clean. Aborting.');
}
}
private function getTargetBranchFromArgs(): string
{
if (!$targetBranchName = $this->getArg('t:', ['target:'])) {
$this->dieWithMessage('Invalid target branch specified. Aborting.');
}
return $targetBranchName;
}
private function confirmCiStatusIsPassing(): void
{
if ($this->isForce()) {
echo 'Forced. Skipping ci-status check...' . PHP_EOL;
return;
}
echo 'Confirming ci-status on PR is green...' . PHP_EOL;
$passedCi = $this->run('gh pr checks', self::RUN_TYPE_COMMAND);
// TODO: Check if there are no CI checks. Does this return `true` as well?
if (!$passedCi) {
$this->dieWithMessage('CI pending or failed.');
}
}
private function fetchOrigin(): void
{
print 'Fetching origin to confirm local and remote in sync...'
. PHP_EOL;
$this->run('git fetch origin', self::RUN_TYPE_COMMAND);
}
private function ensureTargetBranchInSync(): void
{
$this->ensureBranchInSyncWithUpstream(
$this->targetBranch,
$this->targetBranch
);
}
private function ensureFeatureBranchInSync(): void
{
$this->ensureBranchInSyncWithUpstream(
$this->localBranch,
$this->remoteBranch
);
}
private function ensureBranchInSyncWithUpstream(
string $localBranch,
string $remoteBranch
): void {
echo sprintf(
'Ensuring that %s is in sync with its upstream...',
$localBranch
) . PHP_EOL;
$localCommitTip = $this->tipCommitOfBranch($localBranch);
$remoteCommitTip = $this->tipCommitOfBranch(sprintf(
'origin/%s',
$remoteBranch
));
if ($localCommitTip != $remoteCommitTip) {
$this->dieWithMessage(sprintf(
'Branch %s was out of date, needs rebasing. Aborting.',
$localBranch
));
}
}
private function tipCommitOfBranch(string $branchName): string
{
return $this->run(
sprintf('git rev-parse %s', $branchName),
self::RUN_TYPE_QUERY
);
}
private function checkoutTargetBranch(): void
{
echo sprintf('Checking out %s...' . PHP_EOL, $this->targetBranch);
$this->run(
sprintf('git checkout %s', $this->targetBranch),
self::RUN_TYPE_COMMAND
);
}
private function mergeLocalBranch(): void
{
echo sprintf(
'Merging %s into %s...' . PHP_EOL,
$this->localBranch,
$this->targetBranch
);
$mergeCommand = sprintf('git merge --ff-only %s', $this->localBranch);
if (!$this->run($mergeCommand, self::RUN_TYPE_COMMAND)) {
// Switch back to the previous branch.
$this->run('git checkout -', self::RUN_TYPE_COMMAND);
$this->dieWithMessage(sprintf(
'Branch %s is not fast-forwardable.',
$this->localBranch
));
}
}
public function pushTargetBranch(): void
{
print(sprintf('Pushing updated %s branch...', $this->targetBranch));
$this->run(
sprintf('git push origin %s', $this->targetBranch),
self::RUN_TYPE_COMMAND
);
}
public function deleteRemoteBranch(): void
{
echo 'Deleting remote branch...' . PHP_EOL;
$this->run(
sprintf('git push origin :%s', $this->remoteBranch),
self::RUN_TYPE_COMMAND
);
}
public function deleteLocalBranch(): void
{
echo 'Deleting local branch...' . PHP_EOL;
$this->run(
sprintf('git branch -d %s', $this->localBranch),
self::RUN_TYPE_COMMAND
);
}
private function getArg(string $shortOpts, array $longOpts = []): ?string
{
if (!$values = getopt($shortOpts, $longOpts)) {
return NULL;
}
return current($values);
}
private function hasArg(string $shortOpts, array $longOpts = []): bool
{
return !empty(getopt($shortOpts, $longOpts));
}
private function isForce(): bool
{
return $this->hasArg('f::', ['force::']);
}
/**
* Run the command.
*
* @return bool|string
* If the type is 'command', the method will return if there were any
* errors when running the command based on its return code.
*
* If the type is 'query', then the output of the command will be returned
* as a string.
*/
private function run(string $command, string $type)
{
switch ($type) {
case self::RUN_TYPE_COMMAND:
// Perform the command, hiding the original output and return
// whether or not there were errors.
@exec("$command", $output, $return);
return $return == 0;
case self::RUN_TYPE_QUERY:
// Perform the command and return the output.
return exec($command, $output);
}
}
private function dieWithMessage(string $message): void
{
echo sprintf("\e[31m%s\e[0m", $message);
exit(1);
}
private function exitWithWarning(string $message): void
{
echo sprintf("\e[33m%s\e[0m", $message);
exit(2);
}
}
(new ClosesPullRequests())->__invoke();

View file

@ -1,7 +0,0 @@
#!/usr/bin/env bash
if [[ $# > 0 ]]; then
git commit -m "$@"
else
git commit -v
fi

View file

@ -1,16 +0,0 @@
#!/bin/bash
# Continue a rebase or cherry-pick in the event of conflicts.
if [[ -e .git/CHERRY_PICK_HEAD ]] ; then
exec git cherry-pick --continue "$@"
elif [[ -e .git/rebase-apply/applying ]] ; then
exec git rebase --continue "$@"
elif [[ -e .git/rebase-apply ]] ; then
exec git rebase --continue "$@"
elif [[ -e .git/rebase-merge ]] ; then
exec git rebase --continue "$@"
else
echo git-abort: unknown state
exit -1
fi

View file

@ -1,15 +0,0 @@
#!/bin/sh
set -e
if [ "$#" -lt 1 ]; then
echo "Error: Not enough arguments."
exit l
fi
# Create a new branch including any additional arguments.
git checkout -b "$@"
# Push the branch to origin, bypassing any Git hooks.
new_branch_name=$1
git push --no-verify -u origin "${new_branch_name}:opd-${new_branch_name}"

View file

@ -1,42 +0,0 @@
#!/usr/bin/env php
<?php
function extractBranchNamesFromInfo(string $branchInfo): array
{
$branchNames = array_map(function (string $branchInfo): string {
preg_match('/\s*((\w|-|\/)+)\s*/', $branchInfo, $matches);
return $matches[1] ?? '';
}, explode(PHP_EOL, $branchInfo));
return array_filter($branchNames);
}
function filterIgnoredBranches(array $branchNames): array
{
return array_filter($branchNames, function (string $branchName): bool {
return !in_array($branchName, ['develop', 'master', 'staging', 'production']);
});
}
$branchInfo = shell_exec('git branch -vv | grep ": gone]"');
# Return early if there are no branches to delete.
if ($branchInfo === NULL) {
return;
}
$branchNames = extractBranchNamesFromInfo($branchInfo);
$filteredBranchNames = filterIgnoredBranches($branchNames);
$currentBranch = exec('git rev-parse --abbrev-ref HEAD');
foreach ($filteredBranchNames as $branchName) {
if ($branchName == $currentBranch) {
echo "Cannot delete {$branchName} as it is the current branch.";
continue;
}
echo "Deleting {$branchName}...";
exec("git branch -D ${branchName}");
}

View file

@ -1,19 +0,0 @@
#!/usr/bin/env zsh
# Usage: instead of
#
# git rebase -i master
#
# run this:
#
# git master-to-main-wrapper rebase -i %BRANCH%
#
# It will replace the literal string `%BRANCH%` with "main" (preferred) or
# "master" depending on what the current repository uses.
command=$*
branchname=$(main-or-master-branch)
replaced_commands=$(echo $command | sed "s/%BRANCH%/$branchname/g")
# sh_glob ignores special meaning of parentheses so that fancy logs like this
# work: `git master-to-main-wrapper log --format='%w(78)%s%n%+b'`
zsh -c "setopt sh_glob; git ${replaced_commands}"

View file

@ -1,26 +0,0 @@
#!/bin/bash
set -e
ensure_is_published() {
[[ ! $is_published ]] && git publish
}
is_published() {
echo $(git upstream)
}
open_or_build_pull_request() {
type gh &>/dev/null
if [ $? -ne 0 ]; then
echo "Error: gh command not found."
exit 1
fi
# Load an existing PR, or create a new one.
gh pr view --web || gh pr create --assignee opdavies --web
}
ensure_is_published
open_or_build_pull_request

View file

@ -1,15 +0,0 @@
#!/usr/bin/env php
<?php
/**
* Usage: git publish
*/
$currentBranch = exec('git rev-parse --abbrev-ref HEAD');
if (in_array($currentBranch, ['develop', 'main', 'master', 'staging', 'production'])) {
print "Currently on ${currentBranch}. Aborting.";
exit(1);
}
exec("git push -u origin $currentBranch:opd-{$currentBranch}");

View file

@ -1,21 +0,0 @@
#!/usr/bin/env bash
# Usage: git up {branch} {remote}
set -e
if [[ $# < 1 ]]; then
echo "You must specify a branch name to update"
exit 1
fi
BRANCH=$1
REMOTE=${2:-origin}
git checkout ${BRANCH} && \
git fetch ${REMOTE} && \
echo && \
git sl ${BRANCH}..${REMOTE}/${BRANCH} && \
echo && \
git pull --quiet && \
git checkout -

View file

@ -1,28 +0,0 @@
#!/bin/bash
# The MIT License (MIT)
# Copyright (c) 2013 Alvin Abad
if [ $# -eq 0 ]; then
echo "Git wrapper script that can specify an ssh-key file
Usage:
git.sh -i ssh-key-file git-command
"
exit 1
fi
# remove temporary file on exit
trap 'rm -f /tmp/.git_ssh.$$' 0
if [ "$1" = "-i" ]; then
SSH_KEY=$2; shift; shift
echo "ssh -i $SSH_KEY \$@" > /tmp/.git_ssh.$$
chmod +x /tmp/.git_ssh.$$
export GIT_SSH=/tmp/.git_ssh.$$
fi
# in case the git command is repeated
[ "$1" = "git" ] && shift
# Run the git command
git "$@"

View file

@ -1,10 +0,0 @@
#!/bin/zsh
# Check if we should use the `main` or `master` branch for this repo.
# Prefer `main` to `master`.
if git show-ref --quiet origin/main || git rev-parse main &>/dev/null; then
echo main
else
echo master
fi

View file

@ -1,8 +0,0 @@
#!/usr/bin/env bash
if [[ -f "vendor/bin/pest" ]]; then
echo "pest"
exit 0
fi
echo "phpunit"

View file

@ -1,39 +0,0 @@
#!/bin/bash
# Quickly navigate between different directories using fzf and tmux sessions
# (Thanks, ThePrimeagen!).
#
# https://github.com/ThePrimeagen/.dotfiles/blob/master/bin/.local/bin/tmux-sessionizer
# https://frontendmasters.com/workshops/dev-productivity
if [[ $# -eq 1 ]]; then
selected=$1
else
# Get the session name from fuzzy-finding list of directories and generating a
# tmux-safe version.
selected=$(find ~/ ~/Code ~/Code/clients ~/Code/os ~/Code/Personal ~/Documents/Books ~/Documents/Talks/ -mindepth 1 -maxdepth 1 -type d -not -name ".*" | sort | fzf)
fi
if [[ -z $selected ]]; then
exit 0
fi
is_tmux_running=$(pgrep tmux)
selected_name=$(basename "$selected" | tr . -)
if [[ -z $TMUX ]] && [[ -z $is_tmux_running ]]; then
tmux new-session -s $selected_name -c $selected
exit 0
fi
# Create a new session if tmux does not already have a session matching the
# selected session name.
if ! tmux has-session -t $selected_name 2> /dev/null; then
tmux new-session -s $selected_name -c $selected -d
fi
if [[ -z $TMUX ]]; then
tmux attach-session -t $selected_name
else
tmux switch-client -t $selected_name
fi

View file

@ -1,38 +0,0 @@
#!/bin/bash
set -e
CONFIG_DIR="$HOME/.config/dotfiles"
DOTFILES_DIR="${DOTFILES_DIR:-$HOME/.dotfiles}"
PATH="${PATH}:${HOME}/.local/bin"
clone_or_update_dotfiles() {
if ! [[ -d "$DOTFILES_DIR" ]]; then
git clone "https://github.com/opdavies/dotfiles.git" "$DOTFILES_DIR"
else
git -C "$DOTFILES_DIR" pull
fi
}
create_config_dir() {
mkdir -p "${CONFIG_DIR}"
}
install_dependencies() {
ansible-galaxy install -r "${DOTFILES_DIR}/requirements.yml"
}
install_ansible() {
sudo apt-get -yqq update
sudo apt-get -yqq install python3-pip
pip install ansible --user
}
run_playbook() {
ansible-playbook --diff --extra-vars "@${CONFIG_DIR}/values.yaml" --vault-password-file=${CONFIG_DIR}/vault-password.txt "${DOTFILES_DIR}/main.yaml" "${@}"
}
clone_or_update_dotfiles
install_ansible
install_dependencies
run_playbook "${@}"

View file

@ -1,7 +0,0 @@
#!/usr/bin/env bash
# Use fzf to select a project to open with tmuxinator.
set -euo pipefail
tmuxinator list -n | tail -n +2 | fzf | xargs tmuxinator start

627
flake.lock generated Normal file
View file

@ -0,0 +1,627 @@
{
"nodes": {
"agenix": {
"inputs": {
"darwin": "darwin",
"home-manager": "home-manager",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems"
},
"locked": {
"lastModified": 1754433428,
"narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=",
"owner": "ryantm",
"repo": "agenix",
"rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d",
"type": "github"
},
"original": {
"owner": "ryantm",
"repo": "agenix",
"type": "github"
}
},
"bop-scripts": {
"flake": false,
"locked": {
"lastModified": 1756931648,
"narHash": "sha256-bfAmJ1IY0B6eNbJvoWkUMQ7Ya4ShrIoVSdQrnE/cn40=",
"owner": "breadonpenguins",
"repo": "scripts",
"rev": "d04bcbe63176e623e1ce8edc4c3840c506a28d96",
"type": "github"
},
"original": {
"owner": "breadonpenguins",
"repo": "scripts",
"type": "github"
}
},
"conf-vim": {
"flake": false,
"locked": {
"lastModified": 1507549264,
"narHash": "sha256-AjiTJsoim0BAnyfqk1IQzNsa6jhFM2+A66E7q9sJqz0=",
"owner": "tjdevries",
"repo": "conf.vim",
"rev": "a716df0fd5d7ba558c07dac2e07f05d5eba11afb",
"type": "github"
},
"original": {
"owner": "tjdevries",
"repo": "conf.vim",
"type": "github"
}
},
"darwin": {
"inputs": {
"nixpkgs": [
"agenix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1744478979,
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
"type": "github"
},
"original": {
"owner": "lnl7",
"ref": "master",
"repo": "nix-darwin",
"type": "github"
}
},
"devshell": {
"inputs": {
"nixpkgs": [
"git-repo-updater",
"nixpkgs"
]
},
"locked": {
"lastModified": 1741473158,
"narHash": "sha256-kWNaq6wQUbUMlPgw8Y+9/9wP0F8SHkjy24/mN3UAppg=",
"owner": "numtide",
"repo": "devshell",
"rev": "7c9e793ebe66bcba8292989a68c0419b737a22a0",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"disko": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1756733629,
"narHash": "sha256-dwWGlDhcO5SMIvMSTB4mjQ5Pvo2vtxvpIknhVnSz2I8=",
"owner": "nix-community",
"repo": "disko",
"rev": "a5c4f2ab72e3d1ab43e3e65aa421c6f2bd2e12a1",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"edit-alternate-vim": {
"flake": false,
"locked": {
"lastModified": 1635180789,
"narHash": "sha256-mEKnqYAhgrdxPRoKf4S4yYecdFIHGg8bDxpqPuC1+S4=",
"owner": "tjdevries",
"repo": "edit_alternate.vim",
"rev": "ef3019115d9bb7ffd691d2859eda213dd99e0b0a",
"type": "github"
},
"original": {
"owner": "tjdevries",
"repo": "edit_alternate.vim",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1756770412,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "4524271976b625a4a605beefd893f270620fd751",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"nur",
"nixpkgs"
]
},
"locked": {
"lastModified": 1733312601,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"git-repo-updater": {
"inputs": {
"devshell": "devshell",
"flake-parts": [
"flake-parts"
],
"import-tree": [
"import-tree"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1757018109,
"narHash": "sha256-KfRzBPOOM5cf8mFVeWjV7TGa3p+ul/flxnUdwGW4Sds=",
"ref": "refs/heads/main",
"rev": "63235768261976efe0d9c825e69c44fff8c80e5d",
"revCount": 1,
"type": "git",
"url": "https://code.oliverdavies.uk/opdavies/git-repo-updater"
},
"original": {
"type": "git",
"url": "https://code.oliverdavies.uk/opdavies/git-repo-updater"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"agenix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1745494811,
"narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"home-manager_2": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1756991914,
"narHash": "sha256-4ve/3ah5H/SpL2m3qmZ9GU+VinQYp2MN1G7GamimTds=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "b08f8737776f10920c330657bee8b95834b7a70f",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "master",
"repo": "home-manager",
"type": "github"
}
},
"import-tree": {
"locked": {
"lastModified": 1752730890,
"narHash": "sha256-GES8fapSLGz36MMPRVNkSUWXUTtqvGQNXHjRmRLfJUY=",
"owner": "vic",
"repo": "import-tree",
"rev": "6ebb8cb87987b20264c09296166543fd3761d274",
"type": "github"
},
"original": {
"owner": "vic",
"repo": "import-tree",
"type": "github"
}
},
"ixx": {
"inputs": {
"flake-utils": [
"nixvim",
"nuschtosSearch",
"flake-utils"
],
"nixpkgs": [
"nixvim",
"nuschtosSearch",
"nixpkgs"
]
},
"locked": {
"lastModified": 1754860581,
"narHash": "sha256-EM0IE63OHxXCOpDHXaTyHIOk2cNvMCGPqLt/IdtVxgk=",
"owner": "NuschtOS",
"repo": "ixx",
"rev": "babfe85a876162c4acc9ab6fb4483df88fa1f281",
"type": "github"
},
"original": {
"owner": "NuschtOS",
"ref": "v0.1.1",
"repo": "ixx",
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1756612744,
"narHash": "sha256-/glV6VAq8Va3ghIbmhET3S1dzkbZqicsk5h+FtvwiPE=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "3fe768e1f058961095b4a0d7a2ba15dc9736bdc6",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1756925795,
"narHash": "sha256-kUb5hehaikfUvoJDEc7ngiieX88TwWX/bBRX9Ar6Tac=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "ba6fab29768007e9f2657014a6e134637100c57d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1756787288,
"narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1754788789,
"narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "a73b9c743612e4244d865a2fdee11865283c04e6",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1751274312,
"narHash": "sha256-/bVBlRpECLVzjV19t5KMdMFWSwKLtb5RyXdjz3LJT+g=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "50ab793786d9de88ee30ec4e4c24fb4236fc2674",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": {
"inputs": {
"flake-parts": [
"flake-parts"
],
"nixpkgs": [
"nixpkgs"
],
"nuschtosSearch": "nuschtosSearch",
"systems": "systems_3"
},
"locked": {
"lastModified": 1756946299,
"narHash": "sha256-N4PjGA0rittpNZGscKPel+mr/dMcKF73j0yr4rbG3T0=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "63496f00c681b3e200bd17878a43ec68b7139a66",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixvim",
"type": "github"
}
},
"nur": {
"inputs": {
"flake-parts": "flake-parts_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1757050467,
"narHash": "sha256-Rps0Ga0g/TdY49rR2ZRBsdBYybSzPccEsaI9IvwuE98=",
"owner": "nix-community",
"repo": "NUR",
"rev": "985abf0197c75dd64c24691a7e5e0acf308d7f20",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"nuschtosSearch": {
"inputs": {
"flake-utils": "flake-utils",
"ixx": "ixx",
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1755555503,
"narHash": "sha256-WiOO7GUOsJ4/DoMy2IC5InnqRDSo2U11la48vCCIjjY=",
"owner": "NuschtOS",
"repo": "search",
"rev": "6f3efef888b92e6520f10eae15b86ff537e1d2ea",
"type": "github"
},
"original": {
"owner": "NuschtOS",
"repo": "search",
"type": "github"
}
},
"root": {
"inputs": {
"agenix": "agenix",
"bop-scripts": "bop-scripts",
"conf-vim": "conf-vim",
"disko": "disko",
"edit-alternate-vim": "edit-alternate-vim",
"flake-parts": "flake-parts",
"git-repo-updater": "git-repo-updater",
"home-manager": "home-manager_2",
"import-tree": "import-tree",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
"nixvim": "nixvim",
"nur": "nur",
"rwxrob-dot": "rwxrob-dot",
"standard-vim": "standard-vim",
"vim-heritage": "vim-heritage",
"vim-textobj-xmlattr": "vim-textobj-xmlattr",
"voidrice": "voidrice",
"zet": "zet"
}
},
"rwxrob-dot": {
"flake": false,
"locked": {
"lastModified": 1751898094,
"narHash": "sha256-kGpHL2l9p/yOtmG+AZvOb0Y5mH1d+Zoh2dd5N3Xjizc=",
"owner": "rwxrob",
"repo": "dot",
"rev": "90794c77061f270078e847af45c376610768c6e2",
"type": "github"
},
"original": {
"owner": "rwxrob",
"repo": "dot",
"type": "github"
}
},
"standard-vim": {
"flake": false,
"locked": {
"lastModified": 1539613748,
"narHash": "sha256-9VwkvV1Dv6cE4uDkPp36DozjWJOclDR883yDMYw000E=",
"owner": "tjdevries",
"repo": "standard.vim",
"rev": "b333ef9a9cf6cf66536deda017a542843613fa75",
"type": "github"
},
"original": {
"owner": "tjdevries",
"repo": "standard.vim",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"vim-heritage": {
"flake": false,
"locked": {
"lastModified": 1716350150,
"narHash": "sha256-YzqP2+Go8bW3heFyzzcS/91LrMkwjpZ89+ptrjjBKrM=",
"owner": "jessarcher",
"repo": "vim-heritage",
"rev": "574baeb0679681a710adce5110a0d8b2ae1c2637",
"type": "github"
},
"original": {
"owner": "jessarcher",
"repo": "vim-heritage",
"type": "github"
}
},
"vim-textobj-xmlattr": {
"flake": false,
"locked": {
"lastModified": 1464940962,
"narHash": "sha256-+91FVP95oh00flINdltqx6qJuijYo56tHIh3J098G2Q=",
"owner": "whatyouhide",
"repo": "vim-textobj-xmlattr",
"rev": "694a297f1d75fd527e87da9769f3c6519a87ebb1",
"type": "github"
},
"original": {
"owner": "whatyouhide",
"repo": "vim-textobj-xmlattr",
"type": "github"
}
},
"voidrice": {
"flake": false,
"locked": {
"lastModified": 1744355318,
"narHash": "sha256-9U1Do0w2oT5E6uZxSKoHAzbGbSLQRQlT65KcPGzwhW8=",
"owner": "lukesmithxyz",
"repo": "voidrice",
"rev": "f853f1884a8f0c244765192dc6f5a910a7e2b8e5",
"type": "github"
},
"original": {
"owner": "lukesmithxyz",
"repo": "voidrice",
"type": "github"
}
},
"zet": {
"flake": false,
"locked": {
"lastModified": 1758576585,
"narHash": "sha256-hWQE45nFaSN8agYMP8xt5kaUMfBXVj5k9zInZNs/xAI=",
"ref": "refs/heads/main",
"rev": "23505f6c31c7cc903e63621b52b5f92eea1facc5",
"revCount": 35,
"type": "git",
"url": "https://code.oliverdavies.uk/opdavies/zet"
},
"original": {
"type": "git",
"url": "https://code.oliverdavies.uk/opdavies/zet"
}
}
},
"root": "root",
"version": 7
}

106
flake.nix Normal file
View file

@ -0,0 +1,106 @@
{
inputs = {
agenix = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:ryantm/agenix";
};
bop-scripts = {
flake = false;
url = "github:breadonpenguins/scripts";
};
conf-vim = {
flake = false;
url = "github:tjdevries/conf.vim";
};
disko = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/disko";
};
edit-alternate-vim = {
flake = false;
url = "github:tjdevries/edit_alternate.vim";
};
flake-parts.url = "github:hercules-ci/flake-parts";
git-repo-updater = {
inputs.flake-parts.follows = "flake-parts";
inputs.import-tree.follows = "import-tree";
inputs.nixpkgs.follows = "nixpkgs";
url = "git+https://code.oliverdavies.uk/opdavies/git-repo-updater";
};
home-manager = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/home-manager/master";
};
import-tree.url = "github:vic/import-tree";
nix-index-database = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/nix-index-database";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixvim = {
inputs.flake-parts.follows = "flake-parts";
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/nixvim";
};
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nur = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:nix-community/NUR";
};
rwxrob-dot = {
flake = false;
url = "github:rwxrob/dot";
};
standard-vim = {
flake = false;
url = "github:tjdevries/standard.vim";
};
vim-heritage = {
flake = false;
url = "github:jessarcher/vim-heritage";
};
vim-textobj-xmlattr = {
flake = false;
url = "github:whatyouhide/vim-textobj-xmlattr";
};
voidrice = {
flake = false;
url = "github:lukesmithxyz/voidrice";
};
zet = {
flake = false;
url = "git+https://code.oliverdavies.uk/opdavies/zet";
};
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
flake = {
overlays = import ./overlays { inherit inputs; };
};
imports = [ (inputs.import-tree ./modules) ];
};
}

View file

@ -1,52 +0,0 @@
default_roles:
- alacritty
- awesome-wm
- cargo
- copyq
- ctop
- dconf
- debugger
- delta
- discord
- docker
- filezilla
- flameshot
- fonts
- fzf
- git
- github-cli
- github-desktop
- gnome-tweak-tools
- google-chrome
- htop
- jq
- kdenlive
- mysql-client
- neovim
- neovim-lsp
- neovim-packer
- notion-app
- npm
- obs-studio
- pdf-arranger
- platformsh-cli
- pocketcasts
- postman
- projects
- pulumi
- pv
- ripgrep
- skype
- slack
- ssh
- stylua
- teams
- tldr
- tmux
- tmuxinator
- todoist
- tree
- vlc
- zoom
- zsh
- zsh-antigen

View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
imports = [
./nixedo/email-filters.nix
];
home.packages = with pkgs; [
import-to-jellyfin
vic
yt-dlp
];
}

View file

@ -0,0 +1,45 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.nixedo.${name};
name = "email-filters";
in
{
options.nixedo.${name} = {
configFile = lib.mkOption {
default = "${config.xdg.userDirs.extraConfig.XDG_REPOS_DIR}/${name}/config.lua";
internal = true;
};
};
config = {
systemd.user = {
services.${name} = {
Install.WantedBy = [ "default.target" ];
Service = {
ExecStart = "${lib.getExe pkgs.imapfilter} -c ${cfg.configFile}";
Type = "oneshot";
};
Unit.Description = name;
};
timers.${name} = {
Install.WantedBy = [ "timers.target" ];
Timer = {
OnCalendar = "*-*-* 06..23:00/5";
Unit = "${name}.service";
};
Unit.Description = "Automatically runs email filters with imapfilter.";
};
};
};
}

View file

@ -0,0 +1,37 @@
{ config, pkgs, ... }:
{
programs = {
zsh.shellAliases =
let
inherit (config.xdg.userDirs) documents;
in
{
"wiki-push" =
"rsync -avzP ${documents}/wiki nixedo.oliverdavies.uk:${documents} --delete --delete-after";
};
};
home.packages = with pkgs; [
backup-websites
build-glove80
count-tags
create-script
get-tags
qrencode
mounter
move-firefox-screenshots
set-background
tag-release
time-until
timer
unmounter
update-all-git-repos
vic
];
xdg.configFile."pam-gnupg".text = ''
098EE055DAD2B9CB68154C6759DD38292D2273B6
1E21B58D69FFEFAD077F152A50FEA938A3413F50
'';
}

View file

@ -1,2 +0,0 @@
[localhost]
127.0.0.1 ansible_connection=local

102
hosts/common/default.nix Normal file
View file

@ -0,0 +1,102 @@
{
hostname,
inputs,
outputs,
pkgs,
self,
stateVersion,
system,
username,
...
}:
{
imports = [
./users
inputs.home-manager.nixosModules.home-manager
];
nix = {
settings = {
auto-optimise-store = true;
download-buffer-size = "104857600";
experimental-features = [
"nix-command"
"flakes"
];
warn-dirty = false;
};
};
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
environment.systemPackages = with pkgs; [
cryptsetup
fastfetch
mermaid-cli
mkcert
];
home-manager = {
backupFileExtension = "backup";
extraSpecialArgs = {
inherit
hostname
inputs
outputs
self
system
username
;
};
useGlobalPkgs = true;
useUserPackages = true;
users."${username}" = import ./home.nix;
};
nixpkgs.overlays = [
inputs.nur.overlays.default
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.stable-packages
];
nix.extraOptions = ''
trusted-users = root ${username}
'';
networking.hostName = hostname;
time.timeZone = "Europe/London";
i18n = {
defaultLocale = "en_GB.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "en_GB.UTF-8";
LC_IDENTIFICATION = "en_GB.UTF-8";
LC_MEASUREMENT = "en_GB.UTF-8";
LC_MONETARY = "en_GB.UTF-8";
LC_NAME = "en_GB.UTF-8";
LC_NUMERIC = "en_GB.UTF-8";
LC_PAPER = "en_GB.UTF-8";
LC_TELEPHONE = "en_GB.UTF-8";
LC_TIME = "en_GB.UTF-8";
};
};
console.keyMap = "uk";
security.sudo.wheelNeedsPassword = false;
system.stateVersion = stateVersion;
}

102
hosts/common/home.nix Normal file
View file

@ -0,0 +1,102 @@
{
config,
inputs,
outputs,
system,
...
}:
let
pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
outputs.overlays.additions
outputs.overlays.stable-packages
];
};
inherit (pkgs) lib;
inherit (config.xdg)
cacheHome
configHome
dataHome
stateHome
;
in
{
home.username = "opdavies";
home.homeDirectory = "/home/${config.home.username}";
home.packages = with pkgs; [
cachix
delta
entr
gcc
git
git-crypt
gnupg
inotify-tools
jq
killall
lua
mob
pv
simple-http-server
sshs
tldr
tree
tree-sitter
unzip
w3m
watchexec
wget
xclip
xdg-utils
zbar
];
programs.home-manager.enable = true;
home.sessionVariables = {
EDITOR = "nvim";
IMAPFILTER_HOME = "${configHome}/imapfilter";
LANG = "en_GB.UTF-8";
LC_ALL = "en_GB.UTF-8";
LC_CTYPE = "en_GB.UTF-8";
PASSWORD_STORE_DIR = "${dataHome}/pass";
PATH = lib.concatStringsSep ":" [
"$PATH"
"$HOME/go/bin"
"./vendor/bin"
"./node_modules/.bin"
];
PULUMI_SKIP_UPDATE_CHECK = "true";
W3M_DIR = "${stateHome}/w3m";
WGETRC = "${configHome}/wgetrc";
XDG_CONFIG_HOME = config.xdg.configHome;
XDG_DATA_HOME = dataHome;
XDG_STATE_HOME = stateHome;
};
xdg = {
configFile = {
"${config.home.sessionVariables.WGETRC}".text = ''
hsts-file = "${cacheHome}/wget-hsts"
'';
};
userDirs = {
enable = true;
extraConfig = {
XDG_REPOS_DIR = "${config.home.homeDirectory}/Code";
};
};
};
# Nicely reload system units when changing configs.
systemd.user.startServices = "sd-switch";
home.stateVersion = "22.05"; # Please read the comment before changing.
}

View file

@ -0,0 +1,5 @@
{
imports = [
./opdavies.nix
];
}

View file

@ -0,0 +1,7 @@
{ config, self, ... }:
{
users.users.opdavies = { };
home-manager.users.opdavies = import "${self}/home-manager/opdavies/${config.networking.hostName}.nix";
}

View file

@ -0,0 +1,51 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ inputs, pkgs, ... }:
{
imports = [
inputs.agenix.nixosModules.default
../common
./hardware-configuration.nix
./homelab.nix
./modules
./ports.nix
./secrets.nix
./services
../../users/opdavies.nix
];
# TODO: why didn't it work when adding this to jitsi.nix?
nixpkgs.config.permittedInsecurePackages = [
"jitsi-meet-1.0.8043"
];
services.logind.lidSwitchExternalPower = "ignore";
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
networking.networkmanager.enable = true;
users.users.opdavies.extraGroups = [ "media" ];
powerManagement.powertop.enable = true;
users.groups.media = { };
networking.firewall.allowedTCPPorts = [
80
443
];
environment.systemPackages = with pkgs; [
tree
vim
];
}

View file

@ -0,0 +1,54 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"xhci_pci"
"thunderbolt"
"nvme"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/40649879-4ee6-4668-8257-fe81a7773024";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/24B1-88CB";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s20f0u1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

21
hosts/nixedo/homelab.nix Normal file
View file

@ -0,0 +1,21 @@
{
homelab = {
enable = true;
cloudflared.tunnelId = "e1514105-327f-4984-974e-e2fbaca76466";
domain = "oliverdavies.uk";
services = {
audiobookshelf.enable = true;
home-assistant.enable = true;
homepage-dashboard.enable = true;
jitsi.enable = true;
paperless.enable = true;
peertube.enable = true;
tubearchivist.enable = true;
uptime-kuma.enable = true;
vaultwarden.enable = false;
};
};
}

View file

@ -0,0 +1,57 @@
{ config, ... }:
{
security.acme = {
acceptTerms = true;
certs =
let
domain = "oliverdavies.uk";
in
{
${domain} = {
inherit domain;
dnsProvider = "cloudflare";
email = "oliver@oliverdavies.uk";
environmentFile = config.age.secrets.cloudflare.path;
webroot = null;
extraDomainNames =
let
subdomains = [
"2020"
"audiobookshelf"
"bootstrap-with-tailwind"
"code"
"eric"
"florida-drupalcamp-tailwind-css"
"home"
"jellyfin"
"luke"
"mealie"
"nixedo"
"paperless"
"photos"
"phpsw-sculpin-demo"
"rebuilding-acquia"
"rebuilding-bartik"
"rebuilding-bristol-js"
"rebuilding-symfony"
"tailwindcss-demo"
"talking-drupal-tailwindcss"
"tubearchivist"
"uptime"
"vaultwarden"
"wp-tailwind"
"www"
"zet"
];
domains = map (subdomain: "${subdomain}.${domain}") subdomains;
in
domains;
};
};
};
}

View file

@ -0,0 +1,55 @@
{ config, lib, ... }:
with lib;
let
cfg = homelab.services.${service};
homelab = config.homelab;
service = "audiobookshelf";
in
{
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "audiobookshelf.${homelab.domain}";
type = types.str;
};
homepage.name = mkOption {
default = "Audiobookshelf";
type = types.str;
};
homepage.description = mkOption {
default = "Self-hosted audiobook and podcast server";
type = types.str;
};
homepage.icon = mkOption {
default = "audiobookshelf";
type = types.str;
};
homepage.category = mkOption {
default = "Media";
type = types.str;
};
};
config = mkIf cfg.enable {
services = {
${service}.enable = true;
nginx.virtualHosts.${cfg.url} = {
forceSSL = true;
useACMEHost = homelab.domain;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.${service}.port}";
recommendedProxySettings = true;
};
};
};
};
}

View file

@ -0,0 +1,12 @@
{ config, ... }:
{
services.cloudflared = {
enable = true;
tunnels."e1514105-327f-4984-974e-e2fbaca76466" = {
credentialsFile = config.age.secrets.cloudflared.path;
default = "http_status:404";
};
};
}

View file

@ -0,0 +1,6 @@
{
imports = [
# ./pi-hole.nix
./tubearchivist.nix
];
}

View file

@ -0,0 +1,40 @@
{ config, lib, ... }:
let
service = "pihole";
port = config.homelab.ports.${service};
in
{
virtualisation.oci-containers.containers.${service} = {
image = "pihole/pihole:latest";
environment = {
PIHOLE_DNS_1 = "8.8.8.8";
PIHOLE_DNS_2 = "8.8.4.4";
TZ = "Europe/London";
};
volumes = [
"/home/opdavies/pihole/etc-dnsmasq.d:/etc/dnsmasq.d:rw"
"/home/opdavies/pihole/etc-pihole:/etc/pihole:rw"
];
ports = [
"53:53/tcp"
"53:53/udp"
"67:67/udp"
"${port}:80/tcp"
];
log-driver = "journald";
extraOptions = [
"--cap-add=NET_ADMIN"
];
};
systemd.services."podman-pihole".serviceConfig = {
Restart = lib.mkOverride 90 "always";
RestartSec = lib.mkOverride 90 "1s";
};
}

View file

@ -0,0 +1,334 @@
{
config,
inputs,
lib,
pkgs,
...
}:
with lib;
let
cfg = homelab.services.${service};
service = "tubearchivist";
homelab = config.homelab;
port = homelab.ports.${service};
in
{
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "${service}.${homelab.domain}";
type = types.str;
};
homepage.name = mkOption {
default = "Tube Archivist";
type = types.str;
};
homepage.description = mkOption {
default = "Your self hosted YouTube media server";
type = types.str;
};
homepage.icon = mkOption {
default = "tube-archivist";
type = types.str;
};
homepage.category = mkOption {
default = "Media";
type = types.str;
};
};
config = mkIf cfg.enable {
virtualisation = {
oci-containers.backend = "podman";
podman.enable = true;
};
virtualisation.oci-containers.containers."archivist-es" = {
image = "bbilly1/tubearchivist-es";
environment = {
"ES_JAVA_OPTS" = "-Xms1g -Xmx1g";
"discovery.type" = "single-node";
"path.repo" = "/usr/share/elasticsearch/data/snapshot";
"xpack.security.enabled" = "true";
"cluster.routing.allocation.disk.watermark.flood_stage" = "98%";
"cluster.routing.allocation.disk.watermark.high" = "97%";
"cluster.routing.allocation.disk.watermark.low" = "95%";
};
environmentFiles = [
config.age.secrets.tubearchivist-env.path
];
volumes = [
"tubearchivist_es:/usr/share/elasticsearch/data:rw"
];
log-driver = "journald";
extraOptions = [
"--network-alias=archivist-es"
"--network=tubearchivist_default"
];
};
systemd.services."podman-archivist-es" = {
serviceConfig = {
Restart = mkOverride 90 "always";
RestartMaxDelaySec = mkOverride 90 "1m";
RestartSec = mkOverride 90 "100ms";
RestartSteps = mkOverride 90 9;
};
after = [
"podman-network-tubearchivist_default.service"
"podman-volume-tubearchivist_es.service"
];
requires = [
"podman-network-tubearchivist_default.service"
"podman-volume-tubearchivist_es.service"
];
partOf = [
"podman-compose-tubearchivist-root.target"
];
wantedBy = [
"podman-compose-tubearchivist-root.target"
];
};
virtualisation.oci-containers.containers."archivist-redis" = {
image = "redis";
volumes = [
"tubearchivist_redis:/data:rw"
];
dependsOn = [
"archivist-es"
];
log-driver = "journald";
extraOptions = [
"--network-alias=archivist-redis"
"--network=tubearchivist_default"
];
};
systemd.services."podman-archivist-redis" = {
serviceConfig = {
Restart = mkOverride 90 "always";
RestartMaxDelaySec = mkOverride 90 "1m";
RestartSec = mkOverride 90 "100ms";
RestartSteps = mkOverride 90 9;
};
after = [
"podman-network-tubearchivist_default.service"
"podman-volume-tubearchivist_redis.service"
];
requires = [
"podman-network-tubearchivist_default.service"
"podman-volume-tubearchivist_redis.service"
];
partOf = [
"podman-compose-tubearchivist-root.target"
];
wantedBy = [
"podman-compose-tubearchivist-root.target"
];
};
virtualisation.oci-containers.containers."tubearchivist" = {
image = "bbilly1/tubearchivist";
environment = {
"ES_URL" = "http://archivist-es:9200";
"HOST_GID" = "1000";
"HOST_UID" = "1000";
"REDIS_CON" = "redis://archivist-redis:6379";
"TA_HOST" = "https://${cfg.url}";
"TZ" = "Europe/London";
};
environmentFiles = [
config.age.secrets.tubearchivist-env.path
];
volumes = [
"/mnt/media/${service}/cache:/cache:rw"
"/mnt/media/${service}/media:/youtube:rw"
];
ports = [
"${toString port}:8000/tcp"
];
dependsOn = [
"archivist-es"
"archivist-redis"
];
log-driver = "journald";
extraOptions = [
"--health-cmd=[\"curl\", \"-f\", \"http://localhost:8000/health\"]"
"--health-interval=2m0s"
"--health-retries=3"
"--health-start-period=30s"
"--health-timeout=10s"
"--network-alias=tubearchivist"
"--network=tubearchivist_default"
];
};
systemd.services."podman-tubearchivist" = {
serviceConfig = {
Restart = mkOverride 90 "always";
RestartMaxDelaySec = mkOverride 90 "1m";
RestartSec = mkOverride 90 "100ms";
RestartSteps = mkOverride 90 9;
};
after = [
"podman-network-tubearchivist_default.service"
"podman-volume-tubearchivist_cache.service"
"podman-volume-tubearchivist_media.service"
];
requires = [
"podman-network-tubearchivist_default.service"
"podman-volume-tubearchivist_cache.service"
"podman-volume-tubearchivist_media.service"
];
partOf = [
"podman-compose-tubearchivist-root.target"
];
wantedBy = [
"podman-compose-tubearchivist-root.target"
];
};
systemd.services."podman-network-tubearchivist_default" = {
path = [ pkgs.podman ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStop = "podman network rm -f tubearchivist_default";
};
script = ''
podman network inspect tubearchivist_default || podman network create tubearchivist_default
'';
partOf = [ "podman-compose-tubearchivist-root.target" ];
wantedBy = [ "podman-compose-tubearchivist-root.target" ];
};
systemd.services."podman-volume-tubearchivist_cache" = {
path = [ pkgs.podman ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
};
script = ''
podman volume inspect tubearchivist_cache || podman volume create tubearchivist_cache
'';
partOf = [ "podman-compose-tubearchivist-root.target" ];
wantedBy = [ "podman-compose-tubearchivist-root.target" ];
};
systemd.services."podman-volume-tubearchivist_es" = {
path = [ pkgs.podman ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
};
script = ''
podman volume inspect tubearchivist_es || podman volume create tubearchivist_es
'';
partOf = [ "podman-compose-tubearchivist-root.target" ];
wantedBy = [ "podman-compose-tubearchivist-root.target" ];
};
systemd.services."podman-volume-tubearchivist_media" = {
path = [ pkgs.podman ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
};
script = ''
podman volume inspect tubearchivist_media || podman volume create tubearchivist_media
'';
partOf = [ "podman-compose-tubearchivist-root.target" ];
wantedBy = [ "podman-compose-tubearchivist-root.target" ];
};
systemd.services."podman-volume-tubearchivist_redis" = {
path = [ pkgs.podman ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
};
script = ''
podman volume inspect tubearchivist_redis || podman volume create tubearchivist_redis
'';
partOf = [ "podman-compose-tubearchivist-root.target" ];
wantedBy = [ "podman-compose-tubearchivist-root.target" ];
};
systemd.targets."podman-compose-tubearchivist-root" = {
unitConfig = {
Description = "Root target generated by compose2nix.";
};
wantedBy = [ "multi-user.target" ];
};
services.nginx.virtualHosts."${cfg.url}" = {
forceSSL = true;
useACMEHost = homelab.domain;
locations."/" = {
proxyPass = "http://localhost:${toString port}";
recommendedProxySettings = true;
proxyWebsockets = true;
extraConfig = ''
proxy_buffering off;
'';
};
};
age.secrets.tubearchivist-env.file = "${inputs.self}/secrets/tubearchivist-env.age";
};
}

View file

@ -0,0 +1,34 @@
{ lib, ... }:
with lib;
{
options.homelab = {
enable = mkEnableOption "Enable homelab services and configuration";
cloudflared.tunnelId = mkOption {
example = "00000000-0000-0000-0000-000000000000";
type = types.str;
};
domain = mkOption {
description = "The base domain to use for this homelab.";
type = types.str;
};
};
imports = [
./acme.nix
./audiobookshelf.nix
./cloudflared.nix
./containers
./forgejo.nix
./home-assistant.nix
./immich.nix
./jellyfin.nix
./jitsi.nix
./nginx
./paperless.nix
./peertube.nix
];
}

View file

@ -0,0 +1,26 @@
{ config, ... }:
{
services.forgejo = {
enable = true;
stateDir = "/var/www/forgejo";
settings = {
server = {
DOMAIN = "code.oliverdavies.uk";
LANDING_PAGE = "explore";
ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}";
SSH_DOMAIN = "ssh.oliverdavies.uk";
};
service.DISABLE_REGISTRATION = true;
ui.DEFAULT_THEME = "forgejo-auto";
};
};
services.cloudflared.tunnels.${config.homelab.cloudflared.tunnelId}.ingress = {
"${config.services.forgejo.settings.server.DOMAIN}" =
"http://localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}";
};
}

View file

@ -0,0 +1,97 @@
{ config, lib, ... }:
with lib;
let
cfg = homelab.services.${service};
homelab = config.homelab;
service = "home-assistant";
in
{
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "home.${homelab.domain}";
type = types.str;
};
homepage.name = mkOption {
default = "Home Assisant";
type = types.str;
};
homepage.description = mkOption {
default = "Open source home automation that puts local control and privacy first.";
type = types.str;
};
homepage.icon = mkOption {
default = "home-assistant";
type = types.str;
};
homepage.category = mkOption {
default = "Services";
type = types.str;
};
};
config = mkIf cfg.enable {
services = {
home-assistant = {
enable = true;
config = {
external_url = "https://home.${homelab.domain}";
name = "Home";
time_zone = "Europe/London";
unit_system = "metric";
http = {
trusted_proxies = [
"127.0.0.1"
"::1"
];
use_x_forwarded_for = true;
};
mobile_app = { };
# sia = { };
};
extraComponents = [
"default_config"
"elgato"
"hive"
"met"
"mobile_app"
# "sia"
"tplink"
"tplink_tapo"
"weather"
"webostv"
"wiz"
];
extraPackages =
python3Packages: with python3Packages; [
setuptools
];
openFirewall = true;
};
nginx.virtualHosts."${cfg.url}" = {
forceSSL = true;
useACMEHost = homelab.domain;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.${service}.config.http.server_port}";
proxyWebsockets = true;
recommendedProxySettings = true;
};
};
};
};
}

View file

@ -0,0 +1,25 @@
{ config, pkgs, ... }:
{
services.immich = {
enable = true;
group = "media";
mediaLocation = "/mnt/media/immich";
};
services.nginx.virtualHosts."photos.oliverdavies.uk" = {
forceSSL = true;
useACMEHost = "oliverdavies.uk";
locations."/" = {
proxyPass = "http://localhost:${toString config.services.immich.port}";
proxyWebsockets = true;
recommendedProxySettings = true;
};
};
environment.systemPackages = with pkgs; [
immich-cli
immich-go
];
}

View file

@ -0,0 +1,23 @@
{
services.jellyfin = {
enable = true;
configDir = "/mnt/media/jellyfin";
group = "media";
openFirewall = true;
};
services.nginx.virtualHosts."jellyfin.oliverdavies.uk" = {
forceSSL = true;
useACMEHost = "oliverdavies.uk";
locations."/" = {
proxyPass = "http://localhost:8096";
recommendedProxySettings = true;
extraConfig = ''
proxy_buffering off;
'';
};
};
}

View file

@ -0,0 +1,41 @@
{ config, lib, ... }:
let
cfg = config.homelab.services.${service};
homelab = config.homelab;
service = "jitsi";
inherit (lib) mkEnableOption mkOption types;
in
{
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "meet.${homelab.domain}";
type = types.str;
};
};
config = lib.mkIf cfg.enable {
services = {
jitsi-meet = {
enable = false;
hostName = cfg.url;
secureDomain.enable = true;
};
nginx.virtualHosts.${cfg.url} = {
enableACME = false;
forceSSL = false;
};
cloudflared.tunnels.${homelab.cloudflared.tunnelId}.ingress = {
# TODO: is this the correct port?
${cfg.url} = "http://localhost:5280";
};
};
};
}

View file

@ -0,0 +1,55 @@
{ config, ... }:
let
sites = import ./sites.nix { ports = config.homelab.ports; };
in
{
services = {
nginx = {
enable = true;
virtualHosts = builtins.listToAttrs (
map (site: {
name = site.url;
value = {
root = site.root;
listen = [
{
addr = "localhost";
port = site.port;
}
];
locations."/".tryFiles = "$uri $uri/index.html =404";
extraConfig = builtins.concatStringsSep "\n\n" [
site.extraConfig or ""
''
port_in_redirect off;
# Remove trailing slashes.
rewrite ^/(.*)/$ /$1 permanent;
''
];
};
}) sites
);
};
cloudflared.tunnels."e1514105-327f-4984-974e-e2fbaca76466" = {
ingress = builtins.listToAttrs (
map (site: {
name = site.url;
value = "http://localhost:${toString site.port}";
}) sites
);
};
};
users.users.${config.services.nginx.user}.extraGroups = [ "acme" ];
imports = [ ./www.oliverdavies.uk ];
}

View file

@ -0,0 +1,51 @@
{ ports }:
let
mkSite =
name: overrides:
let
root = "/var/www/vhosts/${name}" + (overrides.rootSuffix or "");
port = ports."nginx-${name}";
url = "${name}.oliverdavies.uk";
in
{ inherit port root url; } // overrides;
sites = [
(mkSite "books" {})
(mkSite "eric" {
rootSuffix = "/public";
extraConfig = ''
add_header X-Robots-Tag "noindex, nofollow";
'';
})
(mkSite "examples" {})
]
++
map
(
domain:
mkSite domain {
extraConfig = ''
add_header X-Robots-Tag "noindex, nofollow";
'';
}
)
[
"bootstrap-with-tailwind"
"florida-drupalcamp-tailwind-css"
"luke"
"phpsw-sculpin-demo"
"rebuilding-acquia"
"rebuilding-bartik"
"rebuilding-bristol-js"
"rebuilding-symfony"
"tailwindcss-demo"
"talking-drupal-tailwindcss"
"wp-tailwind"
"zet"
];
in
sites

View file

@ -0,0 +1,89 @@
{ config, ... }:
let
ports = config.homelab.ports;
port = ports.nginx-website-sculpin;
redirects = builtins.concatStringsSep "\n" (
map (r: "rewrite ^${r.from}/?$ ${r.to} redirect;") (import ./redirects.nix)
);
tome = {
root = "/var/www/vhosts/website-tome";
paths = [
"archive"
"automated-testing"
"core"
"daily/.+"
"examples"
"homelab"
"podcast"
"rss/bb.xml"
"rss/daily.xml"
"sites/default/files"
"testing"
"themes/custom/opdavies"
];
port = ports.nginx-website-tome;
};
tomeLocations = builtins.listToAttrs (
map (path: {
name = "~ ^/${path}";
value = {
root = tome.root;
tryFiles = "$uri $uri.html $uri/index.html =404";
};
}) tome.paths
);
in
{
services = {
nginx.virtualHosts = {
"www.oliverdavies.uk" = {
root = "/var/www/vhosts/website-sculpin";
listen = [
{
inherit port;
addr = "localhost";
}
];
locations = tomeLocations // {
"/".tryFiles = "$uri $uri.html $uri/index.html =404";
};
extraConfig = ''
port_in_redirect off;
# Remove trailing slashes.
rewrite ^/(.*)/$ /$1 permanent;
error_page 404 /404;
rewrite ^/talks/archive/?$ /talks permanent;
rewrite ^/talks/(.*)$ /presentations/$1 permanent;
rewrite ^/talks/?$ /presentations permanent;
${redirects}
'';
};
"oliverdavies.uk" = {
forceSSL = true;
globalRedirect = "www.oliverdavies.uk";
useACMEHost = "oliverdavies.uk";
};
};
cloudflared.tunnels."e1514105-327f-4984-974e-e2fbaca76466".ingress = {
"oliverdavies.uk" = "http://localhost:${toString port}";
"www.oliverdavies.uk" = "http://localhost:${toString port}";
};
};
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,60 @@
{ config, lib, ... }:
with lib;
let
cfg = homelab.services.paperless;
homelab = config.homelab;
service = "paperless";
in
{
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "${service}.${homelab.domain}";
type = types.str;
};
homepage.name = mkOption {
default = "Paperless-ngx";
type = types.str;
};
homepage.description = mkOption {
default = "Document management system";
type = types.str;
};
homepage.icon = mkOption {
default = "paperless";
type = types.str;
};
homepage.category = mkOption {
default = "Services";
type = types.str;
};
};
config = mkIf cfg.enable {
services = {
${service} = {
enable = true;
dataDir = "/mnt/media/${service}";
domain = "https://${cfg.url}";
};
nginx.virtualHosts."${cfg.url}" = {
forceSSL = true;
useACMEHost = homelab.domain;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.${service}.port}";
recommendedProxySettings = true;
};
};
};
};
}

View file

@ -0,0 +1,88 @@
{
config,
inputs,
lib,
...
}:
let
inherit (lib)
mkEnableOption
mkIf
mkOption
types
;
cfg = homelab.services.${service};
homelab = config.homelab;
service = "peertube";
in
{
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "videos.${homelab.domain}";
type = types.str;
};
homepage.name = mkOption {
default = "Peertube";
type = types.str;
};
homepage.description = mkOption {
default = "A free and open-source, decentralized, ActivityPub federated video platform";
type = types.str;
};
homepage.icon = mkOption {
default = "peertube";
type = types.str;
};
homepage.category = mkOption {
default = "Media";
type = types.str;
};
};
config = mkIf cfg.enable {
services = {
${service} = {
enable = true;
configureNginx = true;
enableWebHttps = false;
localDomain = cfg.url;
database = {
createLocally = true;
};
redis = {
createLocally = true;
enableUnixSocket = true;
};
secrets.secretsFile = config.age.secrets.peertube-env.path;
settings = {
webserver = {
hostname = config.services.${service}.localDomain;
port = lib.mkForce 443;
};
};
};
cloudflared.tunnels.${homelab.cloudflared.tunnelId}.ingress = {
${cfg.url} = "http://localhost:${toString config.services.${service}.listenWeb}";
};
};
age.secrets."${service}-env" = {
file = "${inputs.self}/secrets/${service}-env.age";
owner = config.services.${service}.user;
};
};
}

38
hosts/nixedo/ports.nix Normal file
View file

@ -0,0 +1,38 @@
{ lib, ... }:
let
inherit (lib) mkOption types;
in
{
options.homelab.ports = mkOption {
internal = true;
type = types.attrsOf types.port;
};
config.homelab.ports = {
homepage-dashboard = 8097;
mealie = 9001;
pihole = 8082;
tubearchivist = 8099;
vaultwarden = 8022;
nginx-website-sculpin = 8095;
nginx-website-tome = 8098;
nginx-books = 9002;
nginx-bootstrap-with-tailwind = 8081;
nginx-eric = 8084;
nginx-examples = 9003;
nginx-florida-drupalcamp-tailwind-css = 8083;
nginx-luke = 8094;
nginx-phpsw-sculpin-demo = 8085;
nginx-rebuilding-acquia = 8086;
nginx-rebuilding-bartik = 8087;
nginx-rebuilding-bristol-js = 8088;
nginx-rebuilding-symfony = 8089;
nginx-tailwindcss-demo = 8090;
nginx-talking-drupal-tailwindcss = 8093;
nginx-wp-tailwind = 8091;
nginx-zet = 8092;
};
}

6
hosts/nixedo/secrets.nix Normal file
View file

@ -0,0 +1,6 @@
{
age.secrets = {
cloudflare.file = ../../secrets/cloudflare.age;
cloudflared.file = ../../secrets/cloudflared-credentials.age;
};
}

View file

@ -0,0 +1,5 @@
{
imports = [
./tubearchivist.nix
];
}

View file

@ -0,0 +1,50 @@
{
config,
inputs,
pkgs,
...
}:
{
imports = [
./homepage
./mastodon.nix
./mealie.nix
./samba.nix
./uptime-kuma.nix
./vaultwarden.nix
];
services = {
postgresqlBackup.enable = true;
};
services.gitea-actions-runner.instances.default = {
enable = true;
hostPackages = with pkgs; [
bash
coreutils
curl
gawk
gitMinimal
gnused
jq
nix
nodejs
wget
];
labels = [
"nixos:host"
];
name = config.networking.hostName;
tokenFile = config.age.secrets.forgejo-runner-token.path;
url = config.services.forgejo.settings.server.ROOT_URL;
};
age.secrets = {
forgejo-runner-token.file = "${inputs.self}/secrets/forgejo-runner-token.age";
};
}

View file

@ -0,0 +1,63 @@
{ config, lib, ... }:
with lib;
let
cfg = homelab.services.${service};
homelab = config.homelab;
service = "homepage-dashboard";
in
{
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "${config.networking.hostName}.${homelab.domain}";
type = types.str;
};
};
config = mkIf cfg.enable {
services = {
${service} = {
enable = true;
listenPort = homelab.ports.${service};
openFirewall = true;
customCSS = ''
#information-widgets {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
div#footer {
display: none;
}
.services-group {
margin-bottom: 3rem;
}
'';
services = (import ./services.nix { inherit config lib; });
settings = {
headerStyle = "clean";
hideVersion = "true";
layout = (import ./layout.nix);
statusStyle = "dot";
};
};
glances.enable = true;
nginx.virtualHosts.${cfg.url} = {
forceSSL = true;
useACMEHost = homelab.domain;
locations."/".proxyPass =
"http://localhost:${toString config.services.homepage-dashboard.listenPort}";
};
};
};
}

View file

@ -0,0 +1,57 @@
{ config }:
{
Glances =
let
port = toString config.services.glances.port;
in
[
{
Info = {
widget = {
type = "glances";
url = "http://localhost:${port}";
metric = "info";
chart = false;
version = 4;
};
};
}
{
"CPU Temp" = {
widget = {
type = "glances";
url = "http://localhost:${port}";
metric = "sensor:Package id 0";
chart = false;
version = 4;
};
};
}
{
Processes = {
widget = {
type = "glances";
url = "http://localhost:${port}";
metric = "process";
chart = false;
version = 4;
};
};
}
{
Network = {
widget = {
type = "glances";
url = "http://localhost:${port}";
metric = "network:enp0s20f0u1";
chart = false;
version = 4;
};
};
}
];
}

View file

@ -0,0 +1,23 @@
[
{
Glances = {
columns = 4;
header = false;
style = "row";
};
}
{
Media = {
header = true;
style = "column";
};
}
{
Services = {
header = true;
style = "column";
};
}
]

View file

@ -0,0 +1,32 @@
{ config, lib }:
with lib;
let
homelab = config.homelab.services;
homepageCategories = [
"Media"
"Services"
];
homepageServices =
category:
(attrsets.filterAttrs (
name: value: value ? homepage && value.homepage.category == category
) homelab);
services = lists.forEach homepageCategories (cat: {
"${cat}" =
lib.lists.forEach (lib.attrsets.mapAttrsToList (name: value: name) (homepageServices "${cat}"))
(x: {
"${homelab.${x}.homepage.name}" = {
icon = homelab.${x}.homepage.icon;
description = homelab.${x}.homepage.description;
href = "https://${homelab.${x}.url}";
siteMonitor = "https://${homelab.${x}.url}";
};
});
});
in
services ++ [ (import ./glances.nix { inherit config; }) ]

View file

@ -0,0 +1,84 @@
{ config, lib, ... }:
with lib;
let
cfg = config.homelab.services.${service};
domain = "oliverdavies.uk";
service = "mastodon";
in
{
options.homelab.services.${service} = {
url = mkOption {
default = "social.${domain}";
internal = true;
type = types.str;
};
};
config = {
services = {
${service} = {
enable = false;
configureNginx = false;
localDomain = domain;
streamingProcesses = 3;
extraConfig = {
SINGLE_USER_MODE = "true";
WEB_DOMAIN = cfg.url;
};
smtp = {
fromAddress = "social@${domain}";
};
};
cloudflared.tunnels.${config.homelab.cloudflared.tunnelId} = {
ingress = {
"${cfg.url}" = "http://localhost";
};
};
nginx = {
upstreams.mastodon-streaming = {
extraConfig = ''
least_conn;
'';
servers = builtins.listToAttrs (
map (i: {
name = "unix:/run/mastodon-streaming/streaming-${toString i}.socket";
value = { };
}) (range 1 config.services.mastodon.streamingProcesses)
);
};
virtualHosts."social.oliverdavies.uk" = {
root = "${config.services.mastodon.package}/public/";
locations = {
"/".tryFiles = "$uri @proxy";
"/api/v1/streaming/" = {
proxyPass = "http://mastodon-streaming";
proxyWebsockets = true;
};
"/system/".alias = "/var/lib/mastodon/public-system/";
"@proxy" = {
proxyPass = "http://unix:/run/mastodon-web/web.socket";
proxyWebsockets = true;
};
};
extraConfig = ''
client_max_body_size 100m;
'';
};
};
};
};
}

View file

@ -0,0 +1,27 @@
{ config, pkgs, ... }:
let
ports = config.homelab.ports;
in
{
services.mealie = {
enable = true;
package = pkgs.stable.mealie;
database.createLocally = true;
port = ports.mealie;
settings.ALLOW_SIGNUP = "false";
};
services.nginx.virtualHosts."mealie.oliverdavies.uk" = {
forceSSL = true;
useACMEHost = "oliverdavies.uk";
locations."/" = {
proxyPass = "http://localhost:${toString config.services.mealie.port}";
recommendedProxySettings = true;
};
};
}

View file

@ -0,0 +1,28 @@
{
services.samba = {
enable = true;
openFirewall = true;
settings = {
home = {
path = "/home/opdavies";
browseable = true;
writable = true;
"valid users" = [ "opdavies" ];
"force group" = "media";
"create mask" = "0660";
"directory mask" = "0770";
};
media = {
path = "/mnt/media";
browseable = true;
writable = true;
"valid users" = [ "opdavies" ];
"force group" = "media";
"create mask" = "0660";
"directory mask" = "0770";
};
};
};
}

View file

@ -0,0 +1,55 @@
{ config, lib, ... }:
with lib;
let
cfg = homelab.services.${service};
homelab = config.homelab;
service = "uptime-kuma";
in
{
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "uptime.${homelab.domain}";
type = types.str;
};
homepage.name = mkOption {
default = "Uptime Kuma";
type = types.str;
};
homepage.description = mkOption {
default = "A fancy self-hosted monitoring tool";
type = types.str;
};
homepage.icon = mkOption {
default = "uptime-kuma";
type = types.str;
};
homepage.category = mkOption {
default = "Services";
type = types.str;
};
};
config = mkIf cfg.enable {
services = {
${service}.enable = true;
nginx.virtualHosts.${cfg.url} = {
forceSSL = true;
useACMEHost = homelab.domain;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.${service}.settings.PORT}";
recommendedProxySettings = true;
};
};
};
};
}

View file

@ -0,0 +1,53 @@
{
config,
inputs,
lib,
...
}:
with lib;
let
cfg = homelab.services.${service};
homelab = config.homelab;
service = "vaultwarden";
in
{
options.homelab.services.${service} = {
enable = mkEnableOption "Enable ${service}";
url = mkOption {
default = "${service}.${homelab.domain}";
type = types.str;
};
};
config = mkIf cfg.enable {
services = {
${service} = {
enable = true;
environmentFile = config.age.secrets.vaultwarden-env.path;
config = {
DOMAIN = "https://${cfg.url}";
ROCKET_ADDRESS = "127.0.0.1";
ROCKET_PORT = homelab.ports.${service};
SIGNUPS_ALLOWED = false;
};
};
nginx.virtualHosts.${cfg.url} = {
forceSSL = true;
useACMEHost = homelab.domain;
locations."/" = {
proxyPass = "http://localhost:${toString config.services.${service}.config.ROCKET_PORT}";
recommendedProxySettings = true;
};
};
};
age.secrets.vaultwarden-env.file = "${inputs.self}/secrets/vaultwarden-env.age";
};
}

View file

@ -0,0 +1,98 @@
{ inputs, pkgs, ... }:
{
imports = [
inputs.agenix.nixosModules.default
inputs.nixos-hardware.nixosModules.common-gpu-intel
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
../common
./hardware-configuration.nix
./cron.nix
./neomutt.nix
./newsboat
./secrets.nix
./xserver.nix
../../users/opdavies.nix
];
services = {
auto-cpufreq.enable = true;
geoclue2.enable = true;
gvfs.enable = true;
power-profiles-daemon.enable = false;
printing.enable = true;
pulseaudio.enable = false;
thermald.enable = true;
throttled.enable = true;
upower.enable = true;
};
boot = {
loader = {
systemd-boot.enable = true;
systemd-boot.configurationLimit = 10;
efi.canTouchEfiVariables = true;
};
};
systemd.settings.Manager = {
DefaultTimeoutStopSec = "10s";
};
networking.networkmanager.enable = true;
networking.hosts = {
"192.168.1.116" = [
"home.oliverdavies.uk"
"jellyfin.oliverdavies.uk"
"nixedo.oliverdavies.uk"
"paperless.oliverdavies.uk"
"photos.oliverdavies.uk"
"ssh.oliverdavies.uk"
"tubearchivist.oliverdavies.uk"
];
};
security = {
polkit.enable = true;
rtkit.enable = true;
};
environment.systemPackages = with pkgs; [
abook
acpi
arandr
brightnessctl
cdrkit
cpufrequtils
dvdbackup
dvdplusrwtools
ffmpegthumbnailer
gimp3
gtypist
hunspellDicts.en-gb-large
isync
kdePackages.kdenlive
kdePackages.okular
libnotify
libreoffice
meslo-lg
obs-studio
pam_gnupg
pamixer
pavucontrol
peek
pmutils
shotwell
stable.gscan2pdf
sxiv
ttyper
xcape
xsel
yt-dlp
];
}

12
hosts/t480/cron.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
services.cron = {
enable = true;
systemCronJobs = [
"*/15 * * * * opdavies ${pkgs.imapfilter}/bin/imapfilter -c ~/Code/personal/email-filters/config.lua"
"0 8,20 * * * opdavies ${pkgs.isync}/bin/mbsync -a"
];
};
}

View file

@ -0,0 +1,53 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/34bd5f2e-8ccf-4d5f-876c-9d7ea84c44f0";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/B8BC-688D";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

7
hosts/t480/neomutt.nix Normal file
View file

@ -0,0 +1,7 @@
{
home-manager.users.opdavies.programs.neomutt = {
enable = true;
vimKeys = true;
};
}

View file

@ -0,0 +1,30 @@
{
home-manager.users.opdavies.programs.newsboat = {
enable = true;
extraConfig = ''
bind-key j down
bind-key k up
bind-key j next articlelist
bind-key k prev articlelist
bind-key J next-feed articlelist
bind-key K prev-feed articlelist
bind-key g home
bind-key G end
bind-key d pagedown
bind-key u pageup
bind-key a toggle-article-read
bind-key n next-unread
bind-key N prev-unread
bind-key x pb-delete
color info white black bold
'';
urls = import ./urls.nix;
};
}

View file

@ -0,0 +1,298 @@
[
{ url = "https://www.reddit.com/r/nginx/new/.rss"; }
{ url = "https://www.reddit.com/r/devops/.rss"; }
{ url = "https://medium.com/feed/@bdfinst"; }
{ url = "https://blog.system76.com/rss"; }
{ url = "https://medium.com/feed/@codemonkeymike"; }
{ url = "https://www.reddit.com/r/devops/new/.rss"; }
{ url = "https://www.reddit.com/r/sysadmin/.rss"; }
{
url = "https://www.carlpullein.com/blog?format=RSS";
title = "Carl Pullein";
tags = [ "Productivity" ];
}
{ url = "https://feeds.feedburner.com/Faildesk"; }
{ url = "https://syndication.thedailywtf.com/TheDailyWtf"; }
{ url = "https://www.sherdog.com/rss/videos2.xml"; }
{
url = "https://www.reddit.com/r/MMA/.rss";
tags = [ "MMA" ];
}
{
url = "https://mmaweekly.com/feed/rss";
tags = [ "MMA" ];
}
{
url = "https://www.sherdog.com/rss/news2.xml";
tags = [ "MMA" ];
}
{
url = "https://www.sherdog.com/rss/articles2.xml";
tags = [ "MMA" ];
}
{
url = "https://www.ufc.com/rss/news";
tags = [ "MMA" ];
}
{ url = "https://www.theregister.co.uk/headlines.atom"; }
{
url = "https://www.rbs6nations.com/en/RssLatestNews.xml";
tags = [ "Rugby" ];
}
{
url = "https://feeds.feedburner.com/rugbydump";
tags = [ "Rugby" ];
}
{
url = "https://www.telegraph.co.uk/sport/rugbyunion/rss";
tags = [ "Rugby" ];
}
{ url = "https://code.facebook.com/posts/rss"; }
{ url = "https://nginx.com/feed/rss"; }
{
url = "https://www.lornajane.net/feed";
tags = [ "Software" ];
}
{
url = "https://nginx.org/index.rss";
tags = [ "Software" ];
}
{ url = "https://www.engadget.com/rss.xml"; }
{ url = "https://rss.slashdot.org/Slashdot/slashdotIt"; }
{ url = "https://lwn.net/headlines/newrss"; }
{ url = "https://rss.slashdot.org/Slashdot/slashdotLinux"; }
{
url = "https://blog.sebastian-daschner.com/feeds/rss";
title = "Sebastian Daschner";
}
{ url = "https://www.reddit.com/r/linux/.rss"; }
{ url = "https://githubengineering.com/atom.xml"; }
{ url = "https://rss.slashdot.org/Slashdot/slashdotDevelopers"; }
{ url = "https://www.alistapart.com/rss.xml"; }
{ url = "https://www.christitus.com/index.xml"; }
{ url = "https://www.freeagentcentral.com/feed.rss"; }
{ url = "https://akrabat.com/feed Software"; }
{ url = "https://jasonmccreary.me/feed.atom"; }
{ url = "https://martinfowler.com/bliki/bliki.atom"; }
{ url = "https://lornajane.net/feed"; }
{ url = "https://christoph-rumpel.com/feed.xml"; }
{ url = "https://gdstechnology.blog.gov.uk/feed/atom"; }
{ url = "https://weierophinney.net/matthew/feeds/index.rss2"; }
{ url = "https://stitcher.io/rss"; }
{ url = "https://www.reddit.com/r/css.rss"; }
{ url = "https://www.reddit.com/r/PHP/.rss"; }
{ url = "https://whateverthing.com/atom.xml"; }
{ url = "https://mnapoli.fr/atom.xml"; }
{ url = "https://www.epicweb.dev/rss.xml?ck_subscriber_id=2498091571"; }
{ url = "https://dev.to/feed"; }
{ url = "https://localheinz.com/feed.xml"; }
{ url = "https://www.ben-morris.com/feed"; }
{ url = "https://www.jbrains.ca/rss"; }
{ url = "https://blog.thecodewhisperer.com/rss"; }
{ url = "https://odan.github.io/feed.xml"; }
{ url = "https://feeds.feedburner.com/symfony/blog"; }
{ url = "https://www.alwaysagileconsulting.com/feed"; }
{ url = "https://blog.sensiolabs.com/feed"; }
{ url = "https://pascalbaljetmedia.com/rss"; }
{ url = "https://tighten.co/blog/feed.atom"; }
{ url = "https://ryangjchandler.co.uk/feed"; }
{ url = "https://jnsgr.uk/posts/index.xml"; }
{ url = "https://timacdonald.me/feed.xml"; }
{ url = "https://phppot.com/feed"; }
{ url = "https://howtocodewell.libsyn.com/rss"; }
{ url = "https://ctankersley.com/atom.xml"; }
{ url = "https://blog.wyrihaximus.net/atom.xml"; }
{ url = "https://dotfyle.com/this-week-in-neovim/rss.xml"; }
{ url = "https://paul-m-jones.com/feed"; }
{ url = "https://www.tomasvotruba.cz/rss.xml"; }
{ url = "https://www.reddit.com/r/git/.rss"; }
{ url = "https://www.daveismyname.com/feed"; }
{
url = "https://murze.be/feed/php";
title = "freek.dev";
tags = [
"PHP"
"Laravel"
"Software"
];
}
{ url = "https://nikic.github.io/rss.xml"; }
{
url = "https://drupal.org/planet/rss.xml";
tags = [ "Drupal" ];
}
{ url = "https://www.bram.us/feed"; }
{ url = "https://feeds.feedburner.com/GiantRobotsSmashingIntoOtherGiantRobots"; }
{ url = "https://murze.be/feed/originals"; }
{ url = "https://www.patkua.com/feed"; }
{ url = "https://www.benjystanton.co.uk/feed.xml"; }
{
url = "https://drupal.org/security/rss.xml";
tags = [ "Drupal" ];
}
{
url = "https://uk.indeed.com/rss?q=symfony&l=np18";
tags = [ "Jobs" ];
}
{
url = "https://uk.indeed.com/rss?q=php&l=np18";
tags = [ "Jobs" ];
}
{
url = "https://jobs.drupal.org/all-jobs/feed";
tags = [ "Jobs" ];
}
{
url = "https://www.reed.co.uk/jobs/rss/np18?source=rss&keywords=drupal&salaryfrom=50000&sortby=DisplayDate";
tags = [ "Jobs" ];
}
{
url = "https://www.reed.co.uk/jobs/rss/np18?source=rss&keywords=php&salaryfrom=50000&sortby=DisplayDate";
tags = [ "Jobs" ];
}
{
url = "https://uk.indeed.com/rss?q=drupal&l=np18";
tags = [ "Jobs" ];
}
{
url = "https://www.reed.co.uk/jobs/rss/np18?source=rss&keywords=symfony&salaryfrom=50000&sortby=DisplayDate";
tags = [ "Jobs" ];
}
{ url = "https://emilywebber.co.uk/feed"; }
{ url = "https://introvertdear.com/feed"; }
{ url = "https://designli.co/blog/feed"; }
{ url = "https://www.oliverdavies.uk/rss/daily.xml"; }
{
url = "https://www.drupal.org/project/issues/rss/override_node_options";
tags = [ "Drupal" ];
}
{
url = "https://www.drupal.org/project/issues/rss/tailwindcss";
tags = [ "Drupal" ];
}
{
url = "https://nixos.org/blog/announcements-rss.xml";
tags = [ "Linux" ];
}
{
url = "https://laracasts.com/feed";
tags = [
"PHP"
"Laravel"
];
}
{
url = "https://feeds.feedburner.com/knpuniversity";
title = "SymfonyCasts";
tags = [
"PHP"
"Symfony"
];
}
{
url = "https://nickjanetakis.com/atom.xml";
title = "Nick Janetakis";
}
{
url = "https://www.learnlinux.tv/feed";
tags = [ "Linux" ];
}
{
url = "https://tailwindcss.com/feeds/feed.xml";
tags = [
"Software"
"CSS"
];
}
{
url = "https://monospacementor.com/feed";
tags = [
"Linux"
"Software"
];
}
{
url = "https://frontendmasters.com/blog/feed";
tags = [ "Software" ];
title = "Frontend Masters Boost";
}
{
url = "https://www.youtube.com/feeds/videos.xml?channel_id=UC2aHRY064THg_t7JZoGSYGg";
title = "YouTube - elysse";
tags = [
"Software"
"YouTube"
];
}
{
url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCSUA5RARrNt4-Ik3qtbETLQ";
title = "YouTube - Jason Swett";
tags = [
"Software"
"YouTube"
];
}
{
url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCorzANoC3fX9VVefJHM5wtA";
title = "~YouTube - Nick Janetakis";
tags = [
"Software"
"YouTube"
];
}
{ url = "https://devenv.sh/feed_rss_created.xml"; }
{ url = "https://sive.rs/en.atom"; }
{ url = "https://kressle.in/feed.xml"; }
{
url = "https://github.com/sculpin/sculpin/releases.atom";
tags = [
"PHP"
"Sculpin"
"Open Source"
];
}
{ url = "https://www.theminimalists.com/feed"; }
{ url = "https://opensourcepledge.com/rss.xml"; }
{
url = "https://feeds.bbci.co.uk/sport/rugby-union/teams/ng-dragons/rss.xml";
tags = [ "Rugby" ];
title = "BBC Sport - Dragons RFC";
}
{
url = "https://openrss.org/www.twitch.tv/thealtf4stream/videos?filter=all&sort=time";
tags = [ "Twitch" ];
}
{
url = "https://openrss.org/www.twitch.tv/theprimeagen/videos?filter=all&sort=time";
tags = [ "Twitch" ];
}
{
url = "https://openrss.org/www.twitch.tv/teej_dv/videos?filter=all&sort=time";
tags = [ "Twitch" ];
}
{
url = "https://openrss.org/www.twitch.tv/monospacementor/videos?filter=all&sort=time";
tags = [ "Twitch" ];
}
{ url = "https://www.reddit.com/r/librewolf/new/.rss"; }
{
url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCSJKQnpmPcdkysduL0mNktg";
title = "YouTube - teej_daily";
tags = [
"Software"
"YouTube"
];
}
{
url = "https://feeds.bbci.co.uk/sport/rugby-union/rss.xml";
tags = [ "Rugby" ];
title = "BBC Sport - Rugby Union";
}
{ url = "https://tinkerbetter.tube/feeds/videos.xml?videoChannelId=2"; }
{ url = "https://video.fosshq.org/feeds/videos.xml?videoChannelId=2"; }
{
url = "https://www.garfieldtech.com/blog/feed";
tags = [ "PHP" ];
}
{ url = "https://world.hey.com/dhh/feed.atom"; }
]

5
hosts/t480/secrets.nix Normal file
View file

@ -0,0 +1,5 @@
{
age.secrets = {
cloudflare.file = ../../secrets/cloudflare.age;
};
}

12
hosts/t480/xserver.nix Normal file
View file

@ -0,0 +1,12 @@
{
services.xserver = {
enable = true;
displayManager.startx.enable = true;
xkb = {
layout = "gb";
variant = "";
};
};
}

35
justfile Normal file
View file

@ -0,0 +1,35 @@
alias b := build
alias s := switch
alias t := test
alias u := update
_default:
just --list
build *args:
@just _nixos build {{ args }}
check:
nix flake check
clean:
nh clean all
collect-garbage:
nix-collect-garbage -d
sudo nix-collect-garbage -d
format:
nix fmt flake.nix hosts modules
switch *args:
@just _nixos switch {{ args }}
test *args:
@just _nixos test {{ args }}
update:
nix flake update --commit-lock-file
_nixos command *args:
nh os {{ command }} . {{ args }}

View file

@ -1,23 +0,0 @@
---
- hosts: localhost
tasks:
- name: Set roles
ansible.builtin.set_fact:
roles: "{{ ansible_run_tags != ['all'] and ansible_run_tags or default_roles | difference(exclude_roles | default([])) }}"
tags:
- always
- name: Display roles
ansible.builtin.debug: "var=roles"
tags:
- always
- name: Run roles
ansible.builtin.include_role:
name: "{{ item }}"
apply:
tags:
- "{{ item }}"
with_items: "{{ roles }}"
tags:
- always

0
modules/.keep Normal file
View file

12
modules/avahi.nix Normal file
View file

@ -0,0 +1,12 @@
{
flake.modules.nixos.pc.services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
publish = {
enable = true;
addresses = true;
};
};
}

7
modules/bluetooth.nix Normal file
View file

@ -0,0 +1,7 @@
{
flake.modules.nixos.desktop = {
hardware.bluetooth.enable = true;
services.blueman.enable = true;
};
}

29
modules/bluetuith.nix Normal file
View file

@ -0,0 +1,29 @@
{
flake.modules.homeManager.base =
{ pkgs, ... }:
{
home.packages = [
pkgs.bluetuith
];
xdg.configFile."bluetuith/bluetuith.conf" = {
text = ''
{
adapter: ""
adapter-states: ""
connect-bdaddr: ""
gsm-apn: ""
gsm-number: ""
keybindings: {
NavigateDown: j
NavigateUp: k
}
receive-dir: ""
theme: {}
}
'';
};
};
}

57
modules/bookmarkthis.nix Normal file
View file

@ -0,0 +1,57 @@
{ lib, ... }:
{
flake.modules.homeManager.gui =
{ config, pkgs, ... }:
{
options.programs.bookmarkthis.snippetsFile = lib.mkOption {
default = "${config.xdg.dataHome}/snippets.txt";
type = lib.types.str;
};
config = {
home = {
packages = [
(pkgs.writeShellApplication {
name = "bookmarkthis";
text = ''
message() {
if command -v ${lib.getExe pkgs.libnotify} > /dev/null; then
${lib.getExe pkgs.libnotify} "$1" "$2"
else
echo "$2"
fi
}
main() {
bookmark="$(xclip -o)"
file="$SNIPPETS_FILE"
if grep -q "^$bookmark$" "$file"; then
message "Oops." "Already bookmarked." >&2
exit 2
fi
echo "$bookmark" >> "$file"
message "Bookmark added!" "$bookmark is now saved to the file."
}
main
'';
})
];
sessionVariables = {
SNIPPETS_FILE = config.programs.bookmarkthis.snippetsFile;
};
};
programs.zsh.zsh-abbr.abbreviations = lib.optionalAttrs (config.programs.zsh.enable) {
"sn" = "${config.home.sessionVariables.EDITOR} $SNIPPETS_FILE";
};
};
};
}

View file

@ -0,0 +1,3 @@
{
flake.modules.homeManager.gui.programs.chromium.enable = true;
}

View file

@ -0,0 +1,3 @@
{
flake.modules.homeManager.gui.programs.librewolf.enable = true;
}

View file

@ -0,0 +1,17 @@
{
flake.modules.homeManager.gui =
{ pkgs, ... }:
{
programs.librewolf.profiles.default.extensions.packages =
with pkgs.nur.repos.rycee.firefox-addons; [
awesome-rss
bitwarden
darkreader
tree-style-tab
ublock-origin
videospeed
vimium
web-developer
];
};
}

View file

@ -0,0 +1,5 @@
{
flake.modules.homeManager.gui.programs.librewolf.languagePacks = [
"en-GB"
];
}

View file

@ -0,0 +1,70 @@
{
flake.modules.homeManager.gui.programs.librewolf.policies = {
CaptivePortal = false;
DisableFirefoxAccounts = true;
DisableFirefoxStudies = true;
DisablePocket = true;
DisableTelemetry = true;
EnableTrackingProtection = {
Cryptomining = true;
Fingerprinting = true;
Value = true;
};
ExtensionSettings = {
"jid1-ZAdIEUB7XOzOJw@jetpack" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/duckduckgo-for-firefox/latest.xpi";
installation_mode = "force_installed";
};
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "force_installed";
};
};
FirefoxHome = {
Highlights = false;
Pocket = false;
Search = true;
Snippets = false;
SponsoredPocket = false;
SponsoredTopSites = false;
TopSites = true;
};
FirefoxSuggest = {
ImproveSuggest = false;
SponsoredSuggestions = false;
WebSuggestions = false;
};
NoDefaultBookmarks = true;
OfferToSaveLogins = false;
OfferToSaveLoginsDefault = false;
PasswordManagerEnabled = false;
Preferences = {
"browser.newtabpage.enabled" = false;
"cookiebanners.service.mode" = 2; # Block cookie banners
"cookiebanners.service.mode.privateBrowsing" = 2; # Block cookie banners in private browsing
"privacy.donottrackheader.enabled" = true;
"privacy.fingerprintingProtection" = true;
"privacy.resistFingerprinting" = true;
"privacy.trackingprotection.emailtracking.enabled" = true;
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.fingerprinting.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
};
HardwareAcceleration = true;
TranslateEnabled = true;
UserMessaging = {
ExtensionRecommendations = false;
UrlbarInterventions = false;
SkipOnboarding = true;
};
};
}

View file

@ -0,0 +1,19 @@
{
flake.modules.homeManager.gui.programs.librewolf.profiles.default.search.engines = {
# TODO: Drupal.org users.
# TODO: Mastodon.
# TODO: GitHub.
# TODO: Forgejo.
drupal_projects = {
name = "Drupal.org projects";
urls = [ { template = "https://www.drupal.org/project/{searchTerms}"; } ];
definedAliases = [ "@dp" ];
};
nixvim = {
name = "Nixvim options search";
urls = [ { template = "https://nix-community.github.io/nixvim/search/?query={searchTerms}"; } ];
definedAliases = [ "@nxv" ];
};
};
}

View file

@ -0,0 +1,7 @@
{
flake.modules.homeManager.gui.programs.librewolf.profiles.default.search = {
default = "ddg";
force = true;
privateDefault = "ddg";
};
}

View file

@ -0,0 +1,10 @@
{
flake.modules.homeManager.gui.programs.librewolf.profiles.default.settings = {
"browser.search.isUS" = false;
"browser.search.region" = "GB";
"distribution.searchplugins.defaultLocale" = "en-GB";
"general.useragent.locale" = "en-GB";
"intl.accept_languages" = "en-GB, en";
"intl.regional_prefs.use_os_locales" = true;
};
}

View file

@ -0,0 +1,3 @@
{
flake.modules.homeManager.gui.programs.qutebrowser.enable = true;
}

View file

@ -0,0 +1,14 @@
{ lib, ... }:
{
flake.modules.homeManager.gui.programs.qutebrowser.keyBindings.normal = {
"<Ctrl-d>" = "config-cycle colors.webpage.darkmode.enabled true false";
"xb" = "config-cycle statusbar.show always never";
"xt" = "config-cycle tabs.show always never";
"xx" = lib.mkMerge [
"config-cycle statusbar.show always never"
"config-cycle tabs.show always never"
];
};
}

View file

@ -0,0 +1,7 @@
{
flake.modules.homeManager.gui =
{ pkgs, ... }:
{
programs.qutebrowser.package = pkgs.stable.qutebrowser;
};
}

View file

@ -0,0 +1,10 @@
{
flake.modules.homeManager.gui.programs.qutebrowser.searchEngines = {
dp = "https://www.drupal.org/project/{}";
du = "https://www.drupal.org/u/{}";
gh = "https://github.com/search?q={}";
mn = "https://mynixos.com/search?q={}";
nx = "https://search.nixos.org/packages?query={}";
yt = "https://www.youtube.com/results?search_query={}";
};
}

View file

@ -0,0 +1,5 @@
{
flake.modules.homeManager.gui.programs.qutebrowser.settings = {
colors.webpage.darkmode.enabled = true;
};
}

7
modules/calculator.nix Normal file
View file

@ -0,0 +1,7 @@
{
flake.modules.nixos.pc =
{ pkgs, ... }:
{
environment.systemPackages = [ pkgs.bc ];
};
}

Some files were not shown because too many files have changed in this diff Show more