brain

Home

❯

OSS

❯

nixzer

nixzer

Properties12
descriptionSyscall based codemod to convert ansible and bash to nix, correctly?
statusseedling
typesource
created2026-10-08
updated2026-10-08
tagsoss
aliases
sourcehttps://github.com/sambacha/nixzer
docs_urlhttps://github.com/sambacha/nixzer/wiki
languagePython
stars3
public

2026-10-081 min read

  • nixer Syscall-based Nix codemod
  • Core Components
  • NixTraceCollector
  • References

Branches Tags

5 Commits

NameName

Last commit message

Last commit date

.github

.github

data

data

docs

docs

examples

examples

lib

lib

nix

nix

tests

tests

traces/ltrace

traces/ltrace

tutorials

tutorials

.dockerignore

.dockerignore

.gitignore

.gitignore

.python-version

.python-version

AntlrDockerfile

AntlrDockerfile

Dockerfile

Dockerfile

Pipfile

Pipfile

Pipfile.lock

Pipfile.lock

README.md

README.md

StraceLexer.g4

StraceLexer.g4

StraceParser.g4

StraceParser.g4

TECHNICAL.md

TECHNICAL.md

ansible_to_nix.py

ansible_to_nix.py

demo_dozer_approach.py

demo_dozer_approach.py

docker-compose.yml

docker-compose.yml

dozer.py

dozer.py

flake.nix

flake.nix

main.py

main.py

makefile

makefile

migrate.nix

migrate.nix

nix_generation.png

nix_generation.png

nix_output.png

nix_output.png

parsing_analysis.png

parsing_analysis.png

pyproject.toml

pyproject.toml

simple_converter.py

simple_converter.py

systrace_input.png

systrace_input.png

systrace_to_nix_pipeline.png

systrace_to_nix_pipeline.png

uv.lock

uv.lock

View all files

nixer Syscall-based Nix codemod

Syscall-based migration of Ansible playbooks to Nix configurationss

Core Components

NixTraceCollector

# Captures build-time and runtime syscalls
nix_trace = trace_nix_build(derivation)

Warning

Experiemental

References

Based on Dozer, by Horton et, al. 2022

see paper in docs/ dir


Graph View

Backlinks

  • Codemod
  • Nix - package manager

Created with Quartz v5.0.0 © 2026