- Nix 48.5%
- Python 41.6%
- TypeScript 4.3%
- Shell 3%
- Rust 1.4%
- Other 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .vscode | ||
| channel | ||
| clan | ||
| docs | ||
| flakemodules | ||
| home-modules | ||
| machines | ||
| modules | ||
| scratch | ||
| scripts | ||
| secrets/nebula | ||
| static | ||
| tests | ||
| workers/nebula-bootstrap | ||
| .envrc | ||
| .gitignore | ||
| CONTEXT.md | ||
| default.nix | ||
| deno.jsonc | ||
| deno.lock | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| README.md | ||
Use packages
I've packaged a few software, free and proprietary.
# Run Icalingua++.
nix run github:gjz010/nix-channel#icalinguapp
# Run WeChat for UOS. ABSOLUTELY PROPRIETARY!
NIXPKGS_ALLOW_UNFREE=1 NIXPKGS_ALLOW_INSECURE=1 nix run github:gjz010/nix-channel#wechat-uos --impure
# Run Wemeet. ABSOLUTELY PROPRIETARY!
NIXPKGS_ALLOW_UNFREE=1 nix run github:gjz010/nix-channel#wemeetapp --impure
Use as Nixpkgs overlay
Flake users
{
description = "Some Nix Flake configuration, for example, the one for home-manager.";
inputs.gjz010={
url = "github:gjz010/nixos-config";
inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, gjz010 }: let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system; overlays = [ gjz010.overlays.default ]; };
in {
devShell.x86_64-linux = pkgs.mkShell {
buildInputs = [ pkgs.gjz010.pkgs.icalinguapp ];
};
};
}
Non-Flake users
nix-channel --add https://github.com/gjz010/nix-channel/archive/refs/heads/main.tar.gz gjz010
nix-channel --update gjz010
nix-build -E "let pkgs = import <nixpkgs> {overlays = [(import <gjz010>)];}; in pkgs.gjz010.pkgs.icalinguapp"
Local Clan Secrets WebUI (dev tool)
The clan-webui flake input is pinned to the upstream Clan Secrets Manager package, which ships both the clan-webui server and the clanwebuictl
login-approval CLI. The dev shell provides both on PATH:
nix develop
# clan-webui takes no options; running it starts the server.
command -v clan-webui clanwebuictl
# clanwebuictl is a Clap CLI and supports --help without logging in.
clanwebuictl login --help
Start the server on loopback against this checkout (paths are derived from the repository, never hard-coded):
just clan-webui
The wrapper sets CLANWEBUI_CLAN_FLAKE and CLANWEBUI_CLAN_DIR to this working copy and always binds 127.0.0.1. CLANWEBUI_PORT is the only override
(default 8080); IP, PORT and CLANWEBUI_PUBLIC_ORIGIN are pinned to 127.0.0.1:<port> so the bind address and origin cannot drift apart. It is a local
development entry only: it does not deploy a service, log in, decrypt, commit or push. See docs/research/clan-webui-integration.md for the integration notes.
Tar closure bundler
nix bundle --bundler github:gjz010/nix-channel#toTarball nixpkgs#hello
Flake templates
Usage: nix flake init -t github:gjz010/nix-channel#<TEMPLATE>.
| Template | Description |
|---|---|
| dream2nix-nodejs-rollup-typescript-bin | Using dream2nix to package a binary built using rollup and Typescript. |
| nixos-with-flake | A NixOS configuration using Flake and home-manager. See here |
