Tux Machines

Do you waddle the waddle?

Other Sites

LinuxGizmos.com

Modos Paper Monitor Brings High-Speed E-Paper to Developers

Modos Tech has announced the Modos Paper Monitor, a 13.3‑inch open‑hardware e‑ink display designed for real‑time use. Unlike traditional e‑paper, it supports refresh rates of 60 to 75 Hz with sub‑100 ms latency, enabling smooth interaction and multiple image modes.

Internet Society

The Power of Volunteers: Connecting an Indigenous Community in Panama

The Internet Society Panama Chapter had a plan. They would build the country’s first community network and bring the Internet to one of the country’s many Indigenous communities that were still offline. 

news

Building secure images with NixOS

posted by Roy Schestowitz on Nov 14, 2024

NixOS

Image-based Linux distributions have seen increasing popularity, recently. They promise reliability and security, but pose packaging problems for existing distributions. Ryan Lahfa and Niklas Sturm spoke about the work that NixOS has done to enable an image-based workflow at this year's All Systems Go! conference in Berlin. Unfortunately, LWN was not able to cover the conference for scheduling reasons, but the videos of the event are available for anyone interested in watching the talks. Lahfa and Sturm explained that it is currently possible to create a NixOS system that cryptographically verifies the kernel, initrd, and Nix store on boot — although doing so still has some rough edges. Making an image-based NixOS installation is similarly possible.

Lahfa started by giving a brief overview of NixOS for those attendees who were unfamiliar with it. He described the distribution as a ""standard systemd-based Linux"", but with some differences mostly centered around the fact that it does not follow the filesystem hierarchy standard. In NixOS, all of the binaries on the system live in /nix/store, and are configured to use a path and library path that are tightly scoped to only their declared dependencies. This has a lot of benefits, Lahfa said, including NixOS's ability to run multiple versions of the same software. But it also has consequences for secure boot.

Lahfa explained that secure boot ""controls who is allowed to run software on your computer"". It relies on using signed binaries; the computer will only boot into the provided kernel if the signature on it is valid. On systemd systems, it is possible to use unified kernel images (UKIs), which package a unified extensible firmware interface (UEFI) boot stub, the kernel, and its initrd together. This has security benefits, because it means that secure boot validates the initrd as well as the kernel. But it causes problems for NixOS, which needs to present many more options in the bootloader than most other distributions in order to support its efficient rollback features.

NixOS's separation of binaries into individual paths under /nix/store — and ability to share libraries between different versions — allows the distribution to keep a large number of previous configurations around. Every time a NixOS system has its configuration changed, from a software update, for example, the complete state of the installed programs is saved as a "generation". In the bootloader, the user can select any previous generation they would like (at least until the old generations are cleaned up to reclaim their storage space), and the kernel will load the appropriate initrd for that generation, which in turn sets up all of the configuration files from that generation. This allows for fearless upgrades, since the previous configuration is available in the boot menu — a value proposition quite similar to image-based distributions. Unfortunately, this ability doesn't work well if the initrd needs to be bundled with the kernel, because that increases both the size of each kernel image, and the number of different kernel images that must be stored. Doing so will quickly fill up the EFI (Extensible Firmware Interface) system partition (ESP).

Read on

Other Recent Tux Machines' Posts

Leftovers on Applications and Games
Applications and more
These 5 Linux distros were built specifically to keep data safe from prying eyes
Sick and tired of being paranoid about who may be watching what you use your PC for
This Week in Plasma: day/night theme switching
This week something was merged for Plasma 6.5 that a lot of people have been wanting for a long time
DebEX KDE Plasma based on Debian Trixie (upcoming Debian 13) with Refracta Snapshot and Calamares Installer :: Build 250707
NEWS 250707 about DebEX KDE Plasma – a Refracta Build
IceWM 3.8.2 Window Manager Brings New Icesh Actions
IceWM, a lightweight window manager for X Window System, favored for its minimal resource usage and high configurability, has rolled out its second update in the 3.8 series, version 3.8.2
 
GNU/Linux Leftovers
howtos, LF, and more
Gaming More Mainstream Among GNU/Linux Users
2 new articles
Today in Techrights
Some of the latest articles
Linux Kernel: Nova Lake and NVIDIA Display Driver v580 Beta
kernel news
Android Leftovers
Google is making Android’s touchpad controls more like a desktop OS
This Linux distro makes Slackware easier than ever
Slackware isn't exactly the most user-friendly
Linux is becoming more appealing for gamers – here's why
For a long time, Windows was the only serious choice for PC gaming
Project Banana ripens into a pre-alpha for KDE Linux, and you can test it
Desktop project's in-house distro is impressively ambitious
Legendary OpenPrinting architect looking for new role
Canonical lays off one of its old hands – a longstanding FOSS developer – after nearly two decades
Best Free and Open Source Software
This is free and open source software
On Window Activation
How hard can it be? Well, you probably know by now that Wayland
The Oracle and the Librarian
Nobody remembers the librarian. The librarian is not so much grey as transparent, with sensible shoes and a pencil skirt. As Dita Kraus or Sayuri Komachi, in fiction, their wisdom is highly tailored, to "help people find what they are looking for
Big Changes Ahead for MX Linux 25
So, starting with MX Linux 25, users will need to pick their preferred init system—systemd or sysVinit—when downloading the ISO
Free, Libre, and Open Source Software Leftovers
FOSS picks for today
Programming Leftovers
Development picks for today
Retro/Open Hardware/Modding: OpenEmbed, 3D Printing, and More
hardware projects and news
Audiocasts/Shows: LINUX Unplugged and mintCast
2 new episodes
GNOME and Guadec Updates, Coverage
GNOME related links
Debian 13 "Trixie" Coming and Leaving NixOS After a Year
Debian and more
today's howtos
mostly idroot
Android Leftovers
Samsung Galaxy A17 5G predicted to launch as more expensive mid-range Android smartphone
Newelle, a ‘Virtual Assistant’ for GNOME, Hits Version 1.0
For most Ubuntu users, interacting with an AI chatbot means opening your web browser or (increasingly, your IDE)
Free and Open Source Software
This is free and open source software
postmarketOS in 2025-07: Fairphone 6, apk3, /usr merge, immutable, new plasma camera
Let's start with this amazing photo that Luca took of the Fairphone (Gen. 6) showing the brand new postmarketOS port
Review: Expirion 6.0
Expirion Linux Expirion Linux is a Devuan-based desktop distribution which offers LXQt and Xfce desktop editions
Announcing Incus 6.15
The Incus team is pleased to announce the release of Incus 6.15
Self-Hosting, Homelab, and Home Assistant
4 recent articles from HowTo Geek
BSD and GNU/Linux on USB, Laptop With Kubuntu, and ChromeOS Limitations
recent articles
today's howtos
a tad older, 4 in total
Today in Techrights
Some of the latest articles
I've been using Talos Linux for Kubernetes, and I'll never look back
For the home lab, Docker containers are a game-changer
libinput 1.29.0 Released with New Tablet Pad Debugging Tool
Libinput, the free open-source input library and driver, released new 1.29.0 version few days ago
VirtualBox 7.2.0 RC1 is Available for Testing
VirtualBox 7.2.0 RC1, the third development release for the next major version of Oracle’s virtualization software
August Already! [original]
We have Rianne's birthday in 3 weeks
Free and Open Source Software
This is free and open source software
GNU/Linux and Free Software Leftovers
mostly GNU/Linux
Programming Leftovers
Development picks for today
A Look at KaOS Linux and KDE Plasma 6.5 to Debut Automatic Light/Dark Theme Switching
KDE news
GNU-like Mobile Linux and Retro
hardware picks
New redshift tray app and udevd timeout fixed in EasyOS
some technical progress
GNU/Linux Leftovers
picks about GNU/Linux
Games: GNU/Linux, Education, and Antitrust
3 stories for today
today's howtos
mostly from idroot
Android Leftovers
This is my favorite Android launcher, and it's not the one you think
Linux's biggest problem is a lack of apps — but that may not matter to you
Linux's biggest problem is a lack of apps — but that may not matter to you
I took a look at AnduinOS, a Linux distro that feels like home for Windows users
AnduinOS is a custom Ubuntu-based Linux distro with one goal
I Tested 10 Popular Linux Distros, Here's How I Rank Them
Are you confused by the hundreds of Linux distributions out there
Free and Open Source Software, howtos and Installations
This is free and open source software
June/July in KDE Itinerary
Since the last update two months ago KDE Itinerary got support for manually added train and bus trips
Today in Techrights
Some of the latest articles