NixOS is a Linux-based operating system. It uses a unique approach to package management and system configuration. This design allows users to manage software and settings cleanly and consistently. NixOS…
Nix Home-Manager
Introduction Nix is a powerful package manager for Linux and other Unix-based systems. It offers reliable installations through atomic operations, which eliminates the chance of broken applications due to interrupted…
Nix Darwin
Introducing Nix Darwin Nix Darwin stands as powerful tool in package management for macOS. An open-source project, Nix Darwin is the brainchild of the wider Nix community, a group dedicated…
Nix and NixOS
Understanding Nix Nix is a unique package management system that supports Linux and MacOS. It became public in 2004 after Eelco Dolstra developed it as part of his Ph.D. research…
Implementing linux quotas on NixOS
Here I’ll only show you how to set user quotas. You can easily also add group quotas by adding e.g. grpquota to the fileSystem.options list and then configure the group…
Tips on reading the systemd journal logs
When looking at logs, you should almost always add the –utc flag or check server’s local time (timedatectl status). It should always be UTC (timedatectl set-timezone UTC). Why? Because when…
NixOS Configuration
This is my compact version of NixOS Configuration chapter that can be found on the NixOS Manual. I’ve added and modified a few things. NixOS Configuration File The NixOS configuration…
Short introduction to Nix, NixOS and NixOps
NixOps: Declarative Provisioning and Deployment It is declarative. There is no difference between doing a new deployment or doing an upgrade of an existing deployment. The resulting machine configurations will…
[NixCon 2019] Reading Nix expressions (notes)
This are my notes from the Reading Nix expressions talk in NixCon 2019. Nix package language has a similar syntax to the "JSON meets functional language concepts". E.g. you have…
Create a new package in Go using Go Modules
Go Modules The purpose of this post is to give a very simple example and instructions on how to create a Go package with the Go Modules. Create a new…



