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…
Trojan horse
A Trojan horse is a computer program that is downloaded into a victim’s computer with the intention of disguising itself and collecting information, corrupting the computer, installing other malicious programs…
Business Operations simulations – Tackling the Gantt Chart
Many companies have a project management tool that allows them to create and maintain the Gantt Chart and other chart-based project management tools. But for those who have never used…
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…
Nix package manager
Few good articles: Domen’s article Getting started with Nix package manager. Nix and Python. Nix and Python user guide. Nix – The Purely Functional Package Manager for Linux. Nix for…
Allow root access without password
First add a user: $ sudo adduser ubuntu $ sudo usermod -aG sudo ubuntu Edit sudoser file with visudo (edit the sudoers file in a safe fashion). $ sudo visudo…