Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

week 5: diogotc-tmbpe demo proposal #2400

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

diogotcorreia
Copy link
Contributor

Assignment Proposal

Title

Declarative and reproducible deployments with NixOS

Names and KTH ID

Deadline

Week 5

Category

Demo

Description

NixOS is an immutable Linux distribution that aims to be reproducible and declarative thanks to the underlying Nix functional language. Through the Nix language, it is possible to declare all aspects of a system, ensuring that the result will always be the same, no matter when or where
the system configuration is deployed. Other properties of NixOS include easy rollbacks, dependency pinning for each package, specialisations, cleanup of previous configurations, and more.

In this demo, we will show the audience how to deploy a fully-configured NixOS system in seconds, using tools like nixos-anywhere to bootstrap the installation and disko to declare disk partitions.

Relevance

NixOS (and the associated Nix language and Nixpkgs package repository) are the pinnacle of Infrastructure as Code, allowing for a system to be completely defined through Nix code. This makes similar deployments extremely easy and scalable, as Nix code can be shared between many hosts. Additionally, updates to packages and configuration can be performed in bulk or in a CI/CD system and copied to the resulting systems.

@algomaster99
Copy link
Collaborator

Hi @diogotcorreia ! Very nice demo and I am looking forward to it.

@algomaster99 algomaster99 merged commit 72aa16a into KTH:2024 Sep 4, 2024
2 checks passed
@algomaster99
Copy link
Collaborator

@diogotcorreia @Pesteves2002 there is also a cool paper on this - Reproducibility of Build Environments through Space and Time. If you ever see me in person in lecture or lab, do reach out to me, I would love to discuss more on such topics! 😄

@diogotcorreia diogotcorreia deleted the diogotc-tmbpe-demo branch September 4, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants