Abhinav Sarkar

Abhinav Sarkar

@abhinavsarkar

Managing Personal Servers with Nix

Submitted Oct 28, 2024

We software developers work on big scalable complex distributed systems in our day job. But some of us also like to run small personal servers to run some software for personal use, and we’d like this setup to be simple, yet reliable. Enter Nix, which lets us do this declaratively.

Nix is a system configuration language and package manager that is used to configure systems running on NixOS, an operating system based on Nix. NixOS also boasts of having the largest package repository of any OSes, the NixPkgs.

In this session, we’ll do a quick overview of:

  • What are Nix, NixOS and NixPkgs.
  • How to write system configurations in Nix, and deploy them to a server.
  • How to maintain a server running NixOS.
  • The good and bad sides of Nix.
  • Some tips and tricks.

Alongside, we’ll also see a live demo of creating and deploying a personal server from scratch, running a Go service behind an HTTP proxy, and a periodic job running using Systemd, all configured in Nix.

This session is for all of those who run personal servers, or would like to do so, with minimal hassle and maximum reliability.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

We care about site reliability, cloud costs, security and data privacy

Supported by

Platinum Sponsor

Nutanix is a global leader in cloud software, offering organizations a single platform for running apps and data across clouds.

Platinum Sponsor

PhonePe was founded in December 2015 and has emerged as India’s largest payments app, enabling digital inclusion for consumers and merchants alike.

Silver Sponsor

The next-gen analytics engine for heavy workloads.

Sponsor

Community sponsor

Peak XV Partners (formerly Sequoia Capital India & SEA) is a leading venture capital firm investing across India, Southeast Asia and beyond.

Venue host - Rootconf workshops

Thoughtworks is a pioneering global technology consultancy, leading the charge in custom software development and technology innovation.

Community Partner

FOSS United is a non-profit foundation that aims at promoting and strengthening the Free and Open Source Software (FOSS) ecosystem in India. more

Community Partner

A community of Rust language contributors and end-users from Bangalore. We have presence on the following telegram channels https://t.me/RustIndia https://t.me/fpncr LinkedIn: https://www.linkedin.com/company/rust-india/ Twitter (not updated frequently): https://twitter.com/rustlangin more