26 Commits

Author SHA1 Message Date
Noah Masur
f8dfa2a817 enable jujutsu as non-experimental 2025-11-17 02:48:06 +00:00
Noah Masur
e4a8ef15ce fix rebuilds and broken packages after update 2025-11-15 13:10:48 -06:00
github-actions[bot]
5c922310f5 flake.lock: Update
Flake lock file updates:

• Updated input 'darwin':
    'github:lnl7/nix-darwin/e2b82ebd0f990a5d1b68fcc761b3d6383c86ccfd' (2025-11-07)
  → 'github:lnl7/nix-darwin/973db96394513fd90270ea5a1211a82a4a0ba47f' (2025-11-14)
• Updated input 'helix':
    'github:helix-editor/helix/65ea351cc30b23d40e9a5784a4be99768536b7f5' (2025-11-08)
  → 'github:helix-editor/helix/948ac05aa0db64e0e5d00710db36eb244076e988' (2025-11-12)
• Updated input 'home-manager':
    'github:nix-community/home-manager/0562fef070a1027325dd4ea10813d64d2c967b39' (2025-11-06)
  → 'github:nix-community/home-manager/827f2a23373a774a8805f84ca5344654c31f354b' (2025-11-12)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ae814fd3904b621d8ab97418f1d0f2eb0d3716f4' (2025-11-05)
  → 'github:nixos/nixpkgs/c5ae371f1a6a7fd27823bc500d9390b38c05fa55' (2025-11-12)
• Updated input 'nur':
    'github:nix-community/nur/e7b4921cad8b7492ab9c441bda269be625bd2acc' (2025-11-08)
  → 'github:nix-community/nur/cb44dde82a279a626f8b3283fdcf52849d3ab3d4' (2025-11-15)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a35a6144b976f70827c2fe2f5c89d16d8f9179d8' (2025-11-08)
  → 'github:oxalica/rust-overlay/89af6762b01409edbb595888a69311e8e5954110' (2025-11-15)
• Updated input 'wsl':
    'github:nix-community/NixOS-WSL/e001844d4553aef268f97b32d3a825b6370eed91' (2025-11-04)
  → 'github:nix-community/NixOS-WSL/debc562c48c445f9f08778ecb9fc6b35197623ad' (2025-11-12)
2025-11-15 03:59:13 +00:00
Noah Masur
2f274cd652 chawan as manpager and fixes to rebuild shortcuts 2025-11-14 19:31:42 -05:00
Noah Masur
407e9c3af8 enable mealie for recipes 2025-11-11 04:00:51 +00:00
Noah Masur
c13e029805 update zellij for launching and quitting automatically 2025-11-10 21:17:13 -06:00
github-actions[bot]
c56bc30200 flake.lock: Update
Flake lock file updates:

• Updated input 'darwin':
    'github:lnl7/nix-darwin/7cd9aac79ee2924a85c211d21fafd394b06a38de' (2025-10-24)
  → 'github:lnl7/nix-darwin/e2b82ebd0f990a5d1b68fcc761b3d6383c86ccfd' (2025-11-07)
• Updated input 'disko':
    'github:nix-community/disko/6f4cf5abbe318e4cd1e879506f6eeafd83f7b998' (2025-10-31)
  → 'github:nix-community/disko/af087d076d3860760b3323f6b583f4d828c1ac17' (2025-11-04)
• Updated input 'helix':
    'github:helix-editor/helix/5a92474bf0453715e3139eccaaccf3264bfb2001' (2025-10-31)
  → 'github:helix-editor/helix/65ea351cc30b23d40e9a5784a4be99768536b7f5' (2025-11-08)
• Updated input 'home-manager':
    'github:nix-community/home-manager/4ac96eb21c101a3e5b77ba105febc5641a8959aa' (2025-10-31)
  → 'github:nix-community/home-manager/0562fef070a1027325dd4ea10813d64d2c967b39' (2025-11-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/08dacfca559e1d7da38f3cf05f1f45ee9bfd213c' (2025-10-28)
  → 'github:nixos/nixpkgs/ae814fd3904b621d8ab97418f1d0f2eb0d3716f4' (2025-11-05)
• Updated input 'nur':
    'github:nix-community/nur/f20762096406e710b930858237046c139f03a061' (2025-11-01)
  → 'github:nix-community/nur/e7b4921cad8b7492ab9c441bda269be625bd2acc' (2025-11-08)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/08c33e87c4829bbdd42b5af247cf7a19e126369f' (2025-11-02)
  → 'github:oxalica/rust-overlay/a35a6144b976f70827c2fe2f5c89d16d8f9179d8' (2025-11-08)
• Updated input 'wsl':
    'github:nix-community/NixOS-WSL/761582d6ab431549fe1396d2cd681e3fe9376020' (2025-11-01)
  → 'github:nix-community/NixOS-WSL/e001844d4553aef268f97b32d3a825b6370eed91' (2025-11-04)
• Updated input 'wsl/flake-compat':
    'github:edolstra/flake-compat/9100a0f413b0c601e0533d1d94ffd501ce2e7885' (2025-05-12)
  → 'github:edolstra/flake-compat/f387cd2afec9419c8ee37694406ca490c3f34ee5' (2025-10-27)
2025-11-08 03:57:53 +00:00
Noah Masur
6064fdb0e0 add csvlens for viewing csvs alongside visidata 2025-11-06 20:38:45 -05:00
Noah Masur
5cf27d6d66 adjust chawan manpager to mancha 2025-11-06 20:38:23 -05:00
Noah Masur
ceca1ffd5a get services to build properly again on flame 2025-11-07 00:26:00 +00:00
Noah Masur
ebbc9c5a5d use yazi outside of helix and chawan as manpager 2025-11-02 18:26:40 -05:00
Noah Masur
aea3e95ef5 fix build with rust-overlay 2025-11-02 18:22:56 -05:00
github-actions[bot]
d79c1ba7df flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/3a9450b26e69dcb6f8de6e2b07b3fc1c288d85f5' (2025-10-17)
  → 'github:nix-community/disko/6f4cf5abbe318e4cd1e879506f6eeafd83f7b998' (2025-10-31)
• Updated input 'helix':
    'github:helix-editor/helix/d79cce4e4bfc24dd204f1b294c899ed73f7e9453' (2025-10-22)
  → 'github:helix-editor/helix/5a92474bf0453715e3139eccaaccf3264bfb2001' (2025-10-31)
• Updated input 'home-manager':
    'github:nix-community/home-manager/c644cb018f9fdec55f5ac2afb4713a8c7beb757c' (2025-10-24)
  → 'github:nix-community/home-manager/4ac96eb21c101a3e5b77ba105febc5641a8959aa' (2025-10-31)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/01f116e4df6a15f4ccdffb1bcd41096869fb385c' (2025-10-22)
  → 'github:nixos/nixpkgs/08dacfca559e1d7da38f3cf05f1f45ee9bfd213c' (2025-10-28)
• Updated input 'nur':
    'github:nix-community/nur/cbe64052fb6a79ffaeba7d0b022d38d846e86334' (2025-10-25)
  → 'github:nix-community/nur/f20762096406e710b930858237046c139f03a061' (2025-11-01)
• Updated input 'wsl':
    'github:nix-community/NixOS-WSL/f98ee1de1fa36eca63c67b600f5d617e184e82ea' (2025-10-15)
  → 'github:nix-community/NixOS-WSL/761582d6ab431549fe1396d2cd681e3fe9376020' (2025-11-01)
2025-11-01 04:00:32 +00:00
Noah Masur
422131134a lower latency time on esc ctrl in kanata 2025-10-26 21:56:08 -04:00
Noah Masur
5d8e10b814 add crush coding agent to experimental 2025-10-26 21:55:24 -04:00
Noah Masur
fdd5eb6418 add chawan for html in aerc 2025-10-26 21:55:14 -04:00
Noah Masur
72c548e707 update git settings renamed options 2025-10-26 12:06:48 -04:00
github-actions[bot]
a57207dd5d flake.lock: Update
Flake lock file updates:

• Updated input 'darwin':
    'github:lnl7/nix-darwin/c3211fcd0c56c11ff110d346d4487b18f7365168' (2025-10-17)
  → 'github:lnl7/nix-darwin/7cd9aac79ee2924a85c211d21fafd394b06a38de' (2025-10-24)
• Updated input 'helix':
    'github:helix-editor/helix/f6f8634eb07f35f02bd2881666925a90513f6f3b' (2025-10-15)
  → 'github:helix-editor/helix/d79cce4e4bfc24dd204f1b294c899ed73f7e9453' (2025-10-22)
• Updated input 'home-manager':
    'github:nix-community/home-manager/722792af097dff5790f1a66d271a47759f477755' (2025-10-17)
  → 'github:nix-community/home-manager/c644cb018f9fdec55f5ac2afb4713a8c7beb757c' (2025-10-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/544961dfcce86422ba200ed9a0b00dd4b1486ec5' (2025-10-15)
  → 'github:nixos/nixpkgs/01f116e4df6a15f4ccdffb1bcd41096869fb385c' (2025-10-22)
• Updated input 'nur':
    'github:nix-community/nur/01a0d3a236b249cad7f054551671d5e77d218c40' (2025-10-18)
  → 'github:nix-community/nur/cbe64052fb6a79ffaeba7d0b022d38d846e86334' (2025-10-25)
2025-10-25 03:55:46 +00:00
github-actions[bot]
94b4217be3 flake.lock: Update
Flake lock file updates:

• Updated input 'darwin':
    'github:lnl7/nix-darwin/c48e963a5558eb1c3827d59d21c5193622a1477c' (2025-09-25)
  → 'github:lnl7/nix-darwin/c3211fcd0c56c11ff110d346d4487b18f7365168' (2025-10-17)
• Updated input 'disko':
    'github:nix-community/disko/67ff9807dd148e704baadbd4fd783b54282ca627' (2025-09-19)
  → 'github:nix-community/disko/3a9450b26e69dcb6f8de6e2b07b3fc1c288d85f5' (2025-10-17)
• Updated input 'helix':
    'github:helix-editor/helix/5b0563419eeeaf0595c848865c46be4abad246a7' (2025-10-07)
  → 'github:helix-editor/helix/f6f8634eb07f35f02bd2881666925a90513f6f3b' (2025-10-15)
• Updated input 'home-manager':
    'github:nix-community/home-manager/c4aaddeaecc09554c92518fd904e3e84b497ed09' (2025-10-12)
  → 'github:nix-community/home-manager/722792af097dff5790f1a66d271a47759f477755' (2025-10-17)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0b4defa2584313f3b781240b29d61f6f9f7e0df3' (2025-10-09)
  → 'github:nixos/nixpkgs/544961dfcce86422ba200ed9a0b00dd4b1486ec5' (2025-10-15)
• Updated input 'nur':
    'github:nix-community/nur/a82226091501c0ee01e7fb55b8f357afe0faa392' (2025-10-12)
  → 'github:nix-community/nur/01a0d3a236b249cad7f054551671d5e77d218c40' (2025-10-18)
• Updated input 'wsl':
    'github:nix-community/NixOS-WSL/7c0c0f4c3a51761434f18209fa9499b8579ff730' (2025-10-07)
  → 'github:nix-community/NixOS-WSL/f98ee1de1fa36eca63c67b600f5d617e184e82ea' (2025-10-15)
2025-10-18 03:52:46 +00:00
Noah Masur
7619ac6ea2 enable cargo for work and home 2025-10-13 13:39:48 -04:00
Noah Masur
7543721020 launch helix for editing desktop text files 2025-10-13 13:06:42 -04:00
Noah Masur
bf52069886 temp override to build awscli2 2025-10-12 18:57:40 +00:00
Noah Masur
839ca079c2 Merge branch 'caddy-cloudflare-pkg' 2025-10-12 17:26:05 +00:00
github-actions[bot]
85f09b1126 flake.lock: Update
Flake lock file updates:

• Updated input 'helix':
    'github:helix-editor/helix/bfcbef10c513108c7b43317569416c2eefc4ed44' (2025-09-30)
  → 'github:helix-editor/helix/5b0563419eeeaf0595c848865c46be4abad246a7' (2025-10-07)
• Updated input 'helix/rust-overlay':
    'github:oxalica/rust-overlay/d342e8b5fd88421ff982f383c853f0fc78a847ab' (2025-02-27)
  → 'github:oxalica/rust-overlay/1d7cbdaad90f8a5255a89a6eddd8af24dc89cafe' (2025-10-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/edafd6da1936426708f1be0b1a4288007f16639a' (2025-10-04)
  → 'github:nix-community/home-manager/d305eece827a3fe317a2d70138f53feccaf890a1' (2025-10-10)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/7df7ff7d8e00218376575f0acdcc5d66741351ee' (2025-10-02)
  → 'github:nixos/nixpkgs/0b4defa2584313f3b781240b29d61f6f9f7e0df3' (2025-10-09)
• Updated input 'nur':
    'github:nix-community/nur/d127643d50ec16f47ca67c9695b0200ea8b7cfd1' (2025-10-04)
  → 'github:nix-community/nur/886a5646695563cbae3c1e10369c6070c7645e73' (2025-10-11)
• Updated input 'wsl':
    'github:nix-community/NixOS-WSL/d96dda76c1f1827634ddf28d386feabd2d135d21' (2025-10-01)
  → 'github:nix-community/NixOS-WSL/7c0c0f4c3a51761434f18209fa9499b8579ff730' (2025-10-07)
2025-10-11 03:51:41 +00:00
github-actions[bot]
29c7a27135 flake.lock: Update
Flake lock file updates:

• Updated input 'helix':
    'github:helix-editor/helix/109c812233e442addccf1739dec4406248bd3244' (2025-09-25)
  → 'github:helix-editor/helix/bfcbef10c513108c7b43317569416c2eefc4ed44' (2025-09-30)
• Updated input 'home-manager':
    'github:nix-community/home-manager/bc2afee55bc5d3b825287829d6592b9cc1405aad' (2025-09-26)
  → 'github:nix-community/home-manager/edafd6da1936426708f1be0b1a4288007f16639a' (2025-10-04)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e643668fd71b949c53f8626614b21ff71a07379d' (2025-09-24)
  → 'github:nixos/nixpkgs/7df7ff7d8e00218376575f0acdcc5d66741351ee' (2025-10-02)
• Updated input 'nur':
    'github:nix-community/nur/c898a1ed2da0164bc6f395f44aad52edb84c84d4' (2025-09-27)
  → 'github:nix-community/nur/d127643d50ec16f47ca67c9695b0200ea8b7cfd1' (2025-10-04)
• Updated input 'wsl':
    'github:nix-community/NixOS-WSL/1bfb978f2f6261b6086e04af17f9418e1fe36d70' (2025-09-25)
  → 'github:nix-community/NixOS-WSL/d96dda76c1f1827634ddf28d386feabd2d135d21' (2025-10-01)
2025-10-04 03:49:26 +00:00
github-actions[bot]
3523f20665 flake.lock: Update
Flake lock file updates:

• Updated input 'darwin':
    'github:lnl7/nix-darwin/8df64f819698c1fee0c2969696f54a843b2231e8' (2025-08-22)
  → 'github:lnl7/nix-darwin/c48e963a5558eb1c3827d59d21c5193622a1477c' (2025-09-25)
• Updated input 'disko':
    'github:nix-community/disko/bafad29f89e83b2d861b493aa23034ea16595560' (2025-08-25)
  → 'github:nix-community/disko/67ff9807dd148e704baadbd4fd783b54282ca627' (2025-09-19)
• Updated input 'helix':
    'github:helix-editor/helix/77ff51caa440b1066e0a1920007ab5e148dd4856' (2025-08-29)
  → 'github:helix-editor/helix/109c812233e442addccf1739dec4406248bd3244' (2025-09-25)
• Updated input 'home-manager':
    'github:nix-community/home-manager/77a71380c38fb2a440b4b5881bbc839f6230e1cb' (2025-08-29)
  → 'github:nix-community/home-manager/bc2afee55bc5d3b825287829d6592b9cc1405aad' (2025-09-26)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/dfb2f12e899db4876308eba6d93455ab7da304cd' (2025-08-28)
  → 'github:nixos/nixpkgs/e643668fd71b949c53f8626614b21ff71a07379d' (2025-09-24)
• Updated input 'nur':
    'github:nix-community/nur/e82a8b0095f54edb6bbbb1d862f3da502dca1396' (2025-08-30)
  → 'github:nix-community/nur/c898a1ed2da0164bc6f395f44aad52edb84c84d4' (2025-09-27)
• Updated input 'wsl':
    'github:nix-community/NixOS-WSL/203a7b463f307c60026136dd1191d9001c43457f' (2025-08-15)
  → 'github:nix-community/NixOS-WSL/1bfb978f2f6261b6086e04af17f9418e1fe36d70' (2025-09-25)
2025-09-27 03:51:21 +00:00
29 changed files with 253 additions and 116 deletions

90
flake.lock generated
View File

@@ -22,11 +22,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1755825449, "lastModified": 1763136804,
"narHash": "sha256-XkiN4NM9Xdy59h69Pc+Vg4PxkSm9EWl6u7k6D5FZ5cM=", "narHash": "sha256-6p2ljK42s0S8zS0UU59EsEqupz0GVCaBYRylpUadeBM=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "8df64f819698c1fee0c2969696f54a843b2231e8", "rev": "973db96394513fd90270ea5a1211a82a4a0ba47f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -43,11 +43,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756115622, "lastModified": 1762276996,
"narHash": "sha256-iv8xVtmLMNLWFcDM/HcAPLRGONyTRpzL9NS09RnryRM=", "narHash": "sha256-TtcPgPmp2f0FAnc+DMEw4ardEgv1SGNR3/WFGH0N19M=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "bafad29f89e83b2d861b493aa23034ea16595560", "rev": "af087d076d3860760b3323f6b583f4d828c1ac17",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -76,11 +76,11 @@
"flake-compat_2": { "flake-compat_2": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1747046372, "lastModified": 1761588595,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", "narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", "rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -153,14 +153,16 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"rust-overlay": "rust-overlay" "rust-overlay": [
"rust-overlay"
]
}, },
"locked": { "locked": {
"lastModified": 1756477005, "lastModified": 1762973522,
"narHash": "sha256-e/FNNIT/LPuoruzRQZf5z5L5GApq1G2y2PShy+Lakhs=", "narHash": "sha256-CFyvvZvKDkTFF7niIQp5hhks5OR1u10H3e89chURCkg=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "77ff51caa440b1066e0a1920007ab5e148dd4856", "rev": "948ac05aa0db64e0e5d00710db36eb244076e988",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -176,11 +178,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756496801, "lastModified": 1762964643,
"narHash": "sha256-IYIsnPy+cJxe8RbDHBrCtfJY0ry2bG2H7WvMcewiGS8=", "narHash": "sha256-RYHN8O/Aja59XDji6WSJZPkJpYVUfpSkyH+PEupBJqM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "77a71380c38fb2a440b4b5881bbc839f6230e1cb", "rev": "827f2a23373a774a8805f84ca5344654c31f354b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -306,11 +308,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1756386758, "lastModified": 1762977756,
"narHash": "sha256-1wxxznpW2CKvI9VdniaUnTT2Os6rdRJcRUf65ZK9OtE=", "narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "dfb2f12e899db4876308eba6d93455ab7da304cd", "rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -322,11 +324,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1728538411, "lastModified": 1744536153,
"narHash": "sha256-f0SBJz1eZ2yOuKUr5CA9BHULGXVSn6miBuUWdTyhUhU=", "narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221", "rev": "18dd725c29603f582cf1900e0d25f9f1063dbf11",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -344,11 +346,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756524478, "lastModified": 1763178083,
"narHash": "sha256-2oSBlcYCgwrVxUZwM8MV6hBFsfsWFbeN5ErQiCA+38s=", "narHash": "sha256-J2anD4lJGnsnbZeSVRjY8b9UdQueQnbrjEuHoUtwb40=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "e82a8b0095f54edb6bbbb1d862f3da502dca1396", "rev": "cb44dde82a279a626f8b3283fdcf52849d3ab3d4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -369,42 +371,22 @@
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
"nur": "nur", "nur": "nur",
"rust-overlay": "rust-overlay",
"wsl": "wsl", "wsl": "wsl",
"zellij-switch": "zellij-switch", "zellij-switch": "zellij-switch",
"zenyd-mpv-scripts": "zenyd-mpv-scripts" "zenyd-mpv-scripts": "zenyd-mpv-scripts"
} }
}, },
"rust-overlay": { "rust-overlay": {
"inputs": {
"nixpkgs": [
"helix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1740623427,
"narHash": "sha256-3SdPQrZoa4odlScFDUHd4CUPQ/R1gtH4Mq9u8CBiK8M=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "d342e8b5fd88421ff982f383c853f0fc78a847ab",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
}
},
"rust-overlay_2": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1736476219, "lastModified": 1763174172,
"narHash": "sha256-+qyv3QqdZCdZ3cSO/cbpEY6tntyYjfe1bB12mdpNFaY=", "narHash": "sha256-u6dcvXk2K6eYVYhmfiN3xmhIf3yUo5KPwm79UOD37Jo=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "de30cc5963da22e9742bbbbb9a3344570ed237b9", "rev": "89af6762b01409edbb595888a69311e8e5954110",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -484,11 +466,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1755261305, "lastModified": 1762908663,
"narHash": "sha256-EOqCupB5X5WoGVHVcfOZcqy0SbKWNuY3kq+lj1wHdu8=", "narHash": "sha256-HqdYfzBaidYX+EYAcXDFCggXJPZBv2fusMwhc7/4+cI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NixOS-WSL", "repo": "NixOS-WSL",
"rev": "203a7b463f307c60026136dd1191d9001c43457f", "rev": "debc562c48c445f9f08778ecb9fc6b35197623ad",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -502,7 +484,9 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"rust-overlay": "rust-overlay_2", "rust-overlay": [
"rust-overlay"
],
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": { "locked": {

View File

@@ -64,16 +64,22 @@
flake = false; flake = false;
}; };
rust-overlay = {
url = "github:oxalica/rust-overlay";
};
# Zellij Switcher # Zellij Switcher
zellij-switch = { zellij-switch = {
url = "github:mostafaqanbaryan/zellij-switch"; url = "github:mostafaqanbaryan/zellij-switch";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.rust-overlay.follows = "rust-overlay";
}; };
# Text editor # Text editor
helix = { helix = {
url = "github:helix-editor/helix"; url = "github:helix-editor/helix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.rust-overlay.follows = "rust-overlay";
}; };
# # Nextcloud Apps # # Nextcloud Apps
@@ -133,6 +139,7 @@
photos = "photos.${baseName}"; photos = "photos.${baseName}";
postgresql = "pg.${baseName}"; postgresql = "pg.${baseName}";
prometheus = "prom.${baseName}"; prometheus = "prom.${baseName}";
recipes = "cooking.${baseName}";
secrets = "vault.${baseName}"; secrets = "vault.${baseName}";
smtp = "smtp.purelymail.com"; smtp = "smtp.purelymail.com";
status = "status.${baseName}"; status = "status.${baseName}";

View File

@@ -68,7 +68,8 @@ lib
inputs.nix2vim.overlay inputs.nix2vim.overlay
inputs.zellij-switch.overlays.default inputs.zellij-switch.overlays.default
inputs.helix.overlays.default inputs.helix.overlays.default
] ++ (importOverlays ../overlays); ]
++ (importOverlays ../overlays);
# System types to support. # System types to support.
supportedSystems = [ supportedSystems = [
@@ -97,7 +98,10 @@ lib
system: system:
import inputs.nixpkgs { import inputs.nixpkgs {
inherit system overlays; inherit system overlays;
config.permittedInsecurePackages = [ "litestream-0.3.13" ]; config.permittedInsecurePackages = [
"litestream-0.3.13"
"electron-36.9.5"
];
config.allowUnfree = true; config.allowUnfree = true;
} }
); );
@@ -130,7 +134,8 @@ lib
]; ];
extraSpecialArgs = { extraSpecialArgs = {
inherit colorscheme; inherit colorscheme;
} // specialArgs; }
// specialArgs;
}; };
buildNixos = buildNixos =
@@ -152,8 +157,10 @@ lib
home-manager = { home-manager = {
extraSpecialArgs = { extraSpecialArgs = {
inherit colorscheme; inherit colorscheme;
} // specialArgs; }
} // homeModule.home-manager; // specialArgs;
}
// homeModule.home-manager;
} }
]; ];
}; };
@@ -178,8 +185,10 @@ lib
home-manager = { home-manager = {
extraSpecialArgs = { extraSpecialArgs = {
inherit colorscheme; inherit colorscheme;
} // specialArgs; }
} // homeModule.home-manager; // specialArgs;
}
// homeModule.home-manager;
} }
]; ];
}; };
@@ -222,12 +231,15 @@ lib
home-manager = { home-manager = {
extraSpecialArgs = { extraSpecialArgs = {
inherit colorscheme; inherit colorscheme;
} // specialArgs; }
} // homeModule.home-manager; // specialArgs;
}
// homeModule.home-manager;
} }
]; ];
specialArgs = { specialArgs = {
} // specialArgs; }
// specialArgs;
}; };
} }

10
overlays/awscli2.nix Normal file
View File

@@ -0,0 +1,10 @@
inputs: _final: prev: {
awscli2 = prev.awscli2.overrideAttrs (
finalAttrs: previousAttrs: {
disabledTestPaths = previousAttrs.disabledTestPaths ++ [
"tests/unit/customizations"
];
}
);
}

View File

@@ -18,5 +18,5 @@
}).withPlugins }).withPlugins
{ {
plugins = [ "github.com/caddy-dns/cloudflare@v0.2.1" ]; plugins = [ "github.com/caddy-dns/cloudflare@v0.2.1" ];
hash = "sha256-AcWko5513hO8I0lvbCLqVbM1eWegAhoM0J0qXoWL/vI="; hash = "sha256-iRzpN9awuEFsc7hqKzOMNiCFFEv833xhd4LM+VFQedI=";
} }

View File

@@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
pkgs.writeShellScriptBin "rebuild" '' pkgs.writeShellScriptBin "rebuild" ''
echo ${pkgs.system} echo ${pkgs.stdenv.hostPlatform.system}
SYSTEM=${if pkgs.stdenv.isDarwin then "darwin" else "linux"} SYSTEM=${if pkgs.stdenv.isDarwin then "darwin" else "linux"}
if [ "$SYSTEM" == "darwin" ]; then if [ "$SYSTEM" == "darwin" ]; then
sudo darwin-rebuild switch --flake ${builtins.toString ../../../../.} sudo darwin-rebuild switch --flake ${builtins.toString ../../../../.}

View File

@@ -174,8 +174,10 @@ in
filters = { filters = {
"text/plain" = "${pkgs.aerc}/libexec/aerc/filters/colorize"; "text/plain" = "${pkgs.aerc}/libexec/aerc/filters/colorize";
"text/calendar" = "${pkgs.gawk}/bin/awk -f ${pkgs.aerc}/libexec/aerc/filters/calendar"; "text/calendar" = "${pkgs.gawk}/bin/awk -f ${pkgs.aerc}/libexec/aerc/filters/calendar";
# "text/html" =
# "${pkgs.aerc}/libexec/aerc/filters/html | ${pkgs.aerc}/libexec/aerc/filters/colorize"; # Requires w3m, dante
"text/html" = "text/html" =
"${pkgs.aerc}/libexec/aerc/filters/html | ${pkgs.aerc}/libexec/aerc/filters/colorize"; # Requires w3m, dante "!${pkgs.chawan}/bin/cha --type text/html --opt display.image-mode=kitty --opt display.columns=100 --opt display.force-columns=true";
# "text/*" = # "text/*" =
# ''${pkgs.bat}/bin/bat -fP --file-name="$AERC_FILENAME "''; # ''${pkgs.bat}/bin/bat -fP --file-name="$AERC_FILENAME "'';
"message/delivery-status" = "${pkgs.aerc}/libexec/aerc/filters/colorize"; "message/delivery-status" = "${pkgs.aerc}/libexec/aerc/filters/colorize";
@@ -202,7 +204,7 @@ in
xdg.desktopEntries.aerc = lib.mkIf (pkgs.stdenv.isLinux) { xdg.desktopEntries.aerc = lib.mkIf (pkgs.stdenv.isLinux) {
name = "aerc"; name = "aerc";
exec = "${lib.getExe config.nmasur.presets.services.i3.terminal} aerc %u"; exec = "${lib.getExe config.nmasur.presets.services.i3.terminal} -e aerc %u";
}; };
xsession.windowManager.i3.config.keybindings = lib.mkIf pkgs.stdenv.isLinux { xsession.windowManager.i3.config.keybindings = lib.mkIf pkgs.stdenv.isLinux {
"${config.xsession.windowManager.i3.config.modifier}+Shift+e" = "${config.xsession.windowManager.i3.config.modifier}+Shift+e" =
@@ -212,7 +214,7 @@ in
if terminal == pkgs.wezterm then if terminal == pkgs.wezterm then
"start --class com.noah.aerc -- aerc" "start --class com.noah.aerc -- aerc"
else else
"--class=com.noah.aerc --command=aerc"; "--class=com.noah.aerc -e aerc";
in in
"exec ${ "exec ${
# Don't name the script `aerc` or it will affect grep # Don't name the script `aerc` or it will affect grep

View File

@@ -27,6 +27,7 @@ in
rustfmt rustfmt
pkg-config pkg-config
openssl openssl
rust-analyzer
]; ];
}; };
} }

View File

@@ -0,0 +1,34 @@
{
config,
pkgs,
lib,
...
}:
let
cfg = config.nmasur.presets.programs.chawan;
in
{
options.nmasur.presets.programs.chawan.enable = lib.mkEnableOption "chawan TUI web browser";
config = lib.mkIf cfg.enable {
programs.chawan = {
enable = true;
settings = {
external.copy-cmd = if pkgs.stdenv.isLinux then "xclip -selection clipboard -in" else "pbcopy";
};
};
# Set Chawan as the default app for manual pages
home.sessionVariables = {
MANPAGER = "${lib.getExe pkgs.chawan} -T text/x-ansi";
};
programs.fish.shellAbbrs.man = "mancha";
};
}

View File

@@ -29,7 +29,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# Always make the dotfiles directory considered safe for git and direnv # Always make the dotfiles directory considered safe for git and direnv
programs.git.extraConfig.safe.directory = cfg.path; programs.git.settings.safe.directory = cfg.path;
programs.direnv.config.whitelist.prefix = [ cfg.path ]; programs.direnv.config.whitelist.prefix = [ cfg.path ];
home.activation = { home.activation = {

View File

@@ -39,8 +39,8 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
programs.git = { programs.git = {
userName = lib.mkForce cfg.work.name; settings.user.name = lib.mkForce cfg.work.name;
userEmail = lib.mkForce cfg.work.email; settings.user.email = lib.mkForce cfg.work.email;
includes = [ includes = [
{ {
path = "${config.home.homeDirectory}/${config.xdg.configFile."git/personal".target}"; path = "${config.home.homeDirectory}/${config.xdg.configFile."git/personal".target}";

View File

@@ -29,9 +29,11 @@ in
programs.git = { programs.git = {
enable = true; enable = true;
userName = cfg.name; settings = {
userEmail = cfg.email; user = {
extraConfig = { name = cfg.name;
email = cfg.email;
};
core.pager = "${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight | less --no-init"; core.pager = "${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight | less --no-init";
interactive.difffilter = "${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight"; interactive.difffilter = "${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight";
pager = { pager = {

View File

@@ -16,13 +16,13 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# Use Neovim as the editor for git commit messages # Use Neovim as the editor for git commit messages
programs.git.extraConfig.core.editor = lib.mkForce "${lib.getExe pkgs.helix}"; programs.git.settings.core.editor = lib.mkForce "${lib.getExe pkgs.helix}";
programs.jujutsu.settings.ui.editor = lib.mkForce "${lib.getExe pkgs.helix}"; programs.jujutsu.settings.ui.editor = lib.mkForce "${lib.getExe pkgs.helix}";
# Set Neovim as the default app for text editing and manual pages # Set Neovim as the default app for text editing and manual pages
home.sessionVariables = { home.sessionVariables = {
EDITOR = lib.mkForce "${lib.getExe pkgs.helix}"; EDITOR = lib.mkForce "${lib.getExe pkgs.helix}";
MANPAGER = lib.mkForce "sh -c 'col -bx | ${lib.getExe pkgs.helix}'"; # MANPAGER = lib.mkForce "sh -c 'col -bx | ${lib.getExe pkgs.helix}'";
MANWIDTH = 87; MANWIDTH = 87;
MANROFFOPT = "-c"; MANROFFOPT = "-c";
}; };
@@ -181,17 +181,6 @@ in
# Commandline git blame # Commandline git blame
space.B = ":echo %sh{git log -n1 --date=short --pretty=format:'%%h %%ad %%s' $(git blame -L %{cursor_line},+1 \"%{buffer_name}\" | cut -d' ' -f1)}"; space.B = ":echo %sh{git log -n1 --date=short --pretty=format:'%%h %%ad %%s' $(git blame -L %{cursor_line},+1 \"%{buffer_name}\" | cut -d' ' -f1)}";
# Open yazi
# https://github.com/sxyazi/yazi/pull/2461
# Won't work until next Helix release
C-y = [
":sh rm -f /tmp/unique-file"
":insert-output ${lib.getExe pkgs.yazi} %{buffer_name} --chooser-file=/tmp/unique-file"
":insert-output echo \\x1b[?1049h\\x1b[?2004h > /dev/tty"
":open %sh{cat /tmp/unique-file}"
":redraw"
];
# Extend selection above # Extend selection above
X = "select_line_above"; X = "select_line_above";
@@ -256,6 +245,10 @@ in
git-exclude = true; # Skip excluded files git-exclude = true; # Skip excluded files
}; };
completion-replace = true; # Replace whole word with completion
trim-trailing-whitespace = true;
rainbow-brackets = true; # Make it easier to match parentheses
# Show whitespace visible to the user # Show whitespace visible to the user
# Waiting for trailing whitespace option ideally # Waiting for trailing whitespace option ideally
whitespace = { whitespace = {
@@ -454,6 +447,27 @@ in
}; };
# Create a desktop option for launching Helix from a file manager
# (Requires launching the terminal and then executing Helix)
xdg.desktopEntries.helix =
lib.mkIf (pkgs.stdenv.isLinux && config.nmasur.presets.services.i3.enable)
{
name = "Helix wrapper";
exec = ''sh -c "${lib.getExe config.nmasur.presets.services.i3.terminal} --command='hx \$1'" _ %F ''; # TODO: change to work for any terminal
mimeType = [
"text/plain"
"text/markdown"
];
};
xdg.mimeApps.defaultApplications = {
"text/plain" = lib.mkBefore [ "Helix.desktop" ];
"text/markdown" = lib.mkBefore [ "Helix.desktop" ];
};
home.packages = [
(pkgs.writers.writeDashBin "xterm" ''${lib.getExe config.nmasur.presets.services.i3.terminal} +new-window --command"$@" '')
];
}; };
} }

View File

@@ -20,8 +20,8 @@ in
# https://github.com/martinvonz/jj/blob/main/docs/config.md # https://github.com/martinvonz/jj/blob/main/docs/config.md
settings = { settings = {
user = { user = {
name = config.programs.git.userName; name = config.programs.git.settings.user.name;
email = config.programs.git.userEmail; email = config.programs.git.settings.user.email;
}; };
ui.paginate = "never"; ui.paginate = "never";

View File

@@ -38,13 +38,13 @@ in
); );
# Use Neovim as the editor for git commit messages # Use Neovim as the editor for git commit messages
programs.git.extraConfig.core.editor = "${lib.getExe cfg.package}"; programs.git.settings.core.editor = "${lib.getExe cfg.package}";
programs.jujutsu.settings.ui.editor = "${lib.getExe cfg.package}"; programs.jujutsu.settings.ui.editor = "${lib.getExe cfg.package}";
# Set Neovim as the default app for text editing and manual pages # Set Neovim as the default app for text editing and manual pages
home.sessionVariables = { home.sessionVariables = {
EDITOR = "${lib.getExe cfg.package}"; EDITOR = "${lib.getExe cfg.package}";
MANPAGER = "${lib.getExe cfg.package} +Man!"; # MANPAGER = "${lib.getExe cfg.package} +Man!";
}; };
# Create quick aliases for launching Neovim # Create quick aliases for launching Neovim
@@ -66,7 +66,7 @@ in
lib.mkIf (pkgs.stdenv.isLinux && config.nmasur.presets.services.i3.enable) lib.mkIf (pkgs.stdenv.isLinux && config.nmasur.presets.services.i3.enable)
{ {
name = "Neovim wrapper"; name = "Neovim wrapper";
exec = "${lib.getExe config.nmasur.presets.services.i3.terminal} nvim %F"; # TODO: change to generic exec = ''${lib.getExe config.nmasur.presets.services.i3.terminal} --command="nvim %F"''; # TODO: change to generic
mimeType = [ mimeType = [
"text/plain" "text/plain"
"text/markdown" "text/markdown"

View File

@@ -29,6 +29,18 @@ in
doas nixos-rebuild switch --flake ${config.nmasur.presets.programs.dotfiles.path} doas nixos-rebuild switch --flake ${config.nmasur.presets.programs.dotfiles.path}
''; '';
}; };
rebuildNixosAndPause = lib.mkOption {
type = lib.types.package;
default = pkgs.writeShellScriptBin "rebuild-nixos-pause" ''
${lib.getExe cfg.commands.rebuildNixos} || read
'';
};
rebuildHomeAndPause = lib.mkOption {
type = lib.types.package;
default = pkgs.writeShellScriptBin "rebuild-home-pause" ''
${lib.getExe cfg.commands.rebuildHome} || read
'';
};
}; };
}; };

View File

@@ -22,6 +22,6 @@ in
# Broken on 2023-12-11 # Broken on 2023-12-11
# https://forum.obsidian.md/t/electron-25-is-now-eol-please-upgrade-to-a-newer-version/72878/8 # https://forum.obsidian.md/t/electron-25-is-now-eol-please-upgrade-to-a-newer-version/72878/8
# insecurePackages = [ "electron-25.9.0" ]; # allowInsecurePackages = [ "electron-36.9.5" ];
}; };
} }

View File

@@ -53,6 +53,8 @@ in
}; };
}; };
programs.ghostty.settings.initial-command = lib.getExe pkgs.zellij;
xdg.configFile."zellij/layouts/compact-top.kdl".text = # kdl xdg.configFile."zellij/layouts/compact-top.kdl".text = # kdl
'' ''
layout { layout {
@@ -85,7 +87,7 @@ in
enableFishIntegration = true; enableFishIntegration = true;
enableZshIntegration = true; enableZshIntegration = true;
attachExistingSession = true; attachExistingSession = true;
exitShellOnExit = false; exitShellOnExit = true;
settings = { settings = {
default_mode = "locked"; default_mode = "locked";
@@ -188,7 +190,20 @@ in
"bind \"Alt Shift j\"" = { "bind \"Alt Shift j\"" = {
Run = { Run = {
_args = [ _args = [
(lib.getExe pkgs.lazyjj) (lib.getExe pkgs.jjui)
];
close_on_exit = true;
floating = true;
x = "1%";
y = "1%";
width = "99%";
height = "99%";
};
};
"bind \"Alt Shift y\"" = {
Run = {
_args = [
(lib.getExe pkgs.yazi)
]; ];
close_on_exit = true; close_on_exit = true;
floating = true; floating = true;

View File

@@ -214,9 +214,9 @@ in
cfg.commands.lockScreen != null cfg.commands.lockScreen != null
) "exec ${cfg.commands.lockScreen}"; ) "exec ${cfg.commands.lockScreen}";
"${modifier}+Mod1+h" = "${modifier}+Mod1+h" =
''exec --no-startup-id ${lib.getExe cfg.terminal} --command="${pkgs.home-manager}/bin/home-manager switch --flake ${config.nmasur.presets.programs.dotfiles.path}#''${hostname} || read" ''; ''exec --no-startup-id ${lib.getExe cfg.terminal} -e "${lib.getExe config.nmasur.presets.programs.nixpkgs.commands.rebuildHome} '';
"${modifier}+Mod1+r" = "${modifier}+Mod1+r" =
"exec --no-startup-id ${lib.getExe cfg.terminal} --command='doas nixos-rebuild switch --flake ${config.nmasur.presets.programs.dotfiles.path} || read'"; "exec --no-startup-id ${lib.getExe cfg.terminal} -e ${lib.getExe config.nmasur.presets.programs.nixpkgs.commands.rebuildNixos}";
# Window options # Window options
"${modifier}+q" = "kill"; "${modifier}+q" = "kill";

View File

@@ -33,6 +33,7 @@ in
nmasur.presets = { nmasur.presets = {
programs = { programs = {
bat.enable = lib.mkDefault true; bat.enable = lib.mkDefault true;
chawan.enable = lib.mkDefault true;
fd.enable = lib.mkDefault true; fd.enable = lib.mkDefault true;
ripgrep.enable = lib.mkDefault true; ripgrep.enable = lib.mkDefault true;
starship.enable = lib.mkDefault true; starship.enable = lib.mkDefault true;

View File

@@ -19,6 +19,10 @@ in
pkgs.pgcli # Postgres client with autocomplete pkgs.pgcli # Postgres client with autocomplete
]; ];
nmasur.presets = {
programs.cargo.enable = lib.mkDefault true;
};
}; };
} }

View File

@@ -17,7 +17,6 @@ in
nmasur.presets.programs = { nmasur.presets.programs = {
zed-editor.enable = lib.mkDefault true; zed-editor.enable = lib.mkDefault true;
jujutsu.enable = lib.mkDefault true;
}; };
home.packages = [ home.packages = [
@@ -29,7 +28,7 @@ in
pkgs.charm # Manage account and filesystem pkgs.charm # Manage account and filesystem
pkgs.pop # Send emails from a TUI pkgs.pop # Send emails from a TUI
pkgs.chawan # Browser TUI pkgs.crush # AI LLM Agent
]; ];

View File

@@ -16,10 +16,11 @@ in
pkgs.age # Encryption pkgs.age # Encryption
pkgs.bc # Calculator pkgs.bc # Calculator
pkgs.bottom # System monitor (top) pkgs.bottom # System monitor (top)
pkgs.csvlens # CSV viewer (easier than visidata)
pkgs.delta # Fancy diffs pkgs.delta # Fancy diffs
pkgs.difftastic # Other fancy diffs pkgs.difftastic # Other fancy diffs
pkgs.doggo # DNS client (dig) pkgs.doggo # DNS client (dig)
pkgs.du-dust # Disk usage tree (ncdu) pkgs.dust # Disk usage tree (ncdu)
pkgs.dua # File sizes (du) pkgs.dua # File sizes (du)
pkgs.duf # Basic disk information (df) pkgs.duf # Basic disk information (df)
pkgs.jless # JSON viewer pkgs.jless # JSON viewer
@@ -42,7 +43,7 @@ in
programs.fish.shellAliases = { programs.fish.shellAliases = {
"du" = lib.mkDefault (lib.getExe pkgs.dua); "du" = lib.mkDefault (lib.getExe pkgs.dua);
"ncdu" = lib.mkDefault (lib.getExe pkgs.du-dust); "ncdu" = lib.mkDefault (lib.getExe pkgs.dust);
"df" = lib.mkDefault (lib.getExe pkgs.duf); "df" = lib.mkDefault (lib.getExe pkgs.duf);
# Use eza (exa) instead of ls for fancier output # Use eza (exa) instead of ls for fancier output
@@ -63,6 +64,7 @@ in
ghostty.enable = lib.mkDefault true; ghostty.enable = lib.mkDefault true;
git.enable = lib.mkDefault true; git.enable = lib.mkDefault true;
helix.enable = lib.mkDefault true; helix.enable = lib.mkDefault true;
jujutsu.enable = lib.mkDefault true;
lazygit.enable = lib.mkDefault true; lazygit.enable = lib.mkDefault true;
neovim.enable = lib.mkDefault true; neovim.enable = lib.mkDefault true;
nix-index.enable = lib.mkDefault true; nix-index.enable = lib.mkDefault true;

View File

@@ -49,6 +49,7 @@ in
aws-ssh.enable = lib.mkDefault true; aws-ssh.enable = lib.mkDefault true;
bash.enable = lib.mkDefault true; bash.enable = lib.mkDefault true;
bat.enable = lib.mkDefault true; bat.enable = lib.mkDefault true;
cargo.enable = lib.mkDefault true;
direnv.enable = lib.mkDefault true; direnv.enable = lib.mkDefault true;
dotfiles.enable = lib.mkDefault true; dotfiles.enable = lib.mkDefault true;
fd.enable = lib.mkDefault true; fd.enable = lib.mkDefault true;

View File

@@ -29,7 +29,7 @@ in
caps caps
) )
(defalias (defalias
escctrl (tap-hold-press 1000 1000 esc lctrl) escctrl (tap-hold-press 200 200 esc lctrl)
) )
(deflayer base (deflayer base
@escctrl @escctrl

View File

@@ -0,0 +1,40 @@
{ config, lib, ... }:
let
inherit (config.nmasur.settings) hostnames;
cfg = config.nmasur.presets.services.mealie;
in
{
options.nmasur.presets.services.mealie.enable = lib.mkEnableOption "mealie recipe manager";
config = lib.mkIf cfg.enable {
services.mealie = {
enable = true;
port = 9099;
database.createLocally = true;
listenAddress = "127.0.0.1";
};
nmasur.presets.services.caddy.routes = [
{
match = [ { host = [ hostnames.recipes ]; } ];
handle = [
{
handler = "reverse_proxy";
upstreams = [ { dial = "localhost:${builtins.toString config.services.mealie.port}"; } ];
}
];
}
];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ hostnames.recipes ];
# Point localhost to the local domain
networking.hosts."127.0.0.1" = [ hostnames.recipes ];
};
}

View File

@@ -2,7 +2,6 @@
# together with triggers. # together with triggers.
{ config, lib, ... }: { config, lib, ... }:
let let
inherit (config.nmasur.settings) hostnames; inherit (config.nmasur.settings) hostnames;
cfg = config.nmasur.presets.services.n8n; cfg = config.nmasur.presets.services.n8n;
@@ -18,18 +17,13 @@ in
services.n8n = { services.n8n = {
enable = true; enable = true;
webhookUrl = "https://${hostnames.n8n}"; environment = {
settings = { N8N_LISTEN_ADDRESS = "127.0.0.1";
listen_address = "127.0.0.1"; N8N_PORT = 5678;
port = 5678; N8N_EDITOR_BASE_URL = "https://${hostnames.n8n}";
}; };
}; };
systemd.services.n8n.environment = {
N8N_EDITOR_BASE_URL = config.services.n8n.webhookUrl;
};
# Configure Cloudflare DNS to point to this machine # Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ hostnames.n8n ]; services.cloudflare-dyndns.domains = [ hostnames.n8n ];
@@ -40,7 +34,9 @@ in
handle = [ handle = [
{ {
handler = "reverse_proxy"; handler = "reverse_proxy";
upstreams = [ { dial = "localhost:${builtins.toString config.services.n8n.settings.port}"; } ]; upstreams = [
{ dial = "localhost:${builtins.toString config.services.n8n.environment.N8N_PORT}"; }
];
} }
]; ];
} }

View File

@@ -17,7 +17,7 @@ in
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud31; # Required to specify package = pkgs.nextcloud32; # Required to specify
configureRedis = true; configureRedis = true;
datadir = "/data/nextcloud"; datadir = "/data/nextcloud";
database.createLocally = true; database.createLocally = true;

View File

@@ -30,9 +30,10 @@ in
karakeep.enable = lib.mkDefault true; karakeep.enable = lib.mkDefault true;
litestream.enable = lib.mkDefault true; litestream.enable = lib.mkDefault true;
mathesar.enable = lib.mkDefault true; mathesar.enable = lib.mkDefault true;
minecraft-server.enable = lib.mkDefault true; mealie.enable = lib.mkDefault true;
minecraft-server.enable = lib.mkDefault false;
n8n.enable = lib.mkDefault true; n8n.enable = lib.mkDefault true;
nix-autoupgrade.enable = lib.mkDefault false; # On by default for communications nix-autoupgrade.enable = lib.mkDefault true; # On by default for communications
ntfy-sh.enable = lib.mkDefault true; ntfy-sh.enable = lib.mkDefault true;
pgweb.enable = lib.mkDefault true; pgweb.enable = lib.mkDefault true;
postgresql.enable = lib.mkDefault true; postgresql.enable = lib.mkDefault true;