Skip to content

Commit

Permalink
devbox commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wardnath committed Oct 1, 2024
1 parent b04f613 commit 7aa0b98
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ auto_sync = true
# update_check = true

## address of the sync server
# sync_address = "ATUIN_SYNC_ADDRESS"
sync_address = "{{ (ejsonDecrypt "params.ejson").atuin_sync_address }}"

## how often to sync history. note that this is only triggered when a command
## is ran, so sync intervals may well be longer
Expand Down
3 changes: 3 additions & 0 deletions chezmoi/dot_config/complgen/ejson.usage.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
| --keydir "value, -k value Directory containing EJSON keys (default: "/opt/ejson/keys") [$EJSON_KEYDIR]"
| --help, "-h show help"
| --version, "-v print the version"
5 changes: 5 additions & 0 deletions chezmoi/params.ejson
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"_public_key": "84df57e9194c9fbf2575b743a296ecb8ac5ecf2e541ab4d06cab7ff8ac47296d",
"test_secret": "EJ[1:pva1Mov4e1il/hC/1Qa/bMqTHmw2gzKta2dZswimeXE=:bko2sLvC9KFPSiPxKgi6GZAW/SK78PaQ:l8xYlAwEWZPa0UQLZyzBVD6aBA8ja1noQj7sMQs4OlUmliLsUzwOkE7AtOIq]",
"atuin_sync_address": "EJ[1:71zL5uu4NsxQS1YwXCksr86pOSYCfhCNT0Qy7L9a2VU=:mP+RCAIRzkteYD0YbsF6W8RYavCmaCXh:EYcbbr5iBoUB7PyGgHWSZ7lsaxRCvOVH2wYGvZ0lWkYya20O1qnzAgK2Ye9NwDd6KAp5/V0NkX7aUUXCr3K2wz1cuXhYeL8i]"
}
3 changes: 2 additions & 1 deletion devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"rclone@latest",
"ollama@latest",
"sqlite@latest",
"oterm@latest"
"oterm@latest",
"ejson@latest"
],
"env": {
"DEVBOX_GLOBAL_PREFIX": "$HOME/.local/share/devbox/global/default/.devbox/nix/profile/default",
Expand Down
48 changes: 48 additions & 0 deletions devbox.lock
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,54 @@
}
}
},
"ejson@latest": {
"last_modified": "2024-09-28T02:58:32Z",
"resolved": "github:NixOS/nixpkgs/4471f9f67fe0f95f5fec4cc2ebac59fe32af2b62#ejson",
"source": "devbox-search",
"version": "1.5.2",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/ah5vgsx87b7d9s552qivw34kipcs0mv9-ejson-1.5.2",
"default": true
}
],
"store_path": "/nix/store/ah5vgsx87b7d9s552qivw34kipcs0mv9-ejson-1.5.2"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/64k6m5m8wdsyzacv7nracs6ajzcf2iwm-ejson-1.5.2",
"default": true
}
],
"store_path": "/nix/store/64k6m5m8wdsyzacv7nracs6ajzcf2iwm-ejson-1.5.2"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/015wcqyrrkqppx48cva1rv4f0q5nis2g-ejson-1.5.2",
"default": true
}
],
"store_path": "/nix/store/015wcqyrrkqppx48cva1rv4f0q5nis2g-ejson-1.5.2"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/xjb7qh8pbvn8af4dzmiszmpvcbj5nz5v-ejson-1.5.2",
"default": true
}
],
"store_path": "/nix/store/xjb7qh8pbvn8af4dzmiszmpvcbj5nz5v-ejson-1.5.2"
}
}
},
"eza@latest": {
"last_modified": "2024-09-20T05:11:28Z",
"resolved": "github:NixOS/nixpkgs/79454ee9aacc9714653a4e7eb2a52b717728caff#eza",
Expand Down

0 comments on commit 7aa0b98

Please sign in to comment.