Tux Machines

Do you waddle the waddle?

Other Sites

LinuxGizmos.com

(Updated) T-Deck Plus: An ESP32 Handheld Device with GPS and LoRa Support

At the core of the T-Deck Plus is the ESP32-S3FN16R8, a dual-core LX7 microprocessor that supports 2.4 GHz Wi-Fi and Bluetooth 5 LE connectivity. The device is equipped with 16MB of flash memory and 8MB of PSRAM. Additionally, the T-Deck Plus includes a Micro SD card slot, allowing for further expandable storage.

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

Games: Steam Deck, GNU/Linux, Chrysalis, and More
Latest 11 from GamingOnLinux
KDE Gear 24.12 Officially Released, Finally Ports Dolphin to Mobile Devices
The KDE Project released KDE Gear 24.12 today, the latest stable version of this open-source software suite for the KDE Plasma desktop environment and the Linux ecosystem.
Linux Mint 22.1 “Xia” Beta Is Now Available for Download with Cinnamon 6.4
The Linux Mint team has now published the ISO images of the beta release of the upcoming Linux Mint 22.1 release, which can be downloaded right now for public testing from the official mirrors.
OpenMandriva Lx 24.12 Released with COSMIC Desktop Spin, Linux Kernel 6.12 LTS
The OpenMandriva team released today OpenMandriva Lx 24.12 as the latest snapshot of the “ROME” rolling release series of this Mandriva Linux successor featuring the latest and greatest GNU/Linux technologies.
Miracle-WM 0.4 Enhances i3-IPC Support for Better Integration
Miracle-WM 0.4 Wayland compositor rolls out with i3-IPC support, named workspaces, and better Waybar integration
AlmaLinux 10 Beta Offers Early Access to Key Upgrades
Get hands-on with AlmaLinux 10 Beta, featuring new x86_64_v2 support, top-tier toolsets
Wubuntu: The lovechild of Windows and Linux nobody asked for
A third-party Kubuntu remix with a severe identity crisis
Nextcloud Takes on Microsoft, Microsoft Systemd 257 Released in Microsoft GitHub (Proprietary) by Microsoft Staff
Some software news
GIMP 3.0 Release Candidate Is Now Available for Public Testing
The development team behind the popular GIMP open-source image editing software announced today the general availability of the Release Candidate (RC) milestone of the highly anticipated GIMP 3.0 release.
GNOME 47.2 Officially Released with Various Bug Fixes and Improvements
The GNOME Project announced today the official availability of GNOME 47.2 as the second maintenance update to the latest GNOME 47 “Denver” desktop environment series with more bug fixes and improvements.
 
Android Leftovers
5 reasons I want UWB on all Android phones
COSMIC Desktop Proposed as Official Spin for Fedora 42
Fedora (probably) goes COSMIC! There is an official proposal about Fedora 42 Spin, featuring System76's innovative desktop with powerful features
IDAD 2024 - Dec. 20: For freedom, against restriction
Don't let computers go to waste and join us in fighting restriction on December 20 for the eighteenth International Day Against Digital Restrictions Management (IDAD)
Revisited: kew – terminal-based music player
I was planning to write a review of a new release of fooyin
Latest Videos From Invidious: GNU/Linux and More
videos from the past week or so
Today in Techrights
Some of the latest articles
Operating Systems and Software Leftovers
FOSS and more
Programming Leftovers
Development new today
Security Leftovers
Security related picks for today
WWW: curl 8.11.1, WordPress, and Mozilla
Web-related picks
Fedora / Red Hat / IBM Leftovers
news from redhat.com mostly
GNOME: Tiling Shell Extension, CLI Command Tree, and GAFAM Interns on Shoestring Budget
Some GNOME picks
AnyDesk, Kodi, uCareSystem, and More
Software news and packaging
today's howtos
Instructionals/Technical articles for today
RISC-V, Arduino, and More Open Hardware
Modding-friendly gear
Raspberry Pi Projects and Hacks
Raspberry Pi in focus
Shallow press releases and parroting from Linux Foundation (some even computer-generated slop!)
fake news or PR in "news" clothing
'Linux' Foundation Drops Linux Spending to Historic Lows in 2024
Skyrocketing revenue, and no mention of "Diversity" or "Climate Change". Which, for The 'Linux' Foundation, is quite weird.
LWN on Linux 6.13 and Kernel Space Coverage
Now outside the paywall
today's howtos
Instructionals/Technical articles
Open Hardware/Modding: Raspberry Pi, Arduino, and More
Hardware news
Release of Kubernetes 1.32
new one out
Android Leftovers
Google Maps on Android rolls out new colors, but they're still not dynamic
Proton 9.0-4: New Games Supported, Bug Fixes for AMD and NVIDIA GPUs
Proton 9.0-4 update streamlines Linux gaming, brings new game compatibility, fixes crashes
Programming and Systems (Leftovers)
Development and more
Advanced Weather Companion GNOME Shell Extension
Seeing a “news peg” (as they’re called), I figured I’d use that as motivation to get around to writing about Advanced Weather Companion
Best Free and Open Source Software
We recommend the best free and open source alternatives
Pisi Linux – end-user focused distribution
Pisi Linux is a user-focused distribution developed by the Pisi community
Fedora KDE – powerful Fedora-based operating system
The Fedora KDE Plasma Desktop Edition is a powerful Fedora-based operating system using the KDE Plasma Desktop as the main user interface. It’s an official spin
Windows TCO Leftovers
cost of Windows
Fedora Kinoite 41 review - My first taste of immutability
Here's something I've not done before - I haven't tested an immutable AKA atomic Linux distro just yet
Linux 6.6.65
I'm announcing the release of the 6.6.65 kernel
Now available: Red Hat Enterprise Linux 10 Beta
Today, we're excited to invite you to beta-test Red Hat Enterprise Linux (RHEL) 10, the next major version of the enterprise operating system
The end of linux-kernel as free software we trust - war on FOSS revisited
Basically the article aims to help some of you decide on your own when and which kernel is the last “safe” kernel to use
Games: Proton 9.0-4, Cyberpunk 2077, and More
Latest fro m GoL
Today in Techrights
Some of the latest articles
Proton 9.0-4 Adds Total War: Shogun 2 & Warhammer 40K: Space Marine 2 Support
Valve released today Proton 9.0-4 as the latest stable release of this open-source compatibility tool for Steam Play based on Wine and additional components for playing Windows games on Linux systems.
today's leftovers
distros and FOSS
Security Leftovers
Security related picks, esp. proprietary stuff with holes
today's howtos
Instructionals/Technical posts
The Shepherd 1.0.0 released!
Finally, twenty-one years after its inception (twenty-one!)
South Korean web giant Naver creates its own Linux distro
'Navix' follows OpenELA rules, comes with ten years support, and is already used in production at scale
Scrcpy 3.0 Added Virtual Android Display & Official GNU/Linux Package
Scrcpy, the popular free open-source Android screen mirroring and controlling app, released version 3.0 then 3.0.1 and 3.0.2 with quick fixes few days ago
Audiocasts/Shows: mintCast, Destination Linux, Linux Matters, and What’s in the SOSS?
4 new episodes
Fedora Engineering Steering Council (FESCo) Elections
who's running
GNU/Linux, BSD, and Free Software
today's leftovers
Red Hat Official Communications
latest from Red Hat's site
Open Hardware/Modding: RISC-V, Raspberry Pi, and More
Hardware picks
Programming Leftovers
Development related picks
today's howtos
Instructionals/Technical posts
Windows TCO and Security
Security holes and Windows ransom
Databases: EnterpriseDB, PostgreSQL, and MongoDB
DB scene today
Mozilla Leftovers
Servo, Thunderbird, Firefox
GNU/Linux Leftovers
IBM, Debian, and more
today's howtos
Instructionals/Technical articles
QEMU 9.2 Brings AWS Nitro Enclave Emulation, Many RISC-V Improvements
QEMU 9.2 open-source machine emulator and virtualization software has been released today with various improvements, new features, and other changes.
Linux, openSUSE ready for Everyday Users
Most people don’t give much thought to their operating system
It’s Official: Linux Kernel 6.12 Will Be LTS, Supported for “Multiple Years”
Renowned Linux kernel developer Greg Kroah-Hartman announced today that the Linux 6.12 kernel series has been officially marked as LTS (Long Term Support) on the kernel.org website.
Fedora Project Leader Matthew Miller: A change of hats!
I’ve been the Fedora Project Leader for more than ten years
Programming Leftovers
Development picks
Security Leftovers
Security and Windows TCO
Kaidan 0.10.0: Too Much to Summarize!
Kaidan’s next release with so many features that we cannot summarize them in one sentence
Games: Steam Deck, RPCS3, and More
mostly from GamingOnLinux
Android Leftovers
These are the best smartwatches for Android [December 2024]
Debian-based Window Maker Live 12.8 comes with recompiled packages and GUI enhancements
Integrating Firefox and Thunderbird with GNOME components on top of the Window Maker window manager and a Debian core
Sovereign Tech Agency Injects €562K into Arch Linux
ALPM, Arch Linux's packaging ecosystem, received €562K funding to modernize package creation
Linux Mint Topped DistroWatch’s Rankings
Linux Mint climbs to the number one spot on DistroWatch, unseating MX Linux after five years of dominance in the popular ranking
What will the year 2025 bring for Linux PCs?
What's next for Linux in all its facets in the coming year
Why I Want to See an Official GNOME-Only OS
I've used Linux on and off for years. Most of that time I've used GNOME
Free and Open Source Software
This is free and open source software
Latest COSMIC Desktop Alpha Adds New Options, VRR Support
Development on COSMIC, a new open-source desktop environment created by developers a Linux-based hardware company System76
Today in Techrights
Some of the latest articles