├── .github └── CODEOWNERS ├── .gitignore ├── .gitmodules ├── COPYING ├── README.md ├── bash-hello └── flake.nix ├── c-hello ├── Makefile.in ├── configure.ac ├── flake.nix └── hello.c ├── compat ├── default.nix └── shell.nix ├── dotnet ├── .analyzers │ └── analyzers.fsproj ├── .config │ └── dotnet-tools.json ├── .editorconfig ├── .gitattributes ├── .gitignore ├── HelloWorld.Test │ ├── HelloWorld.Test.fsproj │ └── TestProgram.fs ├── HelloWorld.sln ├── HelloWorld │ ├── HelloWorld.fsproj │ └── Program.fs ├── README.md ├── flake.lock ├── flake.nix └── nix │ └── deps.nix ├── empty └── flake.nix ├── flake.nix ├── full └── flake.nix ├── go-hello ├── flake.nix ├── go.mod └── main.go ├── haskell-flake ├── README.md ├── example.cabal ├── flake.nix └── src │ └── Main.hs ├── haskell-hello ├── Main.hs ├── flake.nix └── package.yaml ├── haskell.nix ├── LICENSE ├── Setup.hs ├── flake.nix ├── hello.cabal ├── nix │ └── hix.nix └── src │ └── hello.hs ├── hercules-ci ├── ci.nix ├── flake-compat.nix └── flake.nix ├── latexmk ├── README.md ├── default.nix ├── flake.nix ├── main.tex └── references.bib ├── pandoc-xelatex ├── README.md └── flake.nix ├── python ├── README.md ├── flake.nix ├── poetry.lock ├── pyproject.toml └── sample_package │ ├── __init__.py │ └── __main__.py ├── ruby ├── Gemfile ├── Gemfile.lock ├── README.md ├── default.nix ├── flake.lock ├── flake.nix ├── gemset.nix └── shell.nix ├── rust-web-server ├── Cargo.lock ├── Cargo.toml ├── flake.nix └── src │ └── main.rs ├── rust ├── .envrc ├── .github │ └── workflows │ │ └── build_nix.yml ├── default.nix ├── flake.nix └── shell.nix ├── simple-container └── flake.nix ├── trivial └── flake.nix ├── typescript ├── pnpm-p5js │ ├── .envrc │ ├── dist │ │ └── index.html │ ├── flake.nix │ ├── package.json │ ├── src │ │ └── index.ts │ ├── tsconfig.json │ └── webpack.config.js └── pnpm │ ├── .envrc │ ├── dist │ └── index.html │ ├── flake.nix │ ├── package.json │ ├── src │ └── index.ts │ ├── tsconfig.json │ └── webpack.config.js └── utils-generic ├── .envrc └── flake.nix /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | result 2 | */flake.lock 3 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/COPYING -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/README.md -------------------------------------------------------------------------------- /bash-hello/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/bash-hello/flake.nix -------------------------------------------------------------------------------- /c-hello/Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/c-hello/Makefile.in -------------------------------------------------------------------------------- /c-hello/configure.ac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/c-hello/configure.ac -------------------------------------------------------------------------------- /c-hello/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/c-hello/flake.nix -------------------------------------------------------------------------------- /c-hello/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/c-hello/hello.c -------------------------------------------------------------------------------- /compat/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/compat/default.nix -------------------------------------------------------------------------------- /compat/shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/compat/shell.nix -------------------------------------------------------------------------------- /dotnet/.analyzers/analyzers.fsproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/.analyzers/analyzers.fsproj -------------------------------------------------------------------------------- /dotnet/.config/dotnet-tools.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/.config/dotnet-tools.json -------------------------------------------------------------------------------- /dotnet/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/.editorconfig -------------------------------------------------------------------------------- /dotnet/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/.gitattributes -------------------------------------------------------------------------------- /dotnet/.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | result 4 | *.DotSettings.user 5 | .idea/ 6 | .analyzerpackages/ 7 | -------------------------------------------------------------------------------- /dotnet/HelloWorld.Test/HelloWorld.Test.fsproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/HelloWorld.Test/HelloWorld.Test.fsproj -------------------------------------------------------------------------------- /dotnet/HelloWorld.Test/TestProgram.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/HelloWorld.Test/TestProgram.fs -------------------------------------------------------------------------------- /dotnet/HelloWorld.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/HelloWorld.sln -------------------------------------------------------------------------------- /dotnet/HelloWorld/HelloWorld.fsproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/HelloWorld/HelloWorld.fsproj -------------------------------------------------------------------------------- /dotnet/HelloWorld/Program.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/HelloWorld/Program.fs -------------------------------------------------------------------------------- /dotnet/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/README.md -------------------------------------------------------------------------------- /dotnet/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/flake.lock -------------------------------------------------------------------------------- /dotnet/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/flake.nix -------------------------------------------------------------------------------- /dotnet/nix/deps.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/dotnet/nix/deps.nix -------------------------------------------------------------------------------- /empty/flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | outputs = { self }: { }; 3 | } 4 | -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/flake.nix -------------------------------------------------------------------------------- /full/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/full/flake.nix -------------------------------------------------------------------------------- /go-hello/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/go-hello/flake.nix -------------------------------------------------------------------------------- /go-hello/go.mod: -------------------------------------------------------------------------------- 1 | module example.com/go-hello 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /go-hello/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/go-hello/main.go -------------------------------------------------------------------------------- /haskell-flake/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell-flake/README.md -------------------------------------------------------------------------------- /haskell-flake/example.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell-flake/example.cabal -------------------------------------------------------------------------------- /haskell-flake/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell-flake/flake.nix -------------------------------------------------------------------------------- /haskell-flake/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell-flake/src/Main.hs -------------------------------------------------------------------------------- /haskell-hello/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell-hello/Main.hs -------------------------------------------------------------------------------- /haskell-hello/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell-hello/flake.nix -------------------------------------------------------------------------------- /haskell-hello/package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell-hello/package.yaml -------------------------------------------------------------------------------- /haskell.nix/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell.nix/LICENSE -------------------------------------------------------------------------------- /haskell.nix/Setup.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell.nix/Setup.hs -------------------------------------------------------------------------------- /haskell.nix/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell.nix/flake.nix -------------------------------------------------------------------------------- /haskell.nix/hello.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell.nix/hello.cabal -------------------------------------------------------------------------------- /haskell.nix/nix/hix.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell.nix/nix/hix.nix -------------------------------------------------------------------------------- /haskell.nix/src/hello.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/haskell.nix/src/hello.hs -------------------------------------------------------------------------------- /hercules-ci/ci.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/hercules-ci/ci.nix -------------------------------------------------------------------------------- /hercules-ci/flake-compat.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/hercules-ci/flake-compat.nix -------------------------------------------------------------------------------- /hercules-ci/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/hercules-ci/flake.nix -------------------------------------------------------------------------------- /latexmk/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/latexmk/README.md -------------------------------------------------------------------------------- /latexmk/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/latexmk/default.nix -------------------------------------------------------------------------------- /latexmk/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/latexmk/flake.nix -------------------------------------------------------------------------------- /latexmk/main.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/latexmk/main.tex -------------------------------------------------------------------------------- /latexmk/references.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/latexmk/references.bib -------------------------------------------------------------------------------- /pandoc-xelatex/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/pandoc-xelatex/README.md -------------------------------------------------------------------------------- /pandoc-xelatex/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/pandoc-xelatex/flake.nix -------------------------------------------------------------------------------- /python/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/python/README.md -------------------------------------------------------------------------------- /python/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/python/flake.nix -------------------------------------------------------------------------------- /python/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/python/poetry.lock -------------------------------------------------------------------------------- /python/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/python/pyproject.toml -------------------------------------------------------------------------------- /python/sample_package/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/sample_package/__main__.py: -------------------------------------------------------------------------------- 1 | if __name__ == "__main__": 2 | print("Hello, world!") -------------------------------------------------------------------------------- /ruby/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem 'r10k' 4 | -------------------------------------------------------------------------------- /ruby/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/ruby/Gemfile.lock -------------------------------------------------------------------------------- /ruby/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/ruby/README.md -------------------------------------------------------------------------------- /ruby/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/ruby/default.nix -------------------------------------------------------------------------------- /ruby/flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/ruby/flake.lock -------------------------------------------------------------------------------- /ruby/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/ruby/flake.nix -------------------------------------------------------------------------------- /ruby/gemset.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/ruby/gemset.nix -------------------------------------------------------------------------------- /ruby/shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/ruby/shell.nix -------------------------------------------------------------------------------- /rust-web-server/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/rust-web-server/Cargo.lock -------------------------------------------------------------------------------- /rust-web-server/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/rust-web-server/Cargo.toml -------------------------------------------------------------------------------- /rust-web-server/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/rust-web-server/flake.nix -------------------------------------------------------------------------------- /rust-web-server/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/rust-web-server/src/main.rs -------------------------------------------------------------------------------- /rust/.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /rust/.github/workflows/build_nix.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/rust/.github/workflows/build_nix.yml -------------------------------------------------------------------------------- /rust/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/rust/default.nix -------------------------------------------------------------------------------- /rust/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/rust/flake.nix -------------------------------------------------------------------------------- /rust/shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/rust/shell.nix -------------------------------------------------------------------------------- /simple-container/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/simple-container/flake.nix -------------------------------------------------------------------------------- /trivial/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/trivial/flake.nix -------------------------------------------------------------------------------- /typescript/pnpm-p5js/.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /typescript/pnpm-p5js/dist/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm-p5js/dist/index.html -------------------------------------------------------------------------------- /typescript/pnpm-p5js/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm-p5js/flake.nix -------------------------------------------------------------------------------- /typescript/pnpm-p5js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm-p5js/package.json -------------------------------------------------------------------------------- /typescript/pnpm-p5js/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm-p5js/src/index.ts -------------------------------------------------------------------------------- /typescript/pnpm-p5js/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm-p5js/tsconfig.json -------------------------------------------------------------------------------- /typescript/pnpm-p5js/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm-p5js/webpack.config.js -------------------------------------------------------------------------------- /typescript/pnpm/.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /typescript/pnpm/dist/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm/dist/index.html -------------------------------------------------------------------------------- /typescript/pnpm/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm/flake.nix -------------------------------------------------------------------------------- /typescript/pnpm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm/package.json -------------------------------------------------------------------------------- /typescript/pnpm/src/index.ts: -------------------------------------------------------------------------------- 1 | import _ from 'lodash' 2 | 3 | console.log(_.join(['Hello', 'webpack'], ' ')) -------------------------------------------------------------------------------- /typescript/pnpm/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm/tsconfig.json -------------------------------------------------------------------------------- /typescript/pnpm/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/typescript/pnpm/webpack.config.js -------------------------------------------------------------------------------- /utils-generic/.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /utils-generic/flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixOS/templates/HEAD/utils-generic/flake.nix --------------------------------------------------------------------------------