https://github.com/gitpod-io/template-nixos
The NixOS template, configured for Gitpod (www.gitpod.io) to give you pre-built, nix based ephemeral operating system environments in the cloud.
https://github.com/gitpod-io/template-nixos
direnv gitpod nixos nixpkgs template
Last synced: 4 months ago
JSON representation
The NixOS template, configured for Gitpod (www.gitpod.io) to give you pre-built, nix based ephemeral operating system environments in the cloud.
- Host: GitHub
- URL: https://github.com/gitpod-io/template-nixos
- Owner: gitpod-io
- License: mit
- Created: 2021-08-04T10:52:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-18T14:05:35.000Z (about 2 years ago)
- Last Synced: 2025-01-31T12:51:23.589Z (4 months ago)
- Topics: direnv, gitpod, nixos, nixpkgs, template
- Language: Nix
- Homepage:
- Size: 9.77 KB
- Stars: 38
- Watchers: 10
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A NixOS template on Gitpod
This is a [nix operating system](https://nixos.org/) template configured for ephemeral nix based development environments on [Gitpod](https://www.gitpod.io/).
## Next Steps
Click the button below to start a new development environment:
[](https://gitpod.io/#https://github.com/gitpod-io/template-nixos)
## Get Started With Your Own Project
### A new project
Click the above "Open in Gitpod" button to start a new workspace. Once you're ready to push your first code changes, Gitpod will guide you to fork this project so you own it.
### An existing project
To get started with NixOS on Gitpod, copy the contents of this folder to your own project. To learn more, please see the [Getting Started](https://www.gitpod.io/docs/getting-started) documentation.
## Notes & caveats
Host `/workspace` dir is mounted inside guest, docker is installed and user-groups are mapped.
You can press `Ctrl + a` and then `x` to terminate/exit NixOS. You may run `make start` to restart it.
NixOS is configured as per [./configuration.nix](./configuration.nix), you can modify it as needed.
See also: [An opinionated guide for developers getting things done using the nix ecosystem](https://nix.dev/).