https://github.com/aarnphm/detachtools

detach from your setups via nix

https://github.com/aarnphm/detachtools

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

detach from your setups via nix

Basic Info
  • Host: GitHub
  • Owner: aarnphm
  • License: apache-2.0
  • Language: Nix
  • Default Branch: main
  • Homepage:
  • Size: 3.02 MB
Statistics
  • Stars: 5
  • Watchers: 0
  • Forks: 1
  • Open Issues: 1
  • Releases: 5
Created over 4 years ago · Last pushed 11 months ago
Metadata Files
Readme License

.github/README.md

detachtools

Setting up environment shouldn't be this hard

installations.

```bash curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

nix run github:aarnphm/detachtools#bootstrap -- darwin # or ubuntu nix run github:aarnphm/detachtools#lambda -- --help # Run CLI to interact with Lambda Cloud ```

Stack:

  • atuin to manage shell history
  • gh + git + eza
  • fzf + zsh + rg + neovim + fd + nix to manage setup across multiple systems.

bootstrap.

bootstrap is a helper to run a few tools on setup or rebuild based on Linux/Darwin. It is a wrapper around nix-darwin/home-manager functionality, albeit it behaves somewhat the same with a few additional flags/optimization. Ofc you can just run nix run home-manager or nix run nix-darwin/master#darwin-rebuild, but I'm lazy...

bash nix run github:aarnphm/detachtools#bootstrap -- <darwin|ubuntu> --flake ~/workspace/detachtools # or any flake uri

notes.

I also include some standalone tools that can be installed, such as lambda.

Some packages include certain override:

  • gvim: This will add support for remote via --address. More information with gvim -h
  • to add a new derivation, uses nix run github:nix-community/nix-init -- -u <url> -n ./overlays
  • to run update, uses nix run github:Mic92/nix-update

On MacOS, to add support to Ghostty, we have to build in impure mode for now

lambda.

If you don't use Nix or only need the lambda tool, you can install it directly:

bash curl -sSfL https://raw.githubusercontent.com/aarnphm/detachtools/main/install.sh | bash

This will default to check whether nix is available on your system, and thus recommends the default nix way to install this binary. However, if you wish to bypass this check, do the following:

bash curl -sSfL https://raw.githubusercontent.com/aarnphm/detachtools/main/install.sh | bash -s -- --force-install

Owner

  • Name: Aaron Pham
  • Login: aarnphm
  • Kind: user
  • Location: Toronto, Canada

GitHub Events

Total
  • Release event: 2
  • Watch event: 2
  • Push event: 103
  • Pull request event: 1
  • Create event: 2
Last Year
  • Release event: 2
  • Watch event: 2
  • Push event: 103
  • Pull request event: 1
  • Create event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 536
  • Total Committers: 2
  • Avg Commits per committer: 268.0
  • Development Distribution Score (DDS): 0.353
Past Year
  • Commits: 441
  • Committers: 2
  • Avg Commits per committer: 220.5
  • Development Distribution Score (DDS): 0.42
Top Committers
Name Email Commits
Aaron Pham c****t@a****z 347
github-actions[bot] g****] 189
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 minute
  • Total issue authors: 0
  • Total pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • grahamc (2)
  • aarnphm (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/update.yml actions
  • actions/checkout a5ac7e51b41094c92402da3b24376905380afc29 composite
  • cachix/install-nix-action 8887e596b4ee1134dae06b98d573bd674693f47c composite