on master help sign in
Rename image to nix-container
commit61d02fb6e1e88be7ceee4c93c15b77b06c53f6ac authoriko <mail@iko.soy> dateSat 27 Jun 2026, 20:31 (3 months ago) parent3c7da73
3 files changed+7−7
README.md+5−5 c+1−1 flake.nix+1−1
README.md+5−5
@@ -30,7 +30,7 @@ prompt), and the image ships a handful of dev/LLM tools: `git`, `jujutsu`,
3030
3131`nix run` builds the Linux contents (on your Linux builder) and writes a tagged
3232OCI archive locally via `skopeo`. Pass the output path; the image is tagged
33−`nixos-container:latest`.
33+`nix-container:latest`.
3434
3535```sh
3636nix run . -- image.tar.gz
@@ -45,7 +45,7 @@ container image load --input image.tar.gz
4545### 3. Create and start the container
4646
4747```sh
48−container create --name nixos --ssh -it nixos-container:latest
48+container create --name nixos --ssh -it nix-container:latest
4949container start -ai nixos
5050```
5151
@@ -72,9 +72,9 @@ new build, remove the old ones first:
7272```sh
7373nix run . -- image.tar.gz # rebuild the archive
7474container rm nixos # remove the old container (stop it first if running)
75−container image rm nixos-container:latest
75+container image rm nix-container:latest
7676container image load --input image.tar.gz
77−container create --name nixos --ssh -it nixos-container:latest
77+container create --name nixos --ssh -it nix-container:latest
7878container start -ai nixos
7979```
8080
@@ -85,7 +85,7 @@ container start -ai nixos
8585
8686```sh
8787nix run .#copyTo -- docker://ghcr.io/me/nixos:latest # push to a registry
88−nix run .#copyTo -- docker-daemon:nixos-container:latest # local Docker daemon
88+nix run .#copyTo -- docker-daemon:nix-container:latest # local Docker daemon
8989```
9090
9191## Customize
c+1−1
@@ -7,7 +7,7 @@ set -l name (path basename $PWD)
77
88switch $argv[1]
99 case init
10− container create --name $name --ssh -it $argv[2..-1] nixos-container:latest
10+ container create --name $name --ssh -it $argv[2..-1] nix-container:latest
1111 case start
1212 container start -ai $name
1313 case '*'
flake.nix+1−1
@@ -75,7 +75,7 @@
7575 # skopeo writes the OCI archive's ref.name from the *destination*
7676 # string, not from the image config — so the wrapper app must spell
7777 # these out, else the archive loads as `untagged`.
78− imageName = "nixos-container";
78+ imageName = "nix-container";
7979 imageTag = "latest";
8080
8181 # Fish prompt config, installed at /root/.config/fish/config.fish