OnDoc
| sign
in
up
~
pub
|
pdf
txt
html
toc
url
|
<<
>>
1
~
72
73
74
75
76
77
78
~
81
Table of Contents
Contents
Introduction
Issues with package managers
Requirements for a better system
Existing Unix package management systems
RPM (Linux)
FreeBSD
Nix package management system
Goals
Issues for NixOS
Purifying the Nix Packages collection
Linux kernel
Services
NixOS installer
NixOS contributions
Roadmap
Purifying the Nix Packages collection
The Nix stdenv
Creating a pure environment
Implementation
Building the pre-built tools
Kernel
Using Nix for building the kernel
Implementation
Kernel modules
Building modules
Installing modules
Loading modules
Upgrading to a new kernel
Booting the kernel
Bootloader configuration
Initial ramdisk
Tracking sources in the Linux kernel
System services
Services on Linux
System V runlevels
Dependencies in services
Services with Nix
Installing a service
Starting a service
Stopping a service
Anatomy of a start/stop script
Switching services
Improvements
Special configurations
NixOS Installer
Linux installers
NixOS installer implementation
Installation CD
Generating the installer and CD image
Installations NixOS using only Nix manifests
Building packages and running programs on NixOS
Building packages on NixOS
Running programs on NixOS
Future work
NixOS installer
Partitioning
Graphical installer
Network installs
Better startup scripts
Support for more filesystems
Ports to other operating systems
User authentication and security
Reducing the NixOS installer size
Support for dietlibc in Nix
Statically linking with glibc
Bibliography