No description
  • Nix 48.5%
  • Python 41.6%
  • TypeScript 4.3%
  • Shell 3%
  • Rust 1.4%
  • Other 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-29 20:11:24 +08:00
.vscode Autocommit from gjz010-nixos-laptop-mechrevo on 2025年 03月 28日 星期五 08:55:36 CST 2025-08-09 23:18:05 +08:00
channel chore: checkpoint infrastructure and GPU workflows before relocation 2026-10-29 19:47:47 +08:00
clan chore: checkpoint infrastructure and GPU workflows before relocation 2026-10-29 19:47:47 +08:00
docs feat(nixos-desktop): prepare Btrfs system disk migration 2026-10-29 20:11:24 +08:00
flakemodules fmt: nix fmt 2025-01-06 01:15:50 +08:00
home-modules chore: checkpoint current infrastructure and migration research 2026-10-13 23:26:37 +08:00
machines feat(nixos-desktop): prepare Btrfs system disk migration 2026-10-29 20:11:24 +08:00
modules chore: checkpoint infrastructure and GPU workflows before relocation 2026-10-29 19:47:47 +08:00
scratch Autocommit from nixos-desktop on 2025年 03月 10日 星期一 21:11:09 CST: nixos-laptop-mechrevo 2025-03-10 21:11:09 +08:00
scripts chore: checkpoint infrastructure and GPU workflows before relocation 2026-10-29 19:47:47 +08:00
secrets/nebula feat(nebula): renew certificates and enable dual-stack overlay 2026-09-26 09:31:05 +08:00
static fix: logo 2025-09-09 21:29:32 +08:00
tests chore: checkpoint infrastructure and GPU workflows before relocation 2026-10-29 19:47:47 +08:00
workers/nebula-bootstrap feat(network): preserve multi-transport infrastructure and bootstrap 2026-10-04 11:28:09 +08:00
.envrc devshell 2024-07-16 23:18:02 +08:00
.gitignore chore: checkpoint current infrastructure and migration research 2026-10-13 23:26:37 +08:00
CONTEXT.md chore: checkpoint infrastructure and GPU workflows before relocation 2026-10-29 19:47:47 +08:00
default.nix fmt: nix fmt 2025-01-06 01:15:50 +08:00
deno.jsonc fmt 2025-01-06 01:15:50 +08:00
deno.lock fmt 2025-01-06 01:15:50 +08:00
flake.lock chore: checkpoint infrastructure and GPU workflows before relocation 2026-10-29 19:47:47 +08:00
flake.nix chore: checkpoint infrastructure and GPU workflows before relocation 2026-10-29 19:47:47 +08:00
justfile feat(network): preserve multi-transport infrastructure and bootstrap 2026-10-04 11:28:09 +08:00
README.md feat(network): preserve multi-transport infrastructure and bootstrap 2026-10-04 11:28:09 +08:00

nixos-config

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