Three questions, three theses
What we disagree with. That an operating system is declarative if it has a text with a desired state and a tool
that brings the computer to it.
Why this is not declarativeness. A declaration is written for two things: one reads the text and knows what is
on the computer; one applies the same text on another computer and gets the same. A description of a desired state
gives neither. It says what the tool will put on the computer, not what is on it. After it has been applied, the
computer changes past the text, and the text does not show it.
Why this is not a matter of interpretation. The makers of such systems themselves promise both things by this
word, and they define it through a desired state, which does not give them. The manual of NixOS gives its
“declarative configuration model” as a description of the desired configuration that NixOS makes happen [2]; its
wiki, as a model “where the entire system state” is described [1] (Section 3.1, step 3). The word is defined in a
weak sense and used to promise in a strong one. This is a logical error, and it has a name: the conflation of two
concepts.
- The accepted understanding is rejected. We disagree with this understanding at the root, and we reject it. Of
20 statements of users of NixOS (Appendix C), 6 say that the whole system is in the file and qualify it nowhere
in the same text, 8 say it and qualify it there, and 6 report what the system holds beside the file.
If the criterion is the wording as it is written (Section 3.1, step 5).
| System |
The text |
The tool |
What the text covers |
| Seventh Edition of Unix, 1979 [3] |
/etc/ttys |
init |
The terminals for logging in |
| UNIX System V, 1983 [4] |
/etc/inittab |
init |
Processes to start and, by its entries, to restart |
| Microsoft Windows [5] |
A configuration of Desired State Configuration |
The Local Configuration Manager |
Files, packages, services, users |
| Apple macOS, since 2022 [6, 7] |
Declarations |
The device itself |
“settings, accounts, restrictions, and credentials.” |
| Alpine Linux [8] |
/etc/apk/world: “World describes the desired system state.” |
apk fix |
Packages |
| Gentoo [9, 10] |
The world file |
emerge |
Packages |
| NixOS [1] |
/etc/nixos/configuration.nix |
nixos-rebuild switch |
“the entire system state” |
By this criterion any operating system can be called declarative. A criterion by which any operating system can be
called declarative is worth nothing.
If the criterion is what is promised beside it (Section 3.2, Appendix D).
| What is written |
What happened, on a clean installation |
| The wiki of NixOS: “the entire system state — including installed packages, system services, and settings — is described in configuration files.” [1] |
useradd -m alice, run by the superuser, created an account that the configuration files do not declare. Their checksums did not change, and the account outlived the next application of the configuration and a restart. |
| The same page: “This eliminates configuration drift” [1] |
Two copies of that installation, one untouched: configuration files identical by checksum, the same built system, and on the first an account and a program that the second did not hold. |
The manual of NixOS, of users.mutableUsers = false: “Also, imperative commands for managing users and groups, such as useradd, are no longer available.” [2] |
On a third copy with that setting, useradd -m bob ended with status 0, and the account existed until the next application of the configuration. |
| The manual of GNU Guix System: “The configuration is declarative.” [11] |
An account without superuser privileges ran guix install hello: the program was installed and ran, and the declarations of the system and of the account’s home environment did not change by checksum. |
- The definition, and what follows from it. “A declarative operating system is an operating system in which the
declaration is the law of the computer: what is written in it is what is on the computer.” (Section 2). By this
definition, NixOS and GNU Guix System are not declarative operating systems. They are pseudo-declarative
operating systems (Section 3.2).
- Such a system has been built, and anyone can repeat it. ConfOS was built from the definition and checked by a
party that did not build it: six complete runs of 159 executions each, none failed, none undecided; 538 attempts
to get around the law on release 0.81, none passed (Section 4). Everything needed to build the system and to
check it with the published cases is public, and so are the catalogue and the programs of the search, which anyone
can perform on a build of release 0.81 (Section 6).
1. The question
There are two ways to manage a computer. In the imperative way, a person changes the computer by commands, one after
another: install this program, create that account, change this setting. The computer is then the sum of everything
that was ever done to it. In the declarative way, the person writes a description of the computer, and the system
brings the computer to that description.
Operating systems of the second kind are called “declarative”, and the word is in wide use. NixOS, a Linux
distribution that builds the system from one configuration, lists the word among its main features on its home page
[12]. The manual of GNU Guix System, a distribution built on the same model, says: “The configuration is
declarative.” [11]. In texts of 2024–2026 further systems take the word as a label (Appendix C).
Two parties use the word, and their texts do not say the same of it. Users are whoever uses or adopts such a
system, a person or a company alike. Of the 20 statements of users of NixOS that we collected (Appendix C), 14 say
that the whole system is in the file: 6 qualify it nowhere in the same text, and 8 qualify it there; the other 6
report what the system holds beside the file. One company: “Declarative system management (the entire system is
described in a single configuration file)” [13]. Makers are the people, teams and companies who make the systems
that are called “declarative”. What they define is a description of a desired state and a tool that brings the
system to it. What they promise beside it is the entire system. What they state in the same texts is the exceptions:
the wiki of NixOS puts “the entire system state” in the configuration files and, further down the same page, names
“a few domains where imperative operations are still necessary” [1].
We found no text in which the word is defined so that an operating system could fail the definition because of what
it holds or allows beside its description (Section 3.1, Appendix B). This is a serious problem, and it brings two
troubles. The first: where the requirement is a text and a tool and nothing more, anything that has a text and a
tool can be given the name. The test is Gentoo, a Linux distribution whose own account of itself does not use the
word: it has text files that state what should be installed and a tool that brings the system to them, and so it
meets the accepted wording for its packages (Section 3.1, step 5). The second trouble concerns whoever builds. To
build a declarative operating system one must know what it has to be, and to check one that has been built one must
know what to check. The accepted understanding gives neither.
Put in one sentence, the accepted understanding is this: an operating system is “declarative” when it has a
description of a desired state and a tool that realizes it. We disagree with this understanding at the root, and we
reject it. The disagreement is not about how much a description covers. A description of a desired state says what
will be on the computer after it is applied. It cannot say what is on the computer as long as the system itself, by
default, lets a program be installed or an account be created past the text, as NixOS does (Section 3.2).
We ask: what is a declarative operating system? The subject is the operating system of one computer, a workstation
or a server. This paper gives four things, in this order: a definition (Section 2); how we arrived at it (Section
3); how we showed that a system that meets the definition can be built (Section 4); and what is thereby established,
a definition and a result (Section 5). Section 6 says where everything lies, so that anyone can check it, and five
appendices hold the evidence.
This paper is complete in itself. Six working papers preceded it [14–19]. They remain as the archive of the path and
of the exact records of every step, and the reader does not need them to follow this one.
2. The definition
2.1. Definition
A declarative operating system is an operating system in which the declaration is the law of the computer: what is
written in it is what is on the computer.
A declaration (also called a configuration) is a text that a person has designated as the description of his or her
computer: written in it is what is installed on the computer and how the computer is configured.
2.2. What follows from this
- By default, the system itself does not allow anything to be installed, configured or launched past the
declaration. Otherwise there would be something on the computer about which the declaration says not a
word—no longer what is written. As long as nothing is written about it in the declaration, it is not on the
computer, and the system itself does not allow it to be done.
- The declaration can be trusted. What it says about the computer is true, and what it is silent about is neither
installed nor configured on it. There is no need to check it by inspecting the computer.
- The same declaration on another computer yields exactly the result described in it, provided the description
is unambiguous. There, too, what is written is present. Differences due to hardware do not count.
- Remove a line and apply: what it contributed is not on the computer, unless the remaining lines contribute it.
There are no degrees: a system either is such a system or it is not.
2.3. Words
- In force. The computer is brought into conformity with the declaration; the declaration is not copied from the
computer. To bring into conformity means to apply; the system does this. The law is the declaration
that the system applied last and reported as successful; a line added to a file and not yet applied is not yet law.
Everywhere in this text, “the declaration” is the one in force. There may be many files; the description is one.
- What the declaration is about.
- About what is installed: the programs put on the computer and everything that came with them, including the
operating system itself.
- About settings: what the computer as a whole obeys, whoever set it and however—services and their parameters,
the network with saved networks, devices and filesystems, time and language, accounts, rights, access rules,
means of login.
- Data appear on the computer without the declaration as well: program records (a log, a cache, a history) and a
person’s material (documents, photographs, projects, downloaded files, his or her keys and passwords for other
machines).
- “Written.” A line names what must be: a program is installed, a service is enabled, a setting has such-and-such
a value. What the system itself obtains or builds from a line also comes through the declaration: a dependency,
the program’s own files and values, a compiled copy. The declaration promises what the line names. What a line
does not name but leaves open (the number of an account, “the newest version”), the declaration does not show and
does not promise to be the same on two computers. The declaration is silent about what neither comes through any of its lines nor is
left open by any line; “nothing is written” and “says not a word” mean the same.
- “By default” means as long as the declaration has no line that opens this. This is a
property of the system itself under any declaration: neither the system nor a program with its own values gives a
path past the declaration. A system in which such a path is open until it is closed by a prohibition does not have
this property, however many prohibitions are written into it.
- Breaking. To install or configure something that the declaration is silent about is
possible only by force: with superuser privileges and outside the system’s tools—by writing directly to its files,
by deleting, by disabling its mechanisms. This is a violation on the person’s part, not a property of the system,
and it does not refute the definition.
2.4. Frequently asked questions
Answers to questions that the reader would otherwise decide in his or her own way. This section stands directly under
the definition and goes together with it.
- A person has himself or herself written into the declaration “in this folder the rules do not apply”. How does
this differ from
nix-env, which installs a program past the declaration? In who opened the path and where this
can be seen.
- Here the path was opened by the person, by a line in the declaration. It is written, so it is so: the
declaration tells the truth, and everyone who opens it sees the line. It is the same kind of setting as the SSH
port on a server.
- The system itself, by default, does not allow anything to be installed past the declaration. That is why the
declaration is trusted at once. It makes no promise where such a line stands, and exactly as far as that
line opens.
nix-env in NixOS is a command that is there by default: the person wrote nothing, and yet a program can be
installed past the declaration. The declaration does not show this, so it cannot be trusted in anything.
- A line may open even the whole disk; this does not break the definition. In the same way, the last amendment to
a constitution could repeal all of its articles: a person wrote this; it is not a hole that the system left.
- Is an installer run through
sudo breaking? No, and it does not install past the declaration. The system’s
own tools—the installer, the management of users, of services and of the network—work only through the
declaration, by default and with superuser privileges too. Breaking is when a person with full root goes around
these tools: writes to system files by hand, deletes, disables the protection. This is possible, and the fault is
that person’s own. What is said of the system’s installer applies equally to the installers of programming
languages and to a program that itself downloads additions and updates for itself.
- Python is recorded. May one run one’s own script with it? By default, no. A script that a person wrote or downloaded is
that person’s file. By default the system does not run it, and the recording of Python does not change this. Code
is a file that a program executes; a file from which it only reads values is not code.
- And a command that a person typed in the terminal himself or herself? It is that person’s action, not
something that is on the computer. The same holds when the person himself or herself feeds text to a program as
its input:
cat x.sh | bash. But bash x.sh is already the running of a file; question 3 is about it. The same
holds for a person’s own program, which that person wrote or brought and has himself or herself written into the
declaration: if it reads a file and executes it, it is the program that does this. But what the declaration is
silent about cannot be installed or configured in this way.
- Is a program in a container a special case? No, it is an ordinary program: it runs on this computer as its own
process.
- A website in a browser, a system in a virtual machine—must they be written? No. They are inside a recorded
program and cannot themselves launch programs or change the computer.
- Are a theme and a home page settings? No, they are a record of the program itself. But a value of a program
that launches something or opens access to someone is a setting of the computer.
- A running process, an open port—must each be written as a separate line? No. They come from a program or a
setting that is recorded: the Firefox process from the line of Firefox, the open port from the line of the SSH
server.
- The users are taken from the company’s server—must each be written? No, it is enough to record the server; it
must be named in the line.
2.5. What the definition does not decide
This is the design of a particular system:
- which lines it lets a person write, and in what language;
- whether a line is written by the person or by a tool of the system at that person’s command;
- how what is installed by a program that itself downloads other programs gets into the declaration;
- by what mechanism the system does not run what nothing is written about;
- how data are stored and transferred;
- user rights, generations and rollback, protection of the declaration and of secrets;
- when an edit takes effect.
3. How we arrived at it
3.1. The accepted understanding, in five steps
The five steps: what the word is used to promise; how it is defined; why the definition does not give the promise;
the experiment; and the two readings of the criterion that remain.
Step 1. What the word is used to promise
The word is used to promise two things: that the text tells what is on the computer, and that the same text on
another computer gives the same. Both stand in the makers’ and the users’ own words.
One word in the texts of one maker: how it is defined, what is promised by it, and what the same texts state.
| Maker |
How the declarative way is defined |
What is promised |
What the same texts state |
| NixOS |
The manual: “NixOS has a declarative configuration model: you create or edit a description of the desired configuration of your system, and then NixOS takes care of making it happen.” [2] |
The wiki: “its declarative configuration model, where the entire system state — including installed packages, system services, and settings — is described in configuration files.”; “if you provide the same inputs, the same version of Nixpkgs and the same /etc/nixos/configuration.nix you will get the exact same system state.” [1] |
The wiki: “these are a few domains where imperative operations are still necessary; these include user environment management and channel management.” [1]. The manual: “Ad hoc, where you install, upgrade and uninstall packages via the nix-env command.” [2] |
| GNU Guix System |
The manual: “a declarative approach whereby the user specifies the exact set of packages to be available” [11] |
The manual, of accounts, at the start of the system and at a reconfiguration: “When booting or upon completion of guix system reconfigure, the system ensures that only the user accounts and groups specified in the operating-system declaration exist, and with the specified properties.”; “This ensures that the system remains exactly as declared.” [11] |
The manual: accounts created or changed by commands “are lost upon reconfiguration or reboot”, and until then they are in force; “users are free to change their real name as it appears in /etc/passwd using the chfn command.”; the command that installs packages “works with normal user privileges” [11] |
The promise and the exception stand in one text. Table C2 of Appendix C gives the same pair for six more makers.
What users say. Of 20 statements of users of NixOS, collected from their own public texts (Table C4 of Appendix
C; a collection and not a sample of users), 14 say that the whole system is in the file. Six of the fourteen qualify
it nowhere in the same text; eight qualify it there. One of the eight states both promises—“From that one file, any
machine can be reproduced exactly, bit for bit.”—and goes on, in the next paragraph: “There are a lot of caveats in
the above paragraph though: One can still accumulate state by saving files or installing programs outside of the
nix-managed system.” [20]. The other 6 report what NixOS holds beside its configuration. Eight of the fourteen take
part of it back in the same text.
Step 2. How the word is defined
A configuration is called declarative when it describes a desired state and a tool derives the actions. Puppet, a
tool that configures machines from text files: “Puppet code is declarative, which means that you describe the
desired state of your systems, not the steps needed to get there.” [21]. The makers of Terraform and Ansible, two
more such tools, Microsoft, Wikipedia and the research literature word it the same way (Appendix C) [22–28], and so
do the manuals of NixOS and of Guix System (the table of step 1).
The search for earlier work (Appendix B) found nine sentences that say outright what a “declarative system” is
(Table C1). The two nearest: Hardie in 2003, of tools that configure machines, “A declarative system has an
explicit, declarative description of the required configuration.” [29]; and Moor, in a classification of whole Linux
distributions, “Bei deklarativen Systemen wird der gewünschte Zustand beschrieben” (in declarative systems the
desired state is described) [30]. None of the nine makes it part of the meaning of the word that the description is
complete, or that the system refuses what the description does not contain.
Research has no common criterion: Chef, another tool that configures machines, is called an imperative language in a
survey of 2010 and is classified as a declarative technology in a systematic review of 2020 [27, 31]. The field says
itself that the question is open: in 2004 Anderson and Couch listed the question “What is a “configuration” ?” as
open [26], and Couch concluded that “a configuration description cannot be more than a statement of intent rather
than fact” [32] (Appendix C).
Step 3. Why the definition does not give the promise
A declarative sentence states how things are, and it is true or false: “only such are propositions as have in them
either truth or falsity.” [33]. A declarative program states what is to be computed [34], and the meaning of a
program of rules without negation is the set of facts that follow from its statements [35]. What a text says of the
things it does not mention is a separate matter, and logic has a name for each answer: the open world and the closed
world (Appendix C). The two are rules of reading. Neither is a mechanism: a reading does not stop a computer from
changing. A text of what is on a computer can therefore stand in three ways.
The open world and the closed world: two readings of one text, and what keeps the second true.
| The question |
The text is read as an open world |
The text is read as a closed world, and nothing enforces it |
The text is read as a closed world, and the system refuses what it does not state (Section 2) |
| What the silence of the text means |
Unknown: what the text does not state “may simply be missing (but possibly true)” [36] |
Not the case: “if no proof of a positive ground literal exists, then the negation of that literal is assumed true.” [37] |
Not the case: “what it is silent about is neither installed nor configured on it.” (Section 2.2) |
| Whether the text can be trusted without inspecting the computer |
Of what it does not state it says nothing; for that the computer must be inspected |
No: a change made beside the text makes its silence false, and the text does not show it |
Yes: “There is no need to check it by inspecting the computer.” (Section 2.2) |
| What arrives later, with an update or a new program |
It arrives, and the text says nothing of it |
It arrives, and the text, unchanged by one character, is now false |
It is refused until the declaration names it: “As long as nothing is written about it in the declaration, it is not on the computer, and the system itself does not allow it to be done.” (Section 2.2) |
| Who has to close the ways |
Nobody is asked to |
Whoever writes the text, one way at a time |
Nobody: “By default, the system itself does not allow anything to be installed, configured or launched past the declaration.” (Section 2.2) |
The closed-world reading makes the silence of the text a statement. Only a system that refuses what the text does
not state keeps that statement true. The two things that the word is used to promise (step 1) are true only in the
last column: a reader opens the text at a time of his own choosing, not at the moment of application, and the text
must be true of the computer then. The manual of Guix System promises less (the table of step 1): what holds at two
moments, with a change made between them lost at the next. That is less than consequence 1 of Section 2.2 asks. The
definition of step 2 chooses no column: it asks for a text of what is wanted and for a tool, not that the text be
complete, nor that the system refuse a change made beside the text.
What the tools do with what the text does not state. The tools differ (Appendix C gives their makers’ words).
Puppet ignores a resource that is removed from its manifests, unless purging is switched on for that type of
resource [21, 38]. Terraform destroys a resource that it tracks and that is removed from the configuration [39]. One
thing holds for both: what the tool was never given to manage, it does not touch. Deletion on application within a
tracked scope and refusal of a change made beside the text are two properties. The promise needs the second, for the
whole computer. No definition of step 2 asks for it.
Two concepts under one word. One maker gives two accounts of one term: the manual of NixOS and its wiki, of the
“declarative configuration model”, in the first row of the table of step 1. The first account is the definition of
step 2, the second the promise of step 1. They are two concepts, and the first does not give the second; the same
page of the wiki says so of other tools: they “reconcile system configuration with a description of the expected
state”, and with them “OS configuration may still vary where an aspect of OS configuration has not been specified in
the description of expected state.” [1]. One project’s documents use one word for both and assert the strong one of
a system that has only the weak one (step 4). The word is defined in the weak sense and used to promise in the
strong one. This is a logical error, and it has a name: the conflation of two concepts. Conflation is “treating
distinct things as one” [40] (Appendix C).
The step that does not follow. The conflation becomes an equivocation when somebody concludes from the label
that the text tells what is on the computer: whoever passes from the label to the promise equivocates. The argument
runs: a system that has a description of a desired state and a tool that realizes it is declarative; in a
declarative system the text tells what is on the computer, and the same text yields the same computer again;
therefore the text of such a system does both. The first premise is true in the weak sense, the second only in the
strong one. “Equivocation is the illegitimate switching of the meaning of a term that occurs twice during the
reasoning; it is the use of one word taken in two ways.” [41].
A promise that a maker states outright of its own system is another matter. Of drift the wiki gives a ground that is
not the word: NixOS “integrates configuration management directly into the operating system. This eliminates
configuration drift” [1]. That is a statement about the system as delivered, true or false, and an experiment
decides it (step 4).
Earlier work. Single consequences of the definition of Section 2 were stated before us; Appendix E gives each in
its own words. A complete description: the “proscriptive” configuration of Anderson [42], the congruence of Traugott
and Brown [43], the declarative system model of DeTreville and its patent [44, 45], one sentence of aconfmgr, a
configuration manager for Arch Linux [46], and two users [47, 48]. No way past the description: nearest of all, the
Singularity project of Microsoft Research, a research operating system of 2005 and 2006, for code [49–52]; the
closures of Couch and co-authors and of Burgess and Couch, for a service [53, 54]; TrOS of the CloudProxy project,
for the programs of a measured image [55]; and security standards, as a control that an organization adds to a
system [56, 57]. The search of 30 November 2026 was put so as to find such texts: 222 query executions, 191 sources
read, and a second, independent reading of the 48 nearest texts (Appendix B). We found no text that states the
definition of Section 2 whole, and none in which the word “declarative” is defined so that an operating system could
fail the definition because of what it holds or allows beside its description.
Step 4. The experiment
The promises that the makers of NixOS state outright of their own system are statements, and a clean installation of
NixOS decides them (Section 3.2). Three commands that its manual documents changed the computer, and the checksums
of the configuration files did not change. A second copy of the same installation stood untouched beside the first.
One declaration. Two computers. They differ.
Step 5. The two readings of the criterion
Apply the accepted wording—a text that states what should be on the computer, and a tool that brings the computer to
it—to the operating systems whose own makers document such a pair. The test is Gentoo, a Linux distribution whose
own account of itself does not use the word [58]; Appendix C gives its documents, and those of Debian and Arch
Linux, with the limits that they state.
Declarative by the accepted wording. A tool that acts only at installation is said to act at installation.
| System |
The text |
The tool |
What the text covers, in the maker’s words |
Whether its maker calls it declarative |
| Seventh Edition of Unix, manual of January 1979 [3] |
/etc/ttys [3] |
init, which creates a process “for each typewriter specified in the file.” [3] |
“which terminal special files are to have a process created for them which will allow people to log in.” [3] |
Not in the pages cited [3] |
| UNIX System V, manual of January 1983 [4] |
/etc/inittab, with entries of the form “id:rstate:action:process” [4] |
init; for an entry whose action is respawn: “If the process does not exist then start the process, do not wait for its termination (continue scanning the inittab file), and when it dies restart the process.” [4] |
“The inittab file supplies the script to init's role as a general process dispatcher.” [4] |
Not in the pages cited [4] |
| FreeBSD [59] |
/etc/rc.conf [59] |
rc, at the start of the system [59] |
“the local host name, configuration details for any potential network interfaces and which services should be started up at system initial boot time.” [59] |
Not in the pages cited [59] |
| Gentoo [58] |
The world file of its package manager, Portage, which the administrator may edit [10] |
emerge, with its option --depclean [10] |
“the packages the admin has explicitly installed” [9] |
Not on the page of the project that says what Gentoo is, nor in the introduction of its Handbook [58] |
| Debian [60] |
The selections of packages, set from a text file with dpkg --set-selections [60] |
apt-get dselect-upgrade, which “performs the actions necessary to realize that state” [60] |
Packages [60] |
Not this mechanism, in the pages cited. Of another mechanism: “These packages enable the declarative system configuration using YAML data.” [61] |
| Arch Linux [62] |
The list of the packages installed explicitly, kept in the database of pacman [62] |
pacman, which removes the dependencies “no longer required by any package.” [62] |
Packages [62] |
Not this mechanism, in the pages cited. Of its installer, in a heading: “Running from a declarative configuration file or URL” [63] |
| Alpine Linux [8] |
/etc/apk/world: “World describes the desired system state.” [8] |
apk fix: “run apk fix to synchronize the installed packages with the desired system state.” [8] |
A “list of constraints for package selection” [8] |
Not in the pages cited [8] |
| Fedora [64] |
A Kickstart file [64] |
The installer, at installation [64] |
“answers to all questions normally asked by the installation program, such as what time zone do you want the system to use, how should the drives be partitioned or which packages should be installed.” [64] |
Not in the pages cited [64] |
| openSUSE [65] |
An AutoYaST profile [65] |
YaST, which “prepares the system for a custom installation”; by a command, also on an installed system [65] |
“how the system will be configured and which packages will get installed.” [65] |
Not in the pages cited [65] |
| Ubuntu [66] |
An autoinstall file; a cloud config, with “keys which describe desired instance state.” [66] |
The installer, at installation; the program cloud-init, which “automatically applies those settings when the instance is created.” [66] |
“A list of packages to install into the target system.”, among the settings of an installation [66] |
Not in the pages cited [66] |
| Microsoft Windows [5] |
A configuration of PowerShell Desired State Configuration, which “defines how you want to configure one or more target computers (Nodes).” [5] |
The Local Configuration Manager: “The LCM does the work of calling the DSC resources to apply the configuration.” [5] |
Resources: “A resource can model something as generic as a file or as specific as an IIS server setting.” [5] |
Yes, the mechanism: “DSC is a declarative platform used for configuration, deployment, and management of systems.” [5] |
| Apple macOS, since macOS Ventura of 2022 [6] |
Declarations: “a schema-driven data model, serialized as JSON objects.” [6] |
The device: “the device autonomically attempts to achieve and maintain that state.” [7] |
“settings, accounts, restrictions, and credentials.” [7] |
Yes, the mechanism: “Declarative device management lets devices apply configurations independently based on certain criteria.” [7] |
| Any operating system with a configuration manager laid over it [21] |
The manifests of Puppet, for one [21] |
Puppet [21] |
What the administrator wrote into them: “If the catalog doesn't contain a particular resource, Puppet does nothing with whatever that resource described.” [21] |
Yes: “Puppet code is declarative” [21] |
| NixOS [1] |
The configuration files; the primary one is /etc/nixos/configuration.nix [1] |
nixos-rebuild switch [1] |
“the entire system state — including installed packages, system services, and settings” [1] |
Yes: “its declarative configuration model” [1] |
The last row differs from the others in how much its text covers, and the wording names no amount.
What the wording does not ask. The wording has two conditions, a text and a tool, and neither is a condition on
the operating system. It does not ask how much of the computer the text must describe. It does not ask that the tool
be part of the operating system: it is the wording of the makers of Puppet, Terraform and Ansible, and the wiki of
NixOS says of such tools that they “are not integrated into the operating system design and are simply layered on
top” [1]. The operating system of a workstation or a server holds files and runs programs, so it can be given both.
By this wording the word is therefore not a property of an operating system: the same operating system has it on one
computer and lacks it on the next, as its administrator has or has not written such a text and set up such a tool.
The wording tells one administrator’s practice from another’s. The makers use the word for a feature of the
operating system: “One of NixOS's defining features is its declarative configuration model” [1]. A wording that
every operating system meets or fails by its administrator’s choice defines no feature of any of them, and it
carries neither promise of step 1. Nine systems that take the word as a label show the same from the other side:
none of their texts says what the label obliges a system to (Table C3).
The two readings. The criterion can be read in two ways. The first is the wording as it is written. By this
criterion any operating system can be called declarative. A criterion by which any operating system can be called
declarative is worth nothing. The second is the stronger thing that the makers of NixOS promise beside the wording,
that “the entire system state — including installed packages, system services, and settings — is described in
configuration files” [1]. NixOS does not meet it (Section 3.2).
3.2. Pseudo-declarative operating systems
The term. We introduce a term for the systems that the accepted understanding calls “declarative” and that the
definition of Section 2 does not admit. An operating system is pseudo-declarative if three things hold:
- it is called “declarative”, by its makers or by its users;
- it has a text that describes a desired state of the computer;
- by default, the computer can hold or do what that text does not say: something can be installed, configured or
launched on it while the text stays as it was.
“By default” has the meaning of Section 2.3: as long as the text has no line that opens this. A reader can apply the
term by three checks: find the label, in the words of the makers or of the users; find the text; find one thing that
the system as delivered lets a person install, configure or launch while the text stays unchanged. The term names a
class of systems. From here on we use it without quotation marks.
NixOS, the strongest case. All the static parts of NixOS—packages, configuration files, start-up scripts—are
built from one description by pure functions and are immutable [67]. A system that builds less of itself from its
description leaves more outside the description. We examined what the system itself allows by default.
We performed three commands on a fresh installation of NixOS in a virtual machine, on 30 November 2026 (Table 1).
The configuration was the one that the installer generates, with nine lines added, among them one ordinary account,
user, with the group users. A second copy of the same installation stood beside the first and was left untouched
until the two were compared. A status of 0 means that a command reported success. The record is the folder
records-nixos-1130 of the repository of records [68].
Table 1. Three commands that the declaration of NixOS does not see. The version, the times and every output are in
Appendix D.
| Step |
The command, and who ran it |
What was observed |
useradd |
useradd -m alice, the superuser |
Status 0. The account alice existed, with a home directory. The configuration files were the same by checksum, and they do not declare the account. The account was still there after the next application of the configuration (nixos-rebuild switch, status 0) and after a restart. |
usermod |
usermod -g wheel user, the superuser |
Status 0. The primary group of user, which the configuration declares as users, was now wheel. The next application of the configuration set it back to users, and so it stayed after a restart. |
nix-env |
nix-env -iA nixos.hello, the ordinary account user |
Status 0. The program hello was installed into the profile of the account, the set of programs that belongs to one user, and it ran. The configuration files were the same by checksum. The program ran after the next application of the configuration and after a restart. |
The second copy shows what the three steps left behind. At the end the configuration files of the two copies were
identical by checksum, and both copies ran the same built system. On the first copy, and not on the second, were the
account alice with its home directory, the program hello in the profile of user, and nine paths in the home
directory of user that carried the group wheel. One declaration. Two computers. They differ.
The manual of NixOS documents all three commands [2], and any reader with a clean installation can repeat them;
user stands for an account that the configuration declares. An earlier check, of 22 November 2026, had performed
the second step alone, with the same outcome (Appendix D).
Their own sentence, applied to them. The wiki of NixOS faults the tools that are laid over an ordinary
distribution: “OS configuration may still vary where an aspect of OS configuration has not been specified in the
description of expected state.” [1]. On NixOS as delivered, accounts and the programs of a user’s profile are such
aspects. Our two copies had one configuration and were not the same.
The authors of NixOS drew this boundary in 2010, in their paper on the system [67]. Of accounts: some files
“constitute mutable state that is not dealt with in the functional model at all, such as the system password file
/etc/passwd”. Of programs installed by command: “manual package management actions such as nix-env -i (Section 3)
are stateful and do not use a declarative specification to define the set of installed packages.” And of the model
as a whole: “Disregarding mutable state, NixOS has a congruent model”. Dolstra had drawn the same line in 2006, and
with Hemel in 2007 [69, 70] (Appendix C). The authors knew the boundary and wrote it down. Our disagreement is not
with that paper. It is with what is understood and promised today under the word: the entire system.
Why closing the ways by settings changes nothing. One question decides the matter, and its answer is yes or no:
can two computers with one and the same declaration differ in what is installed and configured on them, when nobody
has broken anything? For NixOS the answer is yes. It stands in its own manual and in the source of its option [2,
71], and the two copies above show it.
Each of these ways can be closed by a setting, and each is open by default (Appendix D, with a second mechanism for
accounts and what we did not test). For accounts the setting is users.mutableUsers = false [71]. The manual says
of it: “Also, imperative commands for managing users and groups, such as useradd, are no longer available.” [2]. The
manual says that these commands are no longer available. On our installation they were available. With the setting
applied, on a third copy, useradd -m bob ended with status 0, and the account existed until the next application
of the configuration. For the programs of a profile the setting is nix.settings.allowed-users [72]. With the list
set to the superuser alone, nix-env -iA nixos.hello, run by the ordinary account, ended with status 1 and
installed nothing.
This does not change the verdict, for three reasons. A prohibition closes the way that its author remembered: a list
of prohibitions does not say that all ways are closed, and by the text a system in which every way is closed cannot
be told from a system in which one way was forgotten. A prohibition closes a way that exists today: in a system
where a way is open until it is closed, what arrives later—with an update, with a new program—arrives open, and the
declaration does not change by one character while it stops being true. Our own first implementation, on a base
taken from Debian, showed what this means: the refusal had to be added program by program, to seventeen named
programs, in an archive that holds others (Section 4.2). On NixOS we performed one such arrival, on a fourth copy: a
line that enables Podman, a program that runs containers, was added and applied, and the ordinary account then
fetched a program from a public registry and ran it. The configuration names Podman; it does not name that program
(Appendix D, with an earlier try, by the installer pip of Python, that installed nothing). And a prohibition is
known to the one who wrote it: the one who reads the declaration—a colleague, an auditor, the owner a year
later—must take a person’s word or inspect the computer. The definition has this case in its own words: “A system in
which such a path is open until it is closed by a prohibition does not have this property, however many prohibitions
are written into it.” (Section 2.3). Such a declaration may contain not one false line, and still it cannot be
trusted.
GNU Guix System: the same result. Its tool builds a whole system from an operating system declaration “that
specifies user accounts, system services, and other settings” [73]. On a clean installation, on 19 November 2026, an
account without superuser privileges ran guix install hello. The program was installed and ran. The checksums of
the declaration of the system and of the account’s own declaration of its home environment did not change. The
manual says of the tool behind this command: “The command operates only on the user’s own profile, and works with
normal user privileges” [11]. Of accounts the manual promises what holds at the start of the system and at a
reconfiguration, and says itself what holds between them: accounts created or changed by commands “are lost upon
reconfiguration or reboot”. Until then they are in force. That is less than consequence 1 of Section 2.2 asks. On
this and on the record of guix install the verdict for Guix System rests. Of such commands in general the manual
says: “In fact, you must avoid that” [11]. The manual forbids; the system does not.
The verdict. By this definition, NixOS and GNU Guix System are not declarative operating systems. Each carries
the word: the wiki of NixOS speaks of “its declarative configuration model” [1], the manual of Guix says “The
configuration is declarative.” [11], and Moor’s classification gives both as examples of its class “Deklarative
Systeme” [30]. Each has a text that describes a desired state of the computer. In each, by default, a program can be
installed and an account created or changed while that text stays as it was. They are pseudo-declarative operating
systems.
The second root: sealed systems. Systems fall under the term for two different reasons, and we keep the reasons
apart. In NixOS and Guix System the tools of the system itself go past the text. A second group of systems closes
those ways by fixing in advance what the machine is: one image, one purpose, and no ordinary way for a person to log
in to the machine itself. The work for which such a machine exists reaches it through another interface than the
text that describes the machine. We did not test these systems; Appendix A gives what their makers’ texts say and do
not say, system by system.
Talos Linux, a system made to run Kubernetes, software that runs programs in containers on a group of machines, is
the clearest case. Its maker uses the word—“Read-only and declarative, identical across the fleet.” [74]—and its
documentation describes a debug shell, a privileged container started on the machine from an image that the operator
supplies, and names no line of the machine configuration for it [75]. By its maker’s own texts, then, Talos Linux
meets the three parts of the term. IncusOS and Bottlerocket, two systems for servers built in the same manner, and
Windows 11 SE, a system for the computers of schools, do not take the word in the texts we read [76–78]; we do not
apply the term to them (Appendix A). In the texts we read, no maker of a sealed system claims for the text that
describes the machine what Section 2.2 requires: that “what it is silent about is neither installed nor configured”
on the computer.
3.3. The path in brief
The wording went through five versions in the papers [14–19]. Versions 1 to 4 were published under the name of a
hypothesis; version 5 is the definition of Section 2 (Table 2). Versions 1, 3 and 4 were each checked against the
objects found on real computers; the method is described below the table.
Table 2. The versions of the wording.
| Version |
Published |
What decided what the declaration must cover |
What the check of the wording found |
| 1 |
18 November 2026 [14] |
everything that runs on the computer; the rest is a derivative of a recorded program or a person’s data |
on clean installations of four systems, one object that fits two classes, and disagreements that the text does not settle [15] |
| 2 |
20 November 2026 [15] |
a list of the parts of the system |
not checked: replaced by version 3 |
| 3 |
21 November 2026 [16] |
whatever the computer’s behaviour depends on; the test is removal |
16,524 objects on four systems; five kinds that the text does not decide, all in the removal test [17] |
| 4 |
22 November 2026 [17] |
what is installed and settings, decided by four questions asked in order |
16,375 objects on four systems; three kinds that the text decides both ways or does not decide [18] |
| 5 |
25 November 2026 [19] |
one sentence, from which the rest follows |
taken as the specification of a system (Section 4) |
What each version changed. Version 1 had seven properties: besides completeness, guarantee and law, it sorted
everything unrecorded into derivatives of programs and a person’s data, and it prescribed the life of such objects
and the rights of users. Its first check showed that the sorting could not be applied: on a clean Guix System, the
selection of packages that a user had made fitted both classes.
Version 2 applied one test to every item—“if a system does this differently or does not do it at all, does it cease
to be declarative?” [15]—and what did not pass it left the definition and became the design of a particular system.
Three properties remained: everything in force is recorded, everything recorded is in force, and the system gives no
way past the declaration; the same version said that there are no degrees, and it introduced the notion of breaking.
Version 3 replaced the list of parts by a rule with a test: an object must be recorded if, after its removal, the
computer stops doing something. The check showed that the test does not say what is to be compared with what.
Version 4 abandoned the question about consequences and asked what an object is: whether it was installed with a
package, whether it is code that the computer executes, whether it is a value chosen by a person that the computer
as a whole obeys, or else a record of a program or a person’s material.
Version 5 was written after the first system had been built from version 4 (Section 4.2). It is a rewording around
one sentence: “the declaration is the law of the computer: what is written in it is what is on the computer.” What
the earlier versions stated as three properties and three consequences is now this sentence and what follows from
it. There are three differences in content, and none makes a requirement stricter. A tool of the system either
records the line or refuses; the earlier sentence that an installer adds the program to the declaration is gone. A
file with code that a person wrote or downloaded is that person’s material, which the system does not run by
default; in version 4 it was a program that had to be recorded. And “everything is recorded” became “what it is
silent about is neither installed nor configured”. One answer is new: the one about a line by which a person opens
a path (question 1 of Section 2.4). Such a line needs no notion of its own in the definition: it is a line like any
other.
The method that did not work. For three cycles we checked each wording in the same way. We took computers that
were not built under the definition, listed everything on them, had every object decided twice, independently—must
the declaration cover it?—and sent the disagreements to a separate adjudication. Each cycle found objects that the
text does not decide (Table 2). This method could not answer the main question: it tests whether a wording sorts
objects; it cannot show that a system of the defined kind exists.
The method that worked. We turned the order around. We took the text as a specification, built a system from it,
and checked that system against the text [18, 19]. The next section describes how.
4. How we showed that it can be built
A definition of a kind of system is of use only if such a system can exist. The statement to be checked was
therefore this: a system that meets the definition can be built, and ordinary work is possible in it. We checked it
by construction.
4.1. The method
Two parties. One party built the system. Another party, which did not build it, wrote the cases from the
published texts—the definition and the published rules of the check—without access to the builder’s work, wrote the
programs that perform them, and performed the runs. It received each release as the source tree of that release and,
for the complete runs, built its clean installations from it itself. The builder repaired the system and never the
cases. A case that the builder held to be wrong was answered with the sentence of the definition that it
contradicted.
Cases. A case is a small experiment with a stated purpose, and it names the statements of the definition that
it tests. One case runs the system’s own tool for accounts as superuser and tries to create an account that no line
names. Another saves a script and tries to run it through every interpreter of the system. A third cuts the power
immediately after the system has reported a successful application. Many cases have variants, and each variant is a
separate execution that starts from a clean installation. The set has 86 cases and 159 executions; an execution
consists of single checks, more than two thousand rows in a run.
A refusal is not read from the exit code of a command. After an attempt, the checking programs read the declaration
in force from outside the system and take an inventory of the whole machine, of what is stored and of what is in
effect, without using the records of the implementation. Before an attempt that must be refused, the checks
establish that its effect is absent and that the program which would carry it out is present: an absent program or
a failed preparation cannot count as a refusal. Ordinary work must actually succeed.
Outcomes. An execution has one of four outcomes. Pass: every required observation holds. Fail: a requirement
is violated. Undecided: the requirement is met under one reading of the text and not under another. Unobserved:
a required observation could not be obtained, because the release has no facility of the kind that the case needs,
the hardware is absent, an observation could not be captured, a step of the case could not be bound to a command of
the release, or the route of the variant belongs to another case and is performed there. An unobserved execution is
never counted as a refusal or as a pass.
Complete runs. In a complete run, every case and every variant is performed on one release. The set of cases
and checking programs is committed to the public repository of records [68] before the run, and its checksums are
verified before the run and after it. A failing execution is a defect of the implementation: the builder repairs
it, a new release is made, and a new complete run follows.
The search. Cases are fixed in advance, and a system can be fitted to them. The party that performs the runs
therefore also searches for ways around the law. Its catalogue was written on 26 November 2026, before the first
complete run: 642 variants, each a route of an attempt to install, configure or launch something past the
declaration, taken with the role that tries it, an ordinary user or the superuser. A way that the search finds is a
defect to be repaired.
Where. All runs and all searches, and the three steps described in Section 4.3, were performed in virtual
machines.
4.2. The first implementation, on Debian
The first ConfOS was assembled from packages of Debian 13, from 23 to 25 November 2026. Its specification was the
wording of that time, version 4.
Release 0.55 had 113 components at fixed versions: packages of Debian and four of its own. The declaration was
plain text, one line for one recorded thing. The system part was a read-only image assembled from the declaration,
nothing could be executed from the writable areas, and what a logged-in person could do was confined. Seventeen
programs that can execute saved text, among them Bash, Python, Perl, awk, sed, make and Git, were each changed to
refuse a file that no line records.
Three complete runs were made, on releases 0.32, 0.49 and 0.55. After the first run the search found seventeen ways
past the declaration on release 0.32; all were closed and became cases. The third run, on 25 November 2026 from
05:01 to 07:14 UTC, had 124 cases with 458 rows, and no row fails. The checking programs wrote 212 rows as passing,
243 as undecided and 3 as not observed; a review that read the text decided the undecided rows, and by the text
every row performed is met. The search, performed on the same release before the run and after it, made 240
attempts, and none passed. Inventories of the whole machine, taken after the ordinary work and after every attempt,
were compared with the declaration in force: nothing installed or configured was in force without a line.
Nine actions of ordinary work were performed in that run: installing a program; two updates of the system with a
restart after each; working in a browser; editing documents; ordinary commands and one’s own recorded script;
fetching, building, changing and rebuilding a small program; installing, starting and updating a game through a
launcher that downloads it; and an installation during which the network was lost and restored.
This implementation showed that a system built from the text can exist and that ordinary work, with a browser,
documents and a game, is possible in it. After it we reworded the text as version 5, the definition of Section 2;
no verdict of the third run would differ under it.
It also showed what a base taken from a general distribution costs. The refusal to execute an unrecorded file was
implemented for seventeen named programs, and the Debian archive holds other programs that have a language of their
own. In such a base the refusal has to be added program by program to an archive that was not built for it. The
next ConfOS therefore has a base of its own: a small, fixed set of packages, built from source, in which every
program that can execute code is known.
4.3. ConfOS
ConfOS with a base of its own was begun on 26 November 2026 and first published, as release 0.81, on 29
November 2026. Release 0.84, published on the same day, is the one described here [79]. It is a small operating system that
boots into a terminal. It has the Linux kernel, the GNU C library, the GNU compiler, Python, an SSH server, sudo,
a packet filter and mandatory access control, and not much more: 63 packages. There is no desktop, no browser and
no office program. Every program in it is built from its source text; no package of another distribution is inside.
What follows says how each statement of the definition is realized in it. The mechanisms are choices of ConfOS: the
definition leaves them to the design of a particular system (Section 2.5).
Built from source, by a book. No installation image and no ready packages are distributed. What is distributed
is a book, Building ConfOS, the recipes, and the sources with their checksums. On an ordinary Linux computer one
types the commands of the book in order: first a temporary toolchain, then every package of the system inside the
new system’s own root, so that no file of the computer one started from ends up in it. The starting point is the
packages and versions of Linux From Scratch 13.1 [80], a set known to build together. The system that boots is not
the root in which the packages were built: it is assembled anew from the packages and a declaration.
The base. A program enters the base only if, without it, the system cannot boot, apply a declaration, build its
own packages or pass the checks. The reasons are written down with the system. A program that can execute code and
could not be made to refuse an unrecorded file was left out.
The declaration. The declaration is a plain text file, and a line names one thing:
base 0.84
package python 3.14.10
account sam 1000 1000 users /bin/bash /home/sam
setting timezone Europe/Berlin
rule ssh 'add rule inet confos input tcp dport 22 accept'
open /home/sam/work
There are lines for packages, accounts and groups, keys for logging in, rights, services, the network and saved
wireless networks, the host name, the time zone, the language and kernel parameters, rules of the packet filter,
and opened folders. The base itself is named by package lines: the kernel and the C library are packages like any
other, so that what is installed is written “including the operating system itself”. A declaration may consist of
several files joined by include lines, and its identity is one checksum over all of them: “There may be many
files; the description is one.”
Apply. “To bring into conformity means to apply; the system does this.” The command confos apply builds a new
root of the system from the lines of the declaration and from nothing else, selects it only when it is completely
written, and restarts the computer into it. After the restart, confos status prints APPLIED with the identity
of the declaration; this is the report of success. Until then the previous declaration stays in force, and an
edited file changes nothing: “a line added to a file and not yet applied is not yet law.” A failed application
leaves the declaration in force as it was.
The image. The root of the running system is a read-only image. It holds the files of the packages that the
package lines name and the files that the other lines produce—the accounts, the settings, the keys, the rules—and
nothing else; every file of the image is attributed to one of them. Each application builds a new root from the
lines that remain and carries nothing over from the previous root, so removing a line removes what it brought.
The refusal. Three mechanisms together decide what runs. They hold for every login, every command through
sudo and every service, for an ordinary account and for the superuser. First, nothing writable is executable:
only the read-only image and the opened folders allow execution, so a file that a person writes, downloads or
compiles cannot be started as a program anywhere else. Second, whatever a logged-in person or a service runs is
confined: it can run only files of the image and of the opened folders, and it has none of the privileges that
change the computer—no mounting, no change of the network, the packet filter, the clock, the host name or the
kernel parameters. Third, every program of the base that can execute a file or a text as code—the shell, the
interpreters, the build tools, the debuggers—checks, before it reads a file as code, that the file lies in the
image or in an opened folder. The refusal is thus the construction of the system and not a list of prohibitions,
and it is the same under every declaration. No tool of ConfOS writes lines into the declaration: a tool that is
asked to change the computer refuses, and the person writes the line.
What stays allowed is a person’s own action: a command typed in the terminal, or a text fed to a program through a
pipe.
The line that opens a folder. One kind of line opens anything: open FOLDER. In that folder and below it, a
person’s own scripts and compiled programs run; everywhere else they are refused; and the line stands in the
declaration in force, where everyone who reads it sees how far it opens.
Packages by recipes with checksums. Each program is built from its source by a recipe, a short text file that
names the source with its checksum, the packages needed for the build, and the commands. The result is a package: an
archive of the program’s files with a passport that records the name, the version, the checksums of the source and
of the recipe, the packages present at build time, and every file with its checksum. A package contains no scripts
that run at installation, and installing it executes nothing from it. A person brings a program that is not in the
base by a recipe of his or her own; the line then names the recipe file with its checksum, so that the declaration
pins the recipe itself.
Updates through the declaration. An update of the system is an edit of the declaration like any other. The
lines name the new release and the new versions; confos apply builds what is missing with the tools of the system
in force and restarts into the new system. Release 0.84 is itself such an update: it moves the kernel, the C
library, Python, OpenSSL and four other programs to versions that fix published security advisories.
The system builds itself. Inside a running ConfOS, with the law in force, all 63 packages were built again from
the same sources and recipes with the system’s own tools, by an ordinary account, in a folder opened for the build
by a line.
What a line leaves open. In ConfOS the places that a line may leave open are few and listed: a line of an
account may leave the number of the account to the system, and a line of the network may ask the network for an
address. For these the definition says that the declaration “does not show and does not promise” them “to be the
same on two computers”.
The three steps of Table 1, on ConfOS. The same steps were performed on a clean installation of ConfOS 0.81 on
28 November 2026. useradd, run as superuser, created no account. usermod did not change a recorded account; the
account changed when its line was edited and the declaration applied, and the change then stood in the declaration
in force. ConfOS has no profiles of users and no nix-env; the comparable steps are a program that a person
compiles and the package tool used directly. The compiler produced the program, which is the person’s own file, and
the program did not run outside an opened folder: not for the account, not through sudo, and not through the
loader called by hand. The package tool, given a package that no line names, refused and said that programs are
installed through the declaration. No refused attempt changed the declaration in force: its identity changed once,
when the line of the account was edited and the declaration applied.
4.4. The results
The complete runs. Six complete runs were made on six releases, and release 0.84 was then checked with the
cases of run 6 (Table 3).
Table 3. The complete runs of ConfOS and the check of release 0.84. Times in UTC, 27–29 November 2026.
| Run |
Release |
Performed |
Executions |
Pass |
Fail |
Undecided |
Unobserved |
| 1 |
0.67 |
27 Nov, 07:24–08:30 |
159 |
118 |
0 |
0 |
41 |
| 2 |
0.68 |
27 Nov, 18:05–19:11 |
159 |
118 |
0 |
0 |
41 |
| 3 |
0.70 |
28 Nov, 01:32–02:38 |
159 |
118 |
0 |
0 |
41 |
| 4 |
0.80 |
28 Nov, 09:47–10:58 |
159 |
118 |
0 |
0 |
41 |
| 5 |
0.81 |
28 Nov, 19:41–20:51 |
159 |
118 |
0 |
0 |
41 |
| 6 |
0.83 |
29 Nov, 19:04–20:31 |
159 |
120 |
0 |
0 |
39 |
| Check of 0.84 |
0.84 |
29 Nov, 21:52–23:06 |
159 |
120 |
0 |
0 |
39 |
In no run did an execution fail, and in no run was one undecided. Counted by single checks, runs 1 to 5 have 2,131
rows each, of which 1,546 pass and 585 are unobserved; run 6 and the check of 0.84 have 2,128 rows each, of which
1,581 pass and 547 are unobserved. No row fails and none is undecided.
Release 0.84 is a security update of 0.83. It was not given a counted run of its own: every case and every variant
was performed on it, and no outcome differs from run 6, execution by execution and row by row.
Release 0.82 added the line for saved wireless networks. Two executions that were unobserved in runs 1 to 5 could
then be performed, and both pass in run 6. In one of them a clean installation joined a wireless network from its
line, a second installation from the same declaration did the same, and removing the line removed the network. A
virtual machine has no radio, so the network was joined on a simulated radio, brought by lines of the case.
Of the 39 executions unobserved in run 6, 33 could not be performed because release 0.83 has no facility of the
kind the case needs—for example, no container runtime and no hypervisor program, no loadable kernel modules, no
scheduler and no service manager besides the line of a service, no command that removes or holds a package, no
editor and no desktop, no account server. Three could not be performed because the installation has no wireless or
Bluetooth device. Two are routes that the set assigns to another case, and they were performed there. In one, the
superuser of the running system tried to write past the tools of the system and could not, so that no event of
breaking existed to examine.
The passing executions include the following. The whole clean machine was inventoried and compared with the
declaration. The tools of the system for accounts, rights, services, the packet filter, the network, the host name,
the time, the language, kernel parameters and mounts were tried as an ordinary user and as superuser, and none
changed the computer past the declaration. Programs and scripts were brought, downloaded, built and saved, and
tried through every interpreter and the loader, and none ran outside an opened folder. The power was cut
immediately after the report of success, after a line had been added, changed or removed, and after the next start
the declaration reported as applied was in force. The line of a program, of a service, of a rule of the packet
filter and of a rule of rights was removed and the declaration applied. Two clean installations built independently
from the same declaration were compared; in the check of 0.84, where the two builds were made apart by the two
parties, 62 of their 63 packages were the same byte for byte. Eight cases of ordinary work pass: installing a
program by a line; two updates of the system with a restart after each; fetching a document; creating, changing and
reading a text file; ordinary commands and one’s own recorded script; fetching, building, changing and rebuilding
one’s own program in an opened folder; and an updater that installs, updates and removes another program through
lines.
The search. The catalogue was performed whole on four releases (Table 4).
Table 4. The search for ways around the law.
| Release |
Variants in the catalogue |
Performed |
Refused |
Passed |
Undecided |
Other |
Do not apply |
| 0.68 |
642 |
486 |
425 |
1 |
0 |
60 |
156 |
| 0.70 |
642 |
486 |
426 |
0 |
0 |
60 |
156 |
| 0.80 |
642 |
486 |
426 |
0 |
0 |
60 |
156 |
| 0.81 |
697 |
538 |
478 |
0 |
0 |
60 |
159 |
A variant does not apply when the release has no facility of the kind it needs. The 60 other variants are the same
on every release: 50 in which a recorded program worked on the person’s own data and nothing changed on the system,
8 that were set aside as candidates for breaking, and 2 that check the opened folder itself: on every release, in one
of them a person’s own script ran inside the opened folder, as it must, and the other could not be prepared. The one
variant that passed, on release 0.68, is the second defect described below. On release 0.81 one variant first came
out undecided: the fault was in the instrument, the instrument was repaired, the variant was performed again from a
clean disk and was refused, and the table gives the second outcome. Before these four releases, the catalogue was
performed in part on release 0.67, in two steps: 327 of its 642 variants, then 52 more; none passed. The search of
release 0.81 is the most recent one. Releases 0.82 and 0.83 were then checked for what their changes touch; release
0.83 had complete run 6, and release 0.84 the check of Table 3.
The defects of the implementation. Fourteen defects were found in the course of this work. All fourteen are of
one kind: the definition required a refusal, and the release did not refuse. In each, a saved file or a saved text
was executed although no line recorded it and no line opened its folder. Each was repaired in a named release.
Two were found on releases 0.67 and 0.68. On 0.67, the library that reads the command line read a saved file of key
settings, and a macro stored there typed text into the shell; the builder found it, and release 0.68 closed it.
On 0.68, the tool that builds packages executed the commands of a recipe saved outside an opened folder; the search
found it, release 0.69 closed it, and release 0.70 closed the other places of the system that decide in the same
way.
Twelve more were found by the builder while the base was moved to the program versions of Linux From Scratch 13.1,
by reading the source texts of the programs: ways in which a program of the base executes a saved file or a saved
text other than by being given a script to run—through a start-up file, a module or a debugger of an interpreter, a
saved file of commands named to a program or opened as its standard input, or a saved file of settings; a text that a
person types or pipes into a program is that person’s action (question 4 of Section 2.4). An experiment on a clean
release 0.70
confirmed all twelve; the search on 0.70 had found none of them. All twelve are closed in release 0.80. For them 28
new attempts, in 55 variants, were added to the catalogue. On release 0.81, 52 of the 55 were performed, and all 52
were refused; three do not apply.
No attempt, in any run or in any search, passed with the permission of the definition. Wherever something passed,
the definition required a refusal, and the repair was made in the system.
The line that opens a folder. Four cases test it, and all four pass in every run. A person’s saved script runs
inside the folder opened by an applied line. The same script is refused outside the folder. The opening is not law
before it is applied, and the declaration in force, read from outside the system, names exactly the folder. A path
whose name only begins like the folder’s, and a symbolic link that leads out of the folder, do not extend the
opening; removing the line and applying closes it.
The two books. ConfOS comes with two books: Building ConfOS, which leads from an ordinary Linux computer to a
ConfOS that boots and rebuilds itself, and Living in ConfOS, about the declaration day by day. Both were checked
by a party that did not build the system and had only what a reader gets: the books, the published tree of the
release and the sources fetched as the book says. With Building ConfOS for release 0.81 (29 November 2026,
00:43–04:39 UTC), the system was built from nothing and booted by the book alone, after three rounds of corrections
of the book; one complete build from nothing by the corrected book followed, in a new folder with the sources
fetched again. The chapter in which the system builds itself was performed to its end: a folder opened by a line,
and all 63 packages rebuilt inside the running system with the law in force. With Living in ConfOS for 0.81
(04:40–06:06 UTC), every example was performed by the book alone, after two rounds of corrections of the book. The
texts of release 0.83 were then taken as a reader gets them (07:19–09:42 UTC). By Building ConfOS the system was
built from nothing and booted with no correction, and all 63 source files, fetched one by one and as one archive,
passed the check of the book. By Living in ConfOS every example was performed, the chapter on wireless networks
on a simulated radio, after two rounds of corrections.
Statement by statement. Table 5 relates each statement of the definition to the cases of complete run 6 that
test it. An execution may test several statements, so the rows must not be added together.
The labels follow the parts of the definition: C0 is its core sentence and D the sentence about the declaration; K1
to K4 are the four consequences and N the sentence about degrees (Sections 2.1 and 2.2); W1 to W5 are the five
entries of “Words” (Section 2.3), with a letter for each sentence taken from an entry; Q1 to Q9 are the nine
questions (Section 2.4). The case of N tests the rule of reporting on prepared evidence and is not an observation
of the system.
Table 5. Statements of the definition, their cases, and the executions of complete run 6 on release 0.83. No
execution failed or was undecided, in any row. In the check of release 0.84 every row is the same.
| Statement of the definition |
Label |
Cases |
Executions |
Pass |
Unobserved |
| “the declaration is the law of the computer: what is written in it is what is on the computer.” |
C0 |
1 |
1 |
1 |
0 |
| “A declaration (also called a configuration) is a text that a person has designated as the description of his or her computer:” |
D |
1 |
1 |
1 |
0 |
| “By default, the system itself does not allow anything to be installed, configured or launched past the declaration.” |
K1 |
43 |
114 |
88 |
26 |
| “The declaration can be trusted.” |
K2 |
16 |
16 |
13 |
3 |
| “The same declaration on another computer yields exactly the result described in it,” |
K3 |
8 |
8 |
5 |
3 |
| “Remove a line and apply: what it contributed is not on the computer,” “unless the remaining lines contribute it.” |
K4 |
28 |
41 |
30 |
11 |
| “There are no degrees: a system either is such a system or it is not.” |
N |
1 |
1 |
1 |
0 |
| “The computer is brought into conformity with the declaration; the declaration is not copied from the computer.” |
W1a |
24 |
24 |
20 |
4 |
| “To bring into conformity means to apply; the system does this.” |
W1b |
27 |
27 |
23 |
4 |
| “The law is the declaration that the system applied last and reported as successful;” “a line added to a file and not yet applied is not yet law.” |
W1c |
31 |
36 |
30 |
6 |
| “Everywhere in this text, “the declaration” is the one in force.” |
W1e |
9 |
9 |
8 |
1 |
| “There may be many files; the description is one.” |
W1d |
1 |
1 |
1 |
0 |
| “About what is installed: the programs put on the computer and everything that came with them, including the operating system itself.” |
W2a |
23 |
41 |
32 |
9 |
| “About settings: what the computer as a whole obeys, whoever set it and however” |
W2b |
34 |
69 |
46 |
23 |
| “Data appear on the computer without the declaration as well: program records” “a person’s material” |
W2c |
9 |
20 |
19 |
1 |
| “A line names what must be: a program is installed, a service is enabled, a setting has such-and-such a value.” |
W3a |
10 |
10 |
9 |
1 |
| “What the system itself obtains or builds from a line also comes through the declaration:” |
W3b |
11 |
16 |
15 |
1 |
| “The declaration promises what the line names.” |
W3c |
5 |
5 |
4 |
1 |
| “What a line does not name but leaves open” “the declaration does not show and does not promise to be the same on two computers.” |
W3d |
5 |
5 |
4 |
1 |
| “The declaration is silent about what neither comes through any of its lines nor is left open by any line;” |
W3e |
9 |
9 |
6 |
3 |
| ““By default” means as long as the declaration has no line that opens this.” |
W4a |
4 |
4 |
4 |
0 |
| “This is a property of the system itself under any declaration: neither the system nor a program with its own values gives a path past the declaration.” |
W4b |
4 |
33 |
26 |
7 |
| “A system in which such a path is open until it is closed by a prohibition does not have this property, however many prohibitions are written into it.” |
W4c |
1 |
1 |
0 |
1 |
| “To install or configure something that the declaration is silent about is possible only by force: with superuser privileges and outside the system’s tools” |
W5a |
13 |
31 |
18 |
13 |
| “This is a violation on the person’s part, not a property of the system, and it does not refute the definition.” |
W5b |
1 |
1 |
0 |
1 |
| “Here the path was opened by the person, by a line in the declaration.” “It makes no promise where such a line stands, and exactly as far as that line opens.” |
Q1 |
5 |
5 |
5 |
0 |
| “Is an installer run through sudo breaking?” “No, and it does not install past the declaration.” |
Q2 |
32 |
68 |
47 |
21 |
| “By default the system does not run it, and the recording of Python does not change this.” “Code is a file that a program executes; a file from which it only reads values is not code.” |
Q3 |
9 |
47 |
41 |
6 |
| “It is that person’s action, not something that is on the computer.” “But what the declaration is silent about cannot be installed or configured in this way.” |
Q4 |
6 |
10 |
9 |
1 |
| “No, it is an ordinary program: it runs on this computer as its own process.” |
Q5 |
1 |
1 |
0 |
1 |
| “They are inside a recorded program and cannot themselves launch programs or change the computer.” |
Q6 |
1 |
1 |
0 |
1 |
| “No, they are a record of the program itself.” “But a value of a program that launches something or opens access to someone is a setting of the computer.” |
Q7 |
2 |
17 |
12 |
5 |
| “They come from a program or a setting that is recorded:” |
Q8 |
1 |
1 |
1 |
0 |
| “No, it is enough to record the server; it must be named in the line.” |
Q9 |
1 |
1 |
0 |
1 |
Five statements have no passing execution on release 0.83. The sentence about a system in which a path is open until
a prohibition closes it (W4c): no line of prohibition exists, since refusal is the default. The sentence that
breaking is a violation on the person’s part (W5b): the superuser of the running system could not write past the
tools of the system, so no breaking existed to examine. Question 5: no container runtime. Question 6: no hypervisor
program. Question 9: no account server. Two of these statements were exercised on the first implementation, which
had the facilities: question 5 by four attempts with containers, and question 6, for a website, by work in a
browser. All were met by the text after the review.
5. What is established
We asked what a declarative operating system is. The answer has three parts, and they are of different kinds.
The first part is a definition: “A declarative operating system is an operating system in which the declaration is
the law of the computer: what is written in it is what is on the computer.” A definition is a choice of the meaning
of a word. This choice is not arbitrary. The word is already used to promise two things: that the text tells what is
on the computer, and that the same text on another computer gives the same (Section 3.1). The accepted definition, a
description of a desired state and a tool, gives neither. The definition of Section 2 is the one under which the
promise is true (Section 2.2).
The second part is the outcome of the disagreement. The word is defined in the weak sense and used to promise in the
strong one: the conflation of two concepts. By the accepted wording any operating system can be called declarative
(Section 3.1). We disagree with this understanding at the root, and we reject it. By this definition, NixOS and GNU
Guix System are not declarative operating systems. The systems that are called “declarative” today and by default
can hold or do what their text does not say have a name now: pseudo-declarative operating systems (Section 3.2).
The third part is a result. The statement that used to be our hypothesis—a system that meets the definition can be
built, and ordinary work is possible in it—is confirmed by construction. ConfOS was built from the text as its
specification, and it was checked by a party that did not build it, with cases written from the published texts and
programs of its own. In six complete runs on six releases no execution failed and none was undecided. Every defect
found, by the search or by the builder, was a defect of the implementation: the definition required a refusal, the
release did not refuse, and the release was repaired. On release 0.81, of 538 attempts to get around the law, none
passed. Ordinary work was performed on both implementations: with a browser, documents and a game on the first, and,
on ConfOS with a base of its own, the work of a terminal system, up to the system rebuilding all of its own packages
with the law in force.
What is established is that the choice is not empty. A system of this kind exists, and anyone can build it: from the
published sources, by the published book, and check it with the published cases. That such a system cannot be built
is no longer an answer.
This is therefore no longer a hypothesis. There is a definition, and there is a result: the definition is
realizable.
The same way is open to whoever holds that another system is a declarative operating system: publish its
declaration, perform the published cases on it, and publish the outcome.
6. Where everything is
- The site of ConfOS: https://confos.org, with the three texts of ConfOS: What is ConfOS, Building ConfOS
and Living in ConfOS.
- The code: https://github.com/confos-org/confos. The recipes, the tools, the files of ConfOS itself, the
scripts of the build, example declarations and the texts of the books. The code of ConfOS is under the MIT
licence; the programs it builds keep their own licences.
- The sources: https://dl.confos.org/sources/0.84/. Every source file of release 0.84, with its checksum.
- The cases and the reports of the runs: https://github.com/Yakyman/configuration-as-law. The folder
confos-check-v5 holds the cases and the checking programs; the folder records-confos-v5 holds the reports of
complete runs 1 to 6 and of the check of release 0.84. The first implementation is in the folders confos,
confos-check and records-confos.
- The records of the search for ways around the law: the folder
records-confos-search of the same
repository: the six reports of the searches, the catalogue as it was performed on release 0.81 and its programs,
with instructions for performing it on one’s own build of ConfOS 0.81 (Section 4.4).
- The record of the three steps on NixOS: the folder
records-nixos-1130 of the same repository, with the
output of every command (Section 3.2, Appendix D).
- The records of the search for earlier work: the folder
records-search of the same repository: the list of
the queries, the list of the texts read and the cards with the exact quotations (Appendix B).
- The six earlier papers: https://yakyman.com/research.
To check this paper, one can build ConfOS by the book, perform the cases on it, and compare the outcome with the
reports; and one can open the sources of Section 3 and of Appendices A, C, D and E at the addresses given in the
references.
References
Official NixOS Wiki contributors (2026). NixOS. Wiki page, revision of 4 August 2026, 16:08. Accessed 30.11.2026. https://wiki.nixos.org/w/index.php?title=NixOS&oldid=34224
NixOS Manual, version 26.05, sections Installing NixOS, Package Management and User Management. Documentation. Accessed 22.11.2026 and 30.11.2026. https://nixos.org/manual/nixos/stable/
Bell Telephone Laboratories (1979). UNIX Time-Sharing System: UNIX Programmer’s Manual, Seventh Edition, Volume 1, January 1979; entries ttys(5) and init(8). Source files kept by The Unix Heritage Society. https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/man/man5/ttys.5; https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/man/man8/init.8; https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/man/man0/title
Western Electric (1983). UNIX System User’s Manual, System V, January 1983; entry INITTAB(4). Scan kept by Bitsavers. https://bitsavers.trailing-edge.com/pdf/att/unix/System_V_Release_1/301-905_UNIX_System_V_Release_1_Users_Manual_Jan83.pdf
Microsoft. Write, Compile, and Apply a Configuration; PSDesiredStateConfiguration v1.1; DSC Resources. Documentation of Windows PowerShell Desired State Configuration 1.1. Accessed 30.11.2026. https://learn.microsoft.com/en-us/powershell/dsc/configurations/write-compile-apply-configuration?view=dsc-1.1; https://learn.microsoft.com/en-us/powershell/dsc/overview?view=dsc-1.1; https://learn.microsoft.com/en-us/powershell/dsc/resources/resources?view=dsc-1.1
Apple. Leveraging the declarative management data model to scale devices. Apple Developer documentation. Adopt declarative device management. WWDC22, session 10046, transcript. Accessed 30.11.2026. https://developer.apple.com/documentation/devicemanagement/leveraging-the-declarative-management-data-model-to-scale-devices.md; https://developer.apple.com/videos/play/wwdc2022/10046/
Apple. Intro to declarative device management and Apple devices; Use declarative device management to manage Apple devices. Apple Platform Deployment. Configuration enforcement. Apple Platform Security. Accessed 30.11.2026. https://support.apple.com/guide/deployment/depb1bab77f8/web; https://support.apple.com/guide/deployment/depc30268577/web; https://support.apple.com/en-az/guide/security/secf6fb9f053/web
Alpine Linux. Alpine Package Keeper, section World. Alpine wiki, page as edited on 3 November 2024; archived copy. apk-world(5). Manual page of apk-tools. Accessed 30.11.2026. https://web.archive.org/web/20250000000000/https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper; https://raw.githubusercontent.com/alpinelinux/apk-tools/master/doc/apk-world.5.scd
Gentoo Authors. World set (Portage), revision of 6 January 2026; Selected set (Portage), revision of 22 December 2025. Gentoo wiki. Accessed 30.11.2026. https://wiki.gentoo.org/wiki/World_set_(Portage); https://wiki.gentoo.org/wiki/Selected_set_(Portage)
Gentoo Authors (2021). emerge(1). Manual page of Portage, December 2021. Accessed 30.11.2026. https://dev.gentoo.org/~zmedico/portage/doc/man/emerge.1.html
GNU Guix Reference Manual 1.5.0, sections Using the Configuration System, User Accounts and Invoking guix package. Documentation. https://guix.gnu.org/manual/1.5.0/en/html_node/Using-the-Configuration-System.html; https://guix.gnu.org/manual/1.5.0/en/html_node/User-Accounts.html; https://guix.gnu.org/manual/1.5.0/en/html_node/Invoking-guix-package.html
NixOS, home page. Accessed 18.11.2026 and 30.11.2026. https://nixos.org/
Zierhut IT GmbH. NixOS. Company page on its use of NixOS and its services; undated. Accessed 30.11.2026. https://zierhut-it.de/en/services/devops-and-infrastructure/linux-servers-and-distributions/nixos/
Yakymenko, A. (2026). Configuration as Law: A hypothesis on what a declarative operating system is. Preprint, 18 November 2026; hypothesis, version 1. https://yakyman.com/configuration-as-law-v1.pdf
Yakymenko, A. (2026). Testing the “Configuration as Law” Hypothesis: Results of the First Cycle and a Second Version. Preprint, 20 November 2026. https://yakyman.com/configuration-as-law-v2.pdf
Yakymenko, A. (2026). Testing the “Configuration as Law” Hypothesis, Version 3: Hypothesis, Checks, and Failure Conditions Fixed Before the Checks. Preregistration, 21 November 2026. https://yakyman.com/configuration-as-law-v3.pdf
Yakymenko, A. (2026). The “Configuration as Law” Hypothesis: Results of the Checks of Version 3, and Version 4. Preprint, 22 November 2026. https://yakyman.com/configuration-as-law-v4.pdf
Yakymenko, A. (2026). The “Configuration as Law” Hypothesis: Results of the Checks of Version 4, and a New Plan for Checking It. Preprint, 23 November 2026. https://yakyman.com/configuration-as-law-v5.pdf
Yakymenko, A. (2026). “Configuration as Law”: A Declarative Operating System Built from Its Definition. Results of the Reference Implementation, and Version 5. Preprint, 25 November 2026. https://yakyman.com/configuration-as-law-v6.pdf
Happel, L. L. (2026). Applying topological data analysis to 4 years of NixOS usage. Personal site. Accessed 30.11.2026. https://happel.ai/posts/nixos-git-analysis/
Puppet (Perforce). What is Puppet?; Resources. Documentation of Puppet Core. Accessed 30.11.2026. https://help.puppet.com/core/current/content/puppetcore/what_is_puppet.htm; https://help.puppet.com/core/current/content/puppetcore/lang_resources.htm
HashiCorp. Terraform Language Documentation. Documentation. Accessed 30.11.2026. https://developer.hashicorp.com/terraform/language
Ansible project (Red Hat). Glossary. Documentation of Ansible Core 2.22. Accessed 30.11.2026. https://docs.ansible.com/projects/ansible-core/2.22/reference_appendices/glossary.html
Microsoft. DSC configuration documents. Documentation of Microsoft Desired State Configuration 3.0. Accessed 30.11.2026. https://learn.microsoft.com/en-us/powershell/dsc/concepts/configuration-documents/overview?view=dsc-3.0
Wikipedia contributors (2026). Infrastructure as code. Encyclopedia article, revision of 14 November 2026. Accessed 30.11.2026. https://en.wikipedia.org/wiki/Infrastructure_as_code
Anderson, P., Couch, A. (2004). What Is This Thing Called System Configuration? Talk, LISA 2004. https://usenix.org/legacy/publications/library/proceedings/lisa04/tech/talks/couch.pdf
Delaet, T., Joosen, W., Vanbrabant, B. (2010). A Survey of System Configuration Tools. LISA 2010. https://static.usenix.org/event/lisa10/tech/full_papers/Delaet.pdf
OpenGitOps (2021). GitOps Principles v1.0.0; Glossary v1.0.0. https://github.com/open-gitops/documents/blob/v1.0.0/PRINCIPLES.md; https://github.com/open-gitops/documents/blob/v1.0.0/GLOSSARY.md
Hardie, A. W. (2003). LCFG For Mac OS X. Undergraduate project report, University of Edinburgh, p. 5. https://www.lcfg.org/doc/hardie.pdf
Moor, A. Linux-Distributionen verstehen: Einsatzbereiche, Systemkonzepte und Unterschiede. Essay, in German; undated. Accessed 30.11.2026. https://andreas-moor.de/linux-distributionen-verstehen-einsatzbereiche-systemkonzepte-und-unterschiede/
Wurster, M. et al. (2020). The Essential Deployment Metamodel: A Systematic Review of Deployment Automation Technologies. SICS Software-Intensive Cyber-Physical Systems. https://arxiv.org/abs/1905.07314
Couch, A. (2010). Configuration Management Phenomenology. ;login: 35(1), pp. 10–15. https://files.usenix.org/s3fs-public/cdn/103-couch.pdf
Aristotle. On Interpretation (De interpretatione), Part 4 (17a). Translated by E. M. Edghill. https://arquivo.bocc.ubi.pt/pag/Aristotle-interpretation.pdf
Lloyd, J. W. (1994). Practical Advantages of Declarative Programming. In: Declarative Programming: 1994 Joint Conference, GULP-PRODE’94, Proceedings, Volume I, pp. 3–17; p. 3. https://www.programmazionelogica.it/wp-content/uploads/2015/12/GP1994-I-000-031.pdf
Lloyd, J. W. (1987). Foundations of Logic Programming. Second, extended edition. Springer; Section 6, p. 35. https://link.springer.com/book/10.1007/978-3-642-83189-8
W3C (2012). OWL 2 Web Ontology Language Primer (Second Edition). W3C Recommendation; eds. Hitzler, P., Krötzsch, M., Parsia, B., Patel-Schneider, P. F., Rudolph, S.; Section 2. https://www.w3.org/TR/owl2-primer/
Reiter, R. (1978). On Closed World Data Bases. In: Gallaire, H., Minker, J. (eds.), Logic and Data Bases, pp. 55–76. Plenum Press; pp. 55–56. https://link.springer.com/chapter/10.1007/978-1-4684-3384-5_3; the first pages: https://page-one.springer.com/pdf/preview/10.1007/978-1-4684-3384-5_3
Puppet (Perforce). Resource Type: resources. Documentation of Puppet Core. Accessed 30.11.2026. https://help.puppet.com/core/current/Content/PuppetCore/Markdown/resources.htm
HashiCorp. Terraform documentation: lifecycle reference; State; Import resources overview. Documentation of Terraform v1.17.x. Accessed 30.11.2026. https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle; https://developer.hashicorp.com/terraform/language/state; https://developer.hashicorp.com/terraform/language/import
Ripley, D. (2018). Blurring: An Approach to Conflation. Notre Dame Journal of Formal Logic 59(2), 171–188; the abstract. https://doi.org/10.1215/00294527-2017-0025
Dowden, B. Fallacies. Internet Encyclopedia of Philosophy; undated. Accessed 30.11.2026. https://iep.utm.edu/fallacy/
Anderson, P. (2006). System Configuration. Short Topics in System Administration 14. USENIX Association. https://2459d6dc103cb5933875-c0245c5c937c5dedcca3f1764ecc9b2f.ssl.cf2.rackcdn.com/books/14_sysconfig.pdf
Traugott, S., Brown, L. (2002). Why Order Matters: Turing Equivalence in Automated Systems Administration. LISA 2002. https://www.usenix.org/legacy/events/lisa02/tech/full_papers/traugott/traugott_html/index.html
DeTreville, J. (2005). Making System Configuration More Declarative. HotOS X. https://www.usenix.org/legacy/events/hotos05/final_papers/full_papers/detreville/detreville_html/index.html
DeTreville, J. D. (2014). Declarative system configurations. United States Patent US 8,892,694 B2, assigned to Microsoft; filed in 2005. https://patents.google.com/patent/US8892694B2/en
aconfmgr authors. aconfmgr: A configuration manager for Arch Linux. README of the project. Accessed 30.11.2026. https://raw.githubusercontent.com/CyberShadow/aconfmgr/master/README.md
Garay, E. (2026). Por qué migré todo mi laboratorio a NixOS: cuatro máquinas, un repositorio y lo que costó. Essay, in Spanish. Accessed 30.11.2026. https://efraingaray.com/blog/por-que-migre-todo-a-nixos/
edo1h; VolCh (2021). Comments of 10 and 12 January 2021 under the transcript of the talk “Ansible идемпотентный”, in Russian. Discussion. https://habr.com/ru/articles/536340/comments/
Hunt, G., Larus, J., Abadi, M., Aiken, M., Barham, P., Fähndrich, M., Hawblitzel, C., Hodson, O., Levi, S., Murphy, N., Steensgaard, B., Tarditi, D., Wobber, T., Zill, B. (2005). An Overview of the Singularity Project. Microsoft Research Technical Report MSR-TR-2005-135. https://www.microsoft.com/en-us/research/wp-content/uploads/2005/10/tr-2005-135.pdf
Microsoft Research, Singularity project. Security Model. Singularity Design Note 9, file “SDN9a Updated Security Model” of the Singularity Research Development Kit; undated; copy in a public mirror of the kit. https://raw.githubusercontent.com/dz333n/Singularity-OS/f02ee02e0c0ccb1449ffd4bc32fb281072c36194/docs/Design%20Notes/SDN9a%20Updated%20Security%20Model.pdf
Hunt, G., Aiken, M., Barham, P., Fähndrich, M., Hawblitzel, C., Hodson, O., Larus, J., Levi, S., Murphy, N., Steensgaard, B., Tarditi, D., Wobber, T., Zill, B. (2006). Sealing OS Processes to Improve Dependability and Security. Microsoft Research Technical Report MSR-TR-2006-51, draft. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-2006-51.pdf
Spear, M. F., Roeder, T., Hodson, O., Hunt, G. C., Levi, S. (2006). Solving the Starting Problem: Device Drivers as Self-Describing Artifacts. EuroSys 2006. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/eurosys2006_solvingthestartingproblem.pdf
Couch, A., Hart, J., Idhaw, E. G., Kallas, D. (2003). Seeking Closure in an Open World: A Behavioral Agent Approach to Configuration Management. LISA 2003. https://www.usenix.org/legacy/publications/library/proceedings/lisa03/tech/full_papers/couch/couch_html/index.html
Burgess, M., Couch, A. (2006). Modeling Next Generation Configuration Management Tools. LISA 2006, pp. 131–147. https://www.usenix.org/legacy/event/lisa06/tech/full_papers/burgess/burgess_html/index.html
Manferdelli, J. L., Roeder, T., Schneider, F. B. (2013). The CloudProxy Tao for Trusted Computing. Technical Report UCB/EECS-2013-135, University of California at Berkeley. https://www2.eecs.berkeley.edu/Pubs/TechRpts/2013/Archive/EECS-2013-135.pdf
Joint Task Force (2020). Security and Privacy Controls for Information Systems and Organizations. NIST Special Publication 800-53, Revision 5; controls CM-7(4) and CM-7(5), p. 106. Standard. https://doi.org/10.6028/NIST.SP.800-53r5
Sedgewick, A., Souppaya, M., Scarfone, K. (2015). Guide to Application Whitelisting. NIST Special Publication 800-167, Section 2.1. Guideline. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-167.pdf
Gentoo Authors. About Gentoo, page of the project site; About the Gentoo Linux Installation, Gentoo AMD64 Handbook. Accessed 30.11.2026. https://www.gentoo.org/get-started/about/; https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/About
The FreeBSD Project. rc.conf(5); rc(8). FreeBSD manual pages. Accessed 30.11.2026. https://man.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5; https://man.freebsd.org/cgi/man.cgi?query=rc&sektion=8
Debian. apt-mark(8); apt-get(8); dpkg(1). Manual pages of Debian 13 (trixie). Accessed 30.11.2026. https://manpages.debian.org/trixie/apt/apt-mark.8.en.html; https://manpages.debian.org/trixie/apt/apt-get.8.en.html; https://manpages.debian.org/trixie/dpkg/dpkg.1.en.html
Debian. Debian Reference, version 2.153 (29 November 2026), Section 3.8.4, Cloud system initialization. https://www.debian.org/doc/manuals/debian-reference/ch03.en.html
Arch Linux. Pacman, section Installation reason; Pacman/Tips and tricks, section Removing unused packages (orphans). ArchWiki, the documentation of the project. Accessed 30.11.2026. https://wiki.archlinux.org/title/Pacman; https://wiki.archlinux.org/title/Pacman/Tips_and_tricks
Arch Linux. archinstall, README. Source repository of the installer. Accessed 30.11.2026. https://github.com/archlinux/archinstall/blob/master/README.md
Fedora Project. Installation Guide of Fedora 36, chapter Automating the Installation with Kickstart. Documentation, last content update 25 July 2021; archived copy of 22 December 2024. https://web.archive.org/web/20241222201416/https://docs.fedoraproject.org/en-US/fedora/f36/install-guide/advanced/Kickstart_Installations/
openSUSE project (2024). AutoYaST Guide, openSUSE Leap 15.6. Documentation, 10 June 2024. https://doc.opensuse.org/projects/autoyast/
Canonical. Introduction to autoinstall; Autoinstall configuration reference manual. Documentation of the Ubuntu installer. cloud-init project. Introduction to cloud-init; Cloud config. Documentation of cloud-init. Accessed 30.11.2026. https://canonical-subiquity.readthedocs-hosted.com/en/latest/intro-to-autoinstall.html; https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html; https://docs.cloud-init.io/en/latest/explanation/introduction.html; https://docs.cloud-init.io/en/latest/explanation/format/cloud-config.html
Dolstra, E., Löh, A., Pierron, N. (2010). NixOS: A Purely Functional Linux Distribution. Journal of Functional Programming. https://www.cs.tufts.edu/~nr/cs257/archive/andres-loeh/nix-os-jfp.pdf
Records of the checks. https://github.com/Yakyman/configuration-as-law
Dolstra, E. (2006). The Purely Functional Software Deployment Model. PhD thesis, Utrecht University, p. 15. https://edolstra.github.io/pubs/phd-thesis.pdf
Dolstra, E., Hemel, A. (2007). Purely Functional System Configuration Management. HotOS XI. https://www.usenix.org/legacy/event/hotos07/tech/full_papers/dolstra/dolstra_html/
NixOS, nixos/modules/config/users-groups.nix, option users.mutableUsers. Source code of nixpkgs at commit efe115d4ba89 (30 November 2026), lines 681–707. https://raw.githubusercontent.com/NixOS/nixpkgs/efe115d4ba89992eeccc02937c6979406b93c4c3/nixos/modules/config/users-groups.nix
NixOS, nixos/modules/config/nix.nix, options nix.enable, nix.settings.trusted-users and nix.settings.allowed-users. Source code of nixpkgs at commit efe115d4ba89 (30 November 2026). https://raw.githubusercontent.com/NixOS/nixpkgs/efe115d4ba89992eeccc02937c6979406b93c4c3/nixos/modules/config/nix.nix
Courtès, L. (2017). Code Staging in GNU Guix. GPCE 2017. https://arxiv.org/abs/1709.00833
Sidero Labs. Home page of the maker of Talos Linux. Accessed 30.11.2026. https://www.siderolabs.com/
Sidero Labs. Talos Linux documentation: Talos for Linux Admins (v1.12); Deploy Your First Workload (v1.12); Debug Shell (v1.13); ContainerConfig (v1.14). Accessed 30.11.2026. https://docs.siderolabs.com/talos/v1.12/learn-more/talos-for-linux-admins; https://docs.siderolabs.com/talos/v1.12/getting-started/deploy-first-workload; https://docs.siderolabs.com/talos/v1.13/troubleshooting/talosctl-debug; https://docs.siderolabs.com/talos/v1.14/reference/configuration/container/containerconfig
IncusOS contributors (Linux Containers). IncusOS documentation: main page; Shared API; Incus. Accessed 30.11.2026. https://linuxcontainers.org/incus-os/docs/main/; https://linuxcontainers.org/incus-os/docs/main/reference/applications/shared-api/; https://linuxcontainers.org/incus-os/docs/main/reference/applications/incus/
Bottlerocket project (Amazon Web Services). Bottlerocket OS, README, branch develop; API Driven, documentation of version 1.59.x. Accessed 30.11.2026. https://raw.githubusercontent.com/bottlerocket-os/bottlerocket/develop/README.md; https://bottlerocket.dev/en/os/1.59.x/concepts/api-driven/
Microsoft. Windows 11 SE Overview (updated 10 October 2024); Windows 11 SE for Education settings list (updated 4 June 2025). Documentation. Accessed 30.11.2026. https://learn.microsoft.com/en-us/education/windows/windows-11-se-overview; https://learn.microsoft.com/en-us/education/windows/windows-11-se-settings-list
ConfOS, release 0.84 (29 November 2026). https://confos.org; https://github.com/confos-org/confos
Linux From Scratch, version 13.1. https://www.linuxfromscratch.org
blendOS contributors (2025). Home page (2 August 2025); system.yaml; akshara (24 June 2025); Immutability (26 April 2025). Project site and documentation. Accessed 30.11.2026. https://blendos.co/; https://blendos.co/reference/configs/system/; https://blendos.co/reference/utils/akshara/; https://blendos.co/reference/nerdy-stuff/immutability/
PacketFive Networks Limited. PyrixOS; Introduction to PyrixOS; RFC 0004 · System Configuration. Project site and design documents; undated. Accessed 30.11.2026. https://packetfive.com/pyrixos; https://packetfive.com/pyrixos/docs/introduction/; https://packetfive.com/pyrixos/docs/rfc/0004-system-configuration/
AerynOS team (2026). Solid foundations are leading to expanding horizons. Project update, 2 August 2026; Configuration Locations. Documentation. Accessed 30.11.2026. https://aerynos.com/blog/2026/08/02/solid-foundations-are-leading-to-expanding-horizons/; https://aerynos.com/users/system-management/configuration-locations/
Wilson, D. (2026). Vessel 2026.1: a whole Linux system built with Sigil. Release announcement, 20 November 2026. https://usesigil.org/news/vessel-2026-1/
Imershein, L. (2026). Bootable containers: Reduce friction with Red Hat Enterprise Linux image mode. Red Hat Developer, article of 1 April 2026. https://developers.redhat.com/articles/2026/04/01/bootable-containers-reduce-friction-red-hat-enterprise-linux-image-mode
bootc project. Filesystem (bootc-filesystem.7). Documentation. Accessed 30.11.2026. https://bootc.dev/bootc/bootc-filesystem.7.html
Kairos project (2025). Kairos release v3.4.0. Release announcement, 24 April 2025; Extending the system with systemd extensions. Documentation, updated 19 November 2026. https://kairos.io/blog/2025/04/24/kairos-release-v3.4.0/; https://kairos.io/docs/advanced/sys-extensions/
Canonical. Ubuntu Core on the clouds; Using Ubuntu Core (updated 13 October 2026); model (updated 2 October 2026). Documentation of Ubuntu Core. Accessed 30.11.2026. https://documentation.ubuntu.com/core-on-clouds/explanation/ubuntu-core-on-the-clouds-an-intro/; https://documentation.ubuntu.com/core-on-clouds/how-to-guides/using-ubuntu-core/; https://documentation.ubuntu.com/core/reference/assertions/model/
Flatcar Project contributors. Supply chain security mechanisms; Getting Started with Flatcar Container Linux. Documentation. Accessed 30.11.2026. https://www.flatcar.org/docs/latest/security/supply-chain/; https://www.flatcar.org/docs/latest/getting-started/
Flatcar project (2024). Flatcar brings Container Linux to the CNCF Incubator. Project post on the site of the Cloud Native Computing Foundation, 29 October 2024. https://www.cncf.io/blog/2024/10/29/flatcar-brings-container-linux-to-the-cncf-incubator/
Tal, D., Fromm, T. (2023). Security Self-Assessment: Flatcar Container Linux. Report for the security group of the Cloud Native Computing Foundation, 21 June 2023. https://tag-security.cncf.io/community/assessments/projects/flatcar/self-assessment/
Fedora Project. Fedora CoreOS, page of the project site; Producing an Ignition Config; Adding OS extensions to the host system. Documentation of Fedora CoreOS, source files. Accessed 30.11.2026. https://fedoraproject.org/coreos/; https://raw.githubusercontent.com/coreos/fedora-coreos-docs/main/modules/ROOT/pages/producing-ign.adoc; https://raw.githubusercontent.com/coreos/fedora-coreos-docs/main/modules/ROOT/pages/os-extensions.adoc
Ignition project. Rationale. Documentation. Accessed 30.11.2026. https://coreos.github.io/ignition/rationale/
openSUSE contributors. openSUSE MicroOS, project page; transactional-update, README. Accessed 30.11.2026. https://microos.opensuse.org/; https://github.com/openSUSE/transactional-update
IncusOS contributors (Linux Containers). IncusOS, guide for contributors (doc/contributing.md, section Debugging) and the script incus-agent-setup of the base image. Source repository at commit fa4f060b20be. Accessed 30.11.2026. https://raw.githubusercontent.com/lxc/incus-os/fa4f060b20be36efd88ede33c86dc85f2acadc10/doc/contributing.md; https://raw.githubusercontent.com/lxc/incus-os/fa4f060b20be36efd88ede33c86dc85f2acadc10/mkosi.images/base/mkosi.extra/usr/lib/systemd/incus-agent-setup
Incus contributors (Linux Containers). How to run commands in an instance. Documentation of Incus. Accessed 30.11.2026. https://linuxcontainers.org/incus/docs/main/instance-exec/
ChromiumOS authors. Shell scripts & noexec mounts; Running Custom Containers Under ChromeOS; Developer mode. Documentation. Accessed 30.11.2026. https://new.chromium.org/chromium-os/developer-library/guides/security/noexec-shell-scripts/; https://www.chromium.org/chromium-os/developer-library/guides/containers/containers-and-vms/; https://www.chromium.org/chromium-os/developer-library/guides/device/developer-mode/
Fuchsia authors. Verified Execution. Documentation; RFC-0212: Package Sets (2022). Design document. Accessed 30.11.2026. https://fuchsia.dev/fuchsia-src/concepts/security/verified_execution; https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0212_package_sets
LinuxKit project contributors. Security Design; Configuration Reference; Architecture. Documentation. Accessed 30.11.2026. https://raw.githubusercontent.com/linuxkit/linuxkit/master/docs/security.md; https://raw.githubusercontent.com/linuxkit/linuxkit/master/docs/yaml.md; https://raw.githubusercontent.com/linuxkit/linuxkit/master/docs/architecture.md
Cisco (2023). System Security Configuration Guide for Cisco NCS 540 Series Routers, IOS XR Release 7.9.x, chapter Need for Trustworthy Systems. Documentation, updated 31 March 2023. Accessed 30.11.2026. https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5xx/system-security/79x/b-system-security-cg-79x-ncs540/implementation-of-trustworthy-systems.html
Extreme Networks. Extreme SLX-OS Management Configuration Guide, 20.7.2, sections Configuration Files and Escalating Linux permissions to root. Documentation. Accessed 30.11.2026. https://documentation.extremenetworks.com/Extreme%20SLX-OS%2020.7.2%20Management%20Configuration%20Guide/DatacenterNetworking/SLX-OS/20.7.2/extreme_slx_os_management_configuration_guide/configuration_files_slxc.shtml; https://documentation.extremenetworks.com/Extreme%20SLX-OS%2020.7.2%20Management%20Configuration%20Guide/DatacenterNetworking/SLX-OS/20.7.2/extreme_slx_os_management_configuration_guide/escalating_linux_permissions_to_root_slxc.shtml
Sirer, E. G., de Bruijn, W., Reynolds, P., Shieh, A., Walsh, K., Williams, D., Schneider, F. B. (2011). Logical Attestation: An Authorization Architecture for Trustworthy Computing. SOSP 2011. https://www.cs.cornell.edu/fbs/publications/nexusSOSP.pdf
Galanou, A., Bindlish, K., Preibsch, L., Pignolet, Y.-A., Fetzer, C., Kapitza, R. (2023). Trustworthy confidential virtual machines for the masses. Middleware 2023. https://internetcomputer.org/whitepapers/Trustworthy%20confidential%20virtual%20machines%20for%20the%20masses.pdf
Microsoft. Manage Approved Apps for Windows Devices with App Control for Business Policy and Managed Installers in Microsoft Intune (updated 16 November 2026); Best practices for code signing with App Control for Business. Documentation. Accessed 30.11.2026. https://learn.microsoft.com/en-us/intune/device-configuration/endpoint-security/manage-app-control; https://learn.microsoft.com/en-us/windows/security/application-security/application-control/app-control-for-business/deployment/use-code-signing-for-better-control-and-protection
Red Hat. Blocking and allowing applications by using fapolicyd, in Security hardening, documentation of Red Hat Enterprise Linux 9. Accessed 30.11.2026. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/security_hardening/assembly_blocking-and-allowing-applications-using-fapolicyd_security-hardening
Snowberg, E. (2024). Enforcing Runtime Integrity Checks in OL9 with IMA. Oracle Linux Blog, 11 April 2024. https://blogs.oracle.com/linux/runtime-integrity-checks-with-ima
Boivie, R., Ekanadham, E., Jain, B., Hall, E., Hunt, G., Kapur, M., Kayaalp, M., Palmer, E., Pendarakis, D., Safford, D., Valdez, R. (2017). Hardware Support for Malware Defense and End-to-End Trust. Final technical report AFRL-RI-RS-TR-2017-021, International Business Machines Corporation for the Air Force Research Laboratory, February 2017, p. 20. https://wiki.raptorcs.com/w/images/f/f0/AFRL-RI-RS-TR-2017-021.pdf
Winny (2024). NixOS Migration. Blog; updated 7 November 2024. https://blog.winny.tech/posts/nixos_migration/
Zhou Shuiqing (2023). [PATCH v3 openEuler-23.09 00/46] ima: Add IMA digest lists extension. Posting to the mailing list of the kernel of openEuler, 31 August 2023. https://mailweb.openeuler.org/archives/list/kernel@openeuler.org/thread/D5UP7EVTW465JQQCWHVX7ID4LSN5LVQB/
Anderson, P., Beckett, G., Kavoussanakis, K., Mecheneau, G., Toft, P. (2002). Technologies for Large-Scale Configuration Management. Technical report of the GridWeaver project, revision 1.0, pp. 15–16. Archived copy: https://web.archive.org/web/20051109054838id_/http://www.gridweaver.org:80/WP1/report1.pdf
EnigmaCurry (2026). arch-workstation, Introduction. Online book; page built on 10 November 2026. Accessed 30.11.2026. https://book.rymcg.tech/arch-workstation/introduction/
Sokolowski, D. (2024). Reliable Infrastructure as Code for Decentralized Organizations. PhD thesis, University of St. Gallen, p. 18. https://dsoko.de/publications/2024_Reliable-Infrastructure-as-Code-for-Decentralized-Organizations.pdf
Odom, W., Gooley, J., Hucaby, D. (2025). CCNA 200-301 Official Cert Guide, Volume 2, Second Edition. Cisco Press. Book; glossary, p. 648. https://builder.pearsonitcertification.com/Content/Product/CDD5B041-B01F-4782-8616-F72065F57B90/9780138221492_LogIn.pdf
Sokolov, A. (2018). Ansible идемпотентный. Talk, in Russian; transcript published in 2021. https://habr.com/ru/articles/536340/
Morris, K. (2016). Infrastructure as Code: Managing Servers in the Cloud. O’Reilly. Book; quoted from the excerpt published by InfoQ, section Defining Infrastructure Declaratively. https://res.infoq.com/articles/book-infrastructure-as-code/en/resources/excerpt-for-infoq.pdf
Kumara, I., Garriga, M., Urbano Romeu, A., Di Nucci, D., Tamburri, D. A., van den Heuvel, W.-J., Palomba, F. (2021). The Do’s and Don’ts of Infrastructure Code: a Systematic Grey Literature Review. Information and Software Technology; author’s preprint, p. 21. https://fpalomba.github.io/pdf/Journals/J37.pdf
Hewson, J. A. (2013). Constraint-Based Specifications for System Configuration. PhD thesis, University of Edinburgh. https://era.ed.ac.uk/bitstreams/7bf73efe-550b-410b-9ba7-08172477ea23/download
Fu, W., Perera, R., Anderson, P., Cheney, J. (2017). µPuppet: A Declarative Subset of the Puppet Configuration Language. ECOOP 2017. https://arxiv.org/abs/1608.04999
Anderson, P. (2017). Composition and Inheritance in Declarative Configuration Languages. Talk, Microsoft Research; quoted from the abstract on the talk page. https://www.microsoft.com/en-us/research/video/composition-inheritance-declarative-configuration-languages/
GNU Guix project. Home page. Accessed 30.11.2026. https://guix.gnu.org/
Gentoo Authors. /etc/portage/sets. Gentoo wiki, revision of 29 June 2023. Accessed 30.11.2026. https://wiki.gentoo.org/wiki//etc/portage/sets
Gentoo Authors. Gentoo AMD64 Handbook, Working with Gentoo: A Portage introduction; USE flags. Accessed 30.11.2026. https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/Portage; https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE
Alplink Tech Team (2026). NixOS in Production: Why We Run Our EU Cloud on It. Company engineering blog, 15 March 2026. https://blog.alplink.eu/post/why-alplink-uses-nixos/
atvari GmbH. Nix & NixOS Consulting. Company page; undated. Accessed 30.11.2026. https://atvari.eu/nix/
Voss, A. (2026). Deploying My Blog Declaratively Using Nix. Personal site. Accessed 30.11.2026. https://anvo.dk/blog/deploying-blog-declaratively-using-nix
Retired Engineer (2026). Infected by Nix? Personal blog; the name of the author is not given. Accessed 30.11.2026. https://www.reteng.blog/posts/software/nix_infection/
Bogard, G. (2024). Taming Cloud Infrastructure with NixOS, Terraform, and Colmena. Personal site, tutorial. Accessed 30.11.2026. https://guillaumebogard.dev/posts/declarative-server-management-with-nix/
Stahl, J. (2023). Nix for MacOS and a homelab server. Personal site. Accessed 30.11.2026. https://josephstahl.com/tech/nix-for-macos-and-a-homelab-server/
Grahl, A. (2024). NixOS: A Brief Introduction. Talk, OpenStack Europe, October 2024; transcript published by the speaker. Accessed 30.11.2026. https://www.arik-grahl.de/talks/openstack-europe-october-2024/
lani (2026). How to Install NixOS with Full Disk Encryption + Secure Boot + Unlock LUKS via TPM2. Personal site, tutorial; as updated on 13 August 2026. Accessed 30.11.2026. https://www.laniakita.com/blog/nixos-fde-tpm-hm-guide/
saltimbanque (2025). Donnez moi un NixOS à ronger. Essay on LinuxFr.org, in French. Accessed 30.11.2026. https://linuxfr.org/news/donnez-moi-un-nixos-a-ronger
YuriVerse (2026). The 15-Minute NixOS Starter (QEMU Edition). Personal site. Accessed 30.11.2026. https://awsl.rip/programming/the-15-minute-nixos-starter-qemu-edition/
NixOS & Flakes Book contributors. 常见问题 FAQ. Online book, in Chinese; undated. Accessed 30.11.2026. https://nixos-and-flakes.thiscute.world/zh/faq/
gotlou (2023). Migrating to NixOS (Part 2). Personal site; added 27 May 2023, updated 13 February 2026. https://gotlou.srht.site/nixos-2.html
Christensen, G. (2020). Erase your darlings: immutable infrastructure for mutable systems. Essay, 13 April 2020. https://grahamc.com/blog/erase-your-darlings/
mt_caret (2020). Encypted Btrfs Root with Opt-in State on NixOS. Personal site, 29 June 2020; the spelling of the title is the page’s. Accessed 30.11.2026. https://mt-caret.github.io/blog/posts/2020-06-29-optin-state.html
Wolfgang (2025). Ephemeral root partition on NixOS using ZFS. Personal blog. Accessed 30.11.2026. https://notthebe.ee/blog/nixos-ephemeral-zfs-root/
Jsan (2025). Rolling back data as well, not only Nix config. Question on the forum NixOS Discourse. Accessed 30.11.2026. https://discourse.nixos.org/t/rolling-back-data-as-well-not-only-nix-config/63169
Flying Circus Internet Operations GmbH. User Package Management. Documentation of the platform for its customers, release fc-23.05. Accessed 30.11.2026. https://doc.flyingcircus.io/roles/fc-23.05-staging/user_profile.html
Cambridge University Press & Assessment. Clause types. English Grammar Today, in the Cambridge Dictionary; undated. Accessed 30.11.2026. https://dictionary.cambridge.org/grammar/british-grammar/exclamative-clauses
Flach, P. (1994). Simply Logical: Intelligent Reasoning by Example. Textbook; the author’s PDF edition, Section 8.2, pp. 156–157. https://github.com/simply-logical/simply-logical/releases/download/v1.0/SL.pdf
Getmanova, A. D. (1986). Логика (Logic). Textbook, in Russian. Moscow: Vysshaya Shkola; the section on the law of identity, pp. 100–102. https://djvu.online/file/h6toUTGBCvkFV; page 102: https://djvu.online/jpg/h/6/t/h6toUTGBCvkFV/052.png
The American Heritage Dictionary of the English Language, Fifth Edition (2022). The entry “conflate”, with its usage note. HarperCollins. Accessed 1.12.2026. https://ahdictionary.com/word/search.html?q=conflate
Jevons, W. S. (1872). Elementary Lessons in Logic: Deductive and Inductive. Third edition. London: Macmillan and Co.; Lesson XX, p. 171. https://troyspier.com/assets/files/bibliographies/teaching/jevons_lessons.pdf
Kubernetes documentation. Custom Resources, section Declarative APIs. Accessed 30.11.2026. https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/
Kubernetes documentation. Kubernetes Object Management. Accessed 30.11.2026. https://kubernetes.io/docs/concepts/overview/working-with-objects/object-management/
CFEngine project. CFEngine and the Enterprise, Section 2.1, Fundamental CFEngine Concepts. Documentation of CFEngine 2, kept in the archive of the project site; undated. Accessed 30.11.2026. https://docs.cfengine.com/docs/archive.bak/cf2-enterprise.html
Records
The definition of Section 2 is the text published on 25 November 2026 as Section 5 of [19]; only the numbers of the
headings differ.
Published in the repository of records [68]; paths are given from its root.
- The cases and the checking programs of ConfOS with a base of its own. confos-check-v5; the list of the cases:
confos-check-v5/CASES.md
- The reports of the complete runs and of the check of release 0.84. records-confos-v5/RUN-1.md to
records-confos-v5/RUN-6.md; records-confos-v5/CHECK-084.md
- The executions of each run by statement of the definition. records-confos-v5/RUN-1-STATEMENTS.md to
records-confos-v5/RUN-6-STATEMENTS.md
- The reports and the catalogue of the search for ways around the law, with the programs and the instructions for
performing the catalogue on release 0.81. records-confos-search/README.md; records-confos-search/SEARCH-1.md to
records-confos-search/SEARCH-6.md; records-confos-search/search
- The first implementation: its source, its cases, the list of its complete runs, the summary of each run, the
decisions of the review and the table of statements. confos; confos-check; records-confos/RUNS.md;
records-confos/RUN-1.md; records-confos/RUN-2.md; records-confos/RUN-3.md; records-confos/REVIEW.md;
records-confos/TABLE.md
- The records of the checks of versions 1, 3 and 4 of the wording, among them the assessments of NixOS and GNU Guix
System. check-1-census; records-v3; records-v4
- The record of the three steps performed on NixOS on 30 November 2026, with the output of every command.
records-nixos-1130
Published in the repository of ConfOS [79]; paths are given from its root.
- The declaration, the commands of the system and the layout of the disk. INTERFACE.md
- The reason for every package of the base. BASE.md
- The recipe and the package. FORMAT.md
- The commands of the build in order. PROCEDURE.md
- Each statement of the definition and the place in the system that realizes it. V5.md
- The system rebuilt by itself with the law in force. REBUILD-LAW.tsv
- Every source file with its version, address, checksum and licence. sources.tsv
- The three texts. book/what-is-confos; book/building-confos; book/living-in-confos
Appendix A. The systems examined
Table A1 is a reading of what each system says of itself in the texts cited. It is not a test of the systems. We
tested two of them, NixOS and GNU Guix System (Section 3.2), and we built one system, ConfOS, which is described in
Section 4 and is not in the table. The last column says what the texts cited do not claim among the consequences of
Section 2.2, as they apply to the text that describes the machine, and what they state instead. A system stands in
the table if its makers or its users call it “declarative”, or if its own texts claim for it one of the consequences
of Section 2.2: a complete description, no way past the description, or the execution only of what is recorded or
signed. The rows stand in this order: the two systems tested; systems that take the word “declarative”; sealed
systems for which we found no such label; two systems of network devices; research systems; general systems with a
control of execution that an administrator adds; and Gentoo, whose package configuration a user calls declarative.
“Not stated” means: not stated in the texts cited in the row. The fourth column asks about the system itself; where
the texts cited name work inside a container or a virtual machine that the system runs, the cell says so.
Table A1. The systems examined, by their own texts.
| System and maker |
What it says of itself |
Made for |
Can a person log in to the system itself and work there with programs of his or her own? |
Who decides what is on the machine |
What its texts do not claim, and what they state |
| NixOS (NixOS project) |
“NixOS has two distinct styles of package management:” [2]; “the entire system state — including installed packages, system services, and settings — is described in configuration files.” [1] |
Computers of general use |
Yes |
The owner’s configuration; beside it, by default, the profile of each user and the commands for accounts |
Not claimed: that nothing is installed or configured past the configuration. Stated: the “Ad hoc” style of package management and the “imperative” style of user management [2]. Tested by us (Section 3.2). |
| GNU Guix System (GNU Guix project) |
“The configuration is declarative.” [11] |
Computers of general use |
Yes |
The owner’s declaration of the operating system; beside it, the profile of each user |
Not claimed: that the system refuses the commands. Stated: “In fact, you must avoid that”; the package command “works with normal user privileges” [11]. Tested by us (Section 3.2). |
| blendOS (blendOS contributors) |
“Arch Linux made declarative, immutable and atomic.”; “Manage your whole system with one file.” [81] |
Computers of general use, built on Arch Linux |
Yes |
The owner’s file system.yaml, for the host |
Not claimed: that the file covers the machine. Stated: “(user folders, containers and Flatpaks are preserved).”; “/etc/, the user's home folder and /usr/local remain writeable” [81]. |
| PyrixOS (PacketFive Networks) |
“PyrixOS is a reproducible, declarative Linux distribution.”; “the whole system is described in code” [82] |
Whole machines; at the stage of design and of first alpha images |
Not stated |
The owner’s description, written in a subset of Python |
Not claimed: that an account outside the description is removed. Stated: “Removing every account not in the description is deferred to an option.” [82]. |
| AerynOS (AerynOS team) |
“The AerynOS team has already adopted KDL for our declarative system-model approach” [83] |
Not stated |
Yes |
The system model, for packages; the administrator, for settings under /etc |
Not claimed: that settings come from the model. Stated: “Because these overrides live in the /etc folder, they survive package updates.” [83]. |
| Vessel (D. Wilson) |
“Vessel is a declarative Linux distribution built from the ground up with Sigil.” [84] |
Computers with a desktop: “You can boot it from a USB stick, try the desktop live, and install it on a computer.” [84] |
Yes |
A file that the installer writes: “the installer writes your choices to a system.sgl file, and that file is what Vessel builds into a numbered generation you can boot.” [84] |
Not claimed: anything about what the machine may hold beside that file; the announcement does not speak of it. |
| Red Hat Enterprise Linux in image mode (Red Hat) |
“It replaces the complex, imperative process of host provisioning with a simple, declarative Containerfile.”; “you can define an entire bootable operating system using a standard Containerfile.” [85] |
Servers |
Not stated |
The file of build steps from which the image is built |
Not claimed: that the running machine stays as the image describes it. Stated, in the documentation of bootc, by which image mode is “powered” [85]: “The /etc directory contains mutable persistent state by default” [86]. |
| Kairos (Kairos project) |
“Kairos is now a meta-distribution for Kubernetes—fully declarative, fully integrated.” [87] |
Machines that run Kubernetes |
Not stated |
Not stated |
Not claimed: that nothing is added by command. Stated: a command that “Downloads/gets a system extension and stores it on the node.” [87]. |
| Ubuntu Core (Canonical) |
“A declarative system definition - captured in a signed model assertion that defines the essential components of the system.” [88] |
Devices: the model is “the fundamental definition of a snap-based device” [88] |
Yes |
The model, which “describes what the system image includes and is signed by the brand account owning the device definition”; beside it, packages installed by command [88] |
Not claimed: that the model lists every package on the device. Stated: “Any snaps you manually install can be removed with:” [88]. |
| Talos Linux (Sidero Labs) |
“Read-only and declarative, identical across the fleet.” [74] |
“designed specifically to run Kubernetes” [75] |
No: “can't be logged into” [74]. Stated beside it, for version 1.13: “a debug shell that starts a privileged container using an image you supply” [75] |
The maker’s image and the owner’s machine configuration; the work comes through Kubernetes |
Not claimed: that the machine configuration names what runs on the machine. Stated: the first tutorial deploys the application with kubectl apply; “ContainerConfig declares a container to be run by Talos directly, without Kubernetes.” [75]. |
| Flatcar Container Linux (Flatcar project) |
“No OS binaries exist outside /usr and no individual files can be changed.” [89]; provisioned “by applying a declarative configuration, creating an immutable instance from a well-defined image.” [90] |
Machines that run containers |
Yes |
The maker’s image under /usr; the owner’s configuration, applied once: “Ignition only runs on first boot.” [89] |
Not claimed: that the configuration holds after the first start. Stated: “While this concept is not enforced - the user is free to modify their configuration after deployment” [91]. |
| Fedora CoreOS (Fedora Project) |
“An automatically-updating, minimal operating system for running containerized workloads securely and at scale.” [92]; its tool for the first start: “Ignition configs are declarative” [93] |
Machines that run containers |
Yes |
The maker’s image; the owner’s configuration, which “runs only once during the first boot of the system (while in the initramfs).”; beside it, packages added by command [92] |
Not claimed: a limit on what is installed afterwards. Stated: “That said, there are no restrictions on which packages one can actually install.” [92]; of Ignition: “It does not provide distro-specific functionality such as package management.” [93]. |
| openSUSE MicroOS (openSUSE) |
Under the heading “Is predictable”: “Is not altered during runtime”; under the heading “Workloads”: “Applications are installed in containers rather than the root filesystem:” [94] |
Machines that run containers |
In a privileged container for tools, yes: “zypper to install the necessary tools, available without reboot” [94] |
The maker’s packages; the owner adds packages by a command for “updating the system, installing RPM packages or refreshing the boot loader.” [94] |
Not claimed: a text that describes the machine; the page read names none, and does not use the word “declarative”. |
| Bottlerocket (Amazon Web Services) |
“all installed software for any given image is a known quantity” [77] |
Machines that run containers: “Bottlerocket is best used with a container orchestrator.” [77] |
Not in the image: “there's no SSH server in a Bottlerocket image, and not even a shell.” Stated beside it: a control container “enabled by default” and an administrative container “disabled by default”, of which “Either option will give you a shell within Bottlerocket.”; “you can run sheltie to get a full root shell in the Bottlerocket host.” [77] |
The maker’s image; the owner’s settings (“In user data, we structure the settings in TOML form”); the orchestrator brings the containers [77] |
Not claimed: that the settings name what runs on the machine. The texts read do not use the word “declarative” of the system. |
| IncusOS (Linux Containers) |
“IncusOS is an immutable OS solely designed around safely and reliably running Incus.” [76] |
Machines that run Incus, with its containers and virtual machines |
In the system itself, no: “no local or remote shell, only an authenticated REST API to access Incus and manage the OS through it.” [76]; its guide for contributors opens a shell on a test virtual machine, after the agent of Incus has been fully enabled on it, with the command incus exec test-incus-os bash [95]. In the containers and virtual machines that Incus runs, yes: “By running a shell command (for example, /bin/bash), you can get shell access to your instance.” [96] |
The maker’s image (“bit for bit the same software”); settings and commands through the interface [76] |
Not claimed: that a text describes the state of the machine at every moment. Stated: “A stopped application stays stopped until it is started again or the system is rebooted.” [76]. The texts read do not use the word “declarative” of the system. |
| ChromeOS (Google) |
“Thus we strive to have only one place where code may be executed: the read-only rootfs that is cryptographically verified at all times.” [97] |
Devices of end users |
In the system itself: the first column gives the aim, that code is executed only from the verified image. In virtual machines that the system runs, yes: “we support running arbitrary code inside of VMs in ChromeOS.” [97] |
The maker’s verified image; the settings of the user are kept beside it |
Not claimed: a text of the owner that describes the machine. Stated: “In developer mode you can disable the rootfs verification, enabling it to be modified.” [97]. |
| Windows 11 SE (Microsoft) |
“If users try to install or execute Win32 applications that aren't allowed to run, they fail.” [78] |
Devices for schools: “only available preinstalled on devices from OEMs” [78] |
Yes, in applications; “Administrative tools, such as the command prompt and Windows PowerShell, can't be opened.” [78] |
The maker’s list, “a curated allowlist of applications maintained by Microsoft”; an administrator assigns the applications that Microsoft has approved [78] |
Not claimed: a text of the owner that describes the machine. Stated: “Web apps are enabled by default in Windows 11 SE.”; “Windows PowerShell scripts deployed using Microsoft Intune can run.” [78]. |
| Fuchsia (Google) |
“For some purpose-built devices, the SWD stack can be configured such that only base packages can be loaded into memory with execute rights, which means the device will only execute directly verified code.” [98] |
Devices |
Not stated |
The maker of the product, who fixes the set of base packages |
Not claimed: the rule as a property of every device. Stated: the rule is about machine code, “Executable code does not refer code that is sandboxed, interpreted, or otherwise subject to a confinement mechanism.”; and, in a design document of 2022: “Only the contents of base packages are executable in production releases today;” [98]. |
| Images built with LinuxKit (LinuxKit project) |
“The image is self-contained and immutable,”; “system configuration and sensitive files cannot be modified after boot.” [99] |
Machines that run containers |
Not by default: “By default, linuxkit has no login available: not on console, not via ssh, nowhere.”; the builder of an image can add a login with the service containers linuxkit/getty and linuxkit/sshd [99] |
Whoever writes the file from which the image is built |
Not claimed: that nothing runs beside the image. Stated: “For running programs dynamically, a container orchestrator such as Docker or Kubernetes can be used;” [99]. |
| Cisco IOS XR, release 7.9, on NCS 540 routers (Cisco) |
“In addition to logging an integrity violation, the IMA policy also enforces an appraisal by blocking any operation (open or run) for a compromised executable.” [100] (IMA: the Integrity Measurement Architecture of the Linux kernel); the same chapter names files that run without a signature (last column) |
Routers |
Not stated |
The maker’s signed software and its policy: “IMA policy is protected at runtime – it cannot be read or modified.” [100] |
Not claimed: that nothing is installed beside the maker’s software, or that nothing runs without a signature. Stated: “Thus, any Third-Party RPM packages installation fails if done through the XR Install (which uses the DNF). However, Third-Party RPMs can still be installed using the rpm command.”; and, in a note of the same chapter on release 7.4.1: “In Cisco IOS XR Release 7.4.1, enforced appraisal is enabled only on the XR system files.”, with a list of files that have no signature—“However, the system still allows their execution:”—among them “Bash scripts downloaded through file transfer operation like scp or sftp” [100]. The page read does not use the word “declarative”. |
| Extreme SLX-OS 20.7.2 (Extreme Networks) |
“The configuration currently effective on the device is referred to as the running configuration.” [101] |
Network devices |
Yes: in its Linux shell, after the command su root, “Enter Linux commands and run scripts as needed.” [101] |
The operator’s running configuration, which is kept by a separate step: “To save configuration changes, you must copy the running configuration to the startup configuration.” [101] |
Not claimed: that the running configuration names what is done from the Linux shell. The pages read do not use the word “declarative”. |
| Singularity (Microsoft Research) |
“To be run, a piece of code must be added to the system by the Singularity installer.” [49] |
Research: “a research project in Microsoft Research” [49] |
Not stated |
The installer, which keeps the manifest of the system |
Not claimed: the rule for the whole configuration of a computer. Stated: of the installer, “Precisely how this will be done is TBD” [50]; of its sealed processes, “Note that interpreters for any language can still be written in the sealed process architectures.” [51]. |
| Nexus (Cornell University) |
“Logical attestation bases all authorization decisions on labels.” [102] |
Research on trustworthy computing |
Not stated |
The policy set for each resource |
Not claimed: a description of the machine; the paper is about authorization. Stated: “the lack of a superuser” [102]. |
| TrOS of CloudProxy (Manferdelli, Roeder, Schneider) |
“TrOS will not execute any programs, especially suid programs, from these untrusted file systems.” [55] |
Hosts of trusted services |
Not stated |
Whoever builds the measured image |
Not claimed: a text that the owner of the machine writes and applies. Stated: “all data and programs run by TrOS are supplied in an in-memory file system, initramfs, which forms part of the measurement of TrOS.” [55]. |
| Revelio (Galanou and co-authors) |
“no outside attacker or authorised personnel can access the VM after booting” [103] |
Confidential virtual machines |
No |
Whoever builds the image, with a “read-only root filesystem and rendering it integrity protected.” [103] |
Not claimed: a text that the owner writes and applies after the image is built. |
| Windows with App Control for Business (Microsoft) |
“Apps that aren't defined as trusted by this policy are blocked from running.” [104] |
Computers of an organization |
Yes |
The administrator’s policy: “Signing the binary policy helps protect it from unauthorized modification or removal, including by a local administrator.” [104] |
Not claimed: a description of the machine. The policy decides which applications run; the control is added by an administrator. |
| Red Hat Enterprise Linux 9 with fapolicyd (Red Hat) |
“The fapolicyd software framework controls the execution of applications based on a user-defined policy.” [105] |
Computers of general use |
Yes |
The administrator’s rules, the administrator’s lists of trusted files and the database of installed packages |
Not claimed: a description of the machine. The service decides which applications run; the control is added by an administrator. Stated: “An application is trusted when the system package manager correctly installs it and therefore registered in the system RPM database.”; and for the other cases: “For custom scenarios, such as storing binaries and scripts in a non-standard directory or adding applications without the dnf or rpm installers, you must either mark additional files as trusted or add new custom rules.” [105]. |
| Oracle Linux 9 with IMA appraisal (Oracle) |
“This blog will describe how you can make use of digital signature based IMA appraisal to enforce the run time integrity of immutable files – and to ensure the authenticity of all Oracle supplied components within their run time environment.” [106] |
Not stated |
Yes: the example restricts what one account may execute |
The administrator’s policy, loaded into the running kernel and, if the administrator adds its file to /etc/ima, applied at every start |
Not claimed: a description of the machine. The policy of the example decides which files one account may execute. Loaded into the running kernel, it holds until a restart—“Until the machine is rebooted, user1 will only be allowed to execute binary files that have been properly signed.”—and the example goes on to make it lasting: “To apply the policy automatically on subsequent reboots, the policy file can be added to /etc/ima:” [106]. The control is added by an administrator. |
| Fedora 20 with a locking extension of IMA, in an experiment of IBM (IBM, for the Air Force Research Laboratory) |
“The demonstration showed that it successfully boots and updates a full Fedora 20 system, and then the system can be locked against root attack, without affecting any user level processes or applications.” [107] |
Research: a final technical report of 2017 |
Not stated |
The policy of the experiment: “All of this locking is under IMA policy control.” [107] |
Not claimed: a description of the machine. Stated: what is locked is the trusted computing base (TCB), “so that TCB files cannot be replaced or changed in any way, even by a root privileged attacker.” [107]. |
| Gentoo (Gentoo Authors) |
“Gentoo is a free operating system based on Linux that can be automatically optimized and customized for just about any application or need.”; “Configuring Gentoo happens through text files.” [58]; a user who moved from Gentoo to NixOS: “In other words, the package configuration is declarative in Gentoo.” [108] |
“just about any application or need” [58] |
Yes |
The owner’s files for packages and for the way they are built; files under /etc are kept by hand |
Not claimed by the project: the word itself; “declarative” does not occur in its two texts cited. The limits that its documents state are in Appendix C. |
The search for earlier work (Appendix B) also met Arch Linux, macOS, Proxmox VE and openEuler; they are not in the
table, because in the texts found none of them is called “declarative” and none claims for itself one of these
consequences: Arch Linux and macOS stand there as the systems for which a separate configuration tool was written
[29, 46], Proxmox VE is named in passing, and of openEuler the search found a posting of patches proposed for its
kernel [109].
The sealed systems, in their makers’ words. Section 3.2 names the second root of the term in short. The texts on
which it rests follow; we did not test these systems.
Talos Linux is the clearest case, and its maker uses the word: “Read-only and declarative, identical across the
fleet. Every node provably matches its declared state, so “prove your configuration” has a one-line answer.” [74].
Its documentation says what it is for: “Talos is a minimal, API-driven operating system designed specifically to run
Kubernetes.” [75]. The usual ways are closed: “Fewer than 50 binaries. No shell, no SSH, no package manager.”; it is
“The immutable, API-driven OS that can't drift and can't be logged into.” [74]. Two other systems for servers are
built in the same manner and do not take the word in the texts we read. IncusOS is “solely designed around safely
and reliably running Incus”, software that runs containers and virtual machines, and is “completely locked down with
no local or remote shell, only an authenticated REST API to access Incus and manage the OS through it.” [76].
Bottlerocket, of Amazon Web Services: “there's no SSH server in a Bottlerocket image, and not even a shell.”; it “is
best used with a container orchestrator.” [77].
What these three systems close, they close by fixing in advance what the machine is: one image, one purpose, and no
ordinary way for a person to log in to the machine itself. IncusOS: “All IncusOS servers are guaranteed to be
running bit for bit the same software” [76]. Bottlerocket: “all installed software for any given image is a known
quantity” [77]. Windows 11 SE, a system for the computers of schools, fixes the list of what may run: “With a
curated allowlist of applications maintained by Microsoft, Windows SE is designed to only run essential education
apps”; “If users try to install or execute Win32 applications that aren't allowed to run, they fail.”;
“Administrative tools, such as the command prompt and Windows PowerShell, can't be opened.” It comes installed by
the maker of the device—it “is only available preinstalled on devices from OEMs”—and an application outside the list
is added by an administrator after Microsoft has approved it: “When the app is ready, Microsoft will update you.
Then, you add the app to the Intune for Education portal, and assign it to your Windows 11 SE devices.” [78]
(Intune: Microsoft's management service).
The work for which such a machine exists reaches it through another interface than the text that describes the
machine. The first tutorial of Talos deploys its application with a command addressed to Kubernetes, kubectl apply
-f and an address [75]; the machine configuration is not touched. On IncusOS the work is that of Incus, which
“includes everything needed to run containers, OCI images, and virtual machines.” [76]. On Windows 11 SE, “Web apps
are enabled by default” [78]. Section 2.4 does not treat these kinds of work alike. A program in a container is not
set apart: “Is a program in a container a special case? No, it is an ordinary program: it runs on this computer as
its own process.” (question 5). A system in a virtual machine and a website in a browser are set apart, and need not
be written: “They are inside a recorded program and cannot themselves launch programs or change the computer.”
(question 6). By these two answers the containers that reach Talos through Kubernetes and IncusOS through Incus are
programs of the machine in the sense of Section 2; the virtual machines of Incus and the web applications of Windows
11 SE, which “run in a browser” [78], need not be written at all.
The makers state limits themselves. The machine configuration of Talos can name such work, and is not obliged to:
“ContainerConfig declares a container to be run by Talos directly, without Kubernetes.” The same documentation, for
version 1.13: “Talos provides a debug shell that starts a privileged container using an image you supply, then drops
you into that shell.” [75]. Bottlerocket gives a person a shell through two containers that it provides, a control
container that is “enabled by default” and an administrative container that is “disabled by default”: “Either option
will give you a shell within Bottlerocket.”, and “Once you're in the admin container, you can run sheltie to get a
full root shell in the Bottlerocket host.” [77]. The image of IncusOS holds shell programs—a script of its base
image begins with #!/bin/sh—and what is restricted is the access to them: its guide for contributors says that
“Running commands or opening a shell on an IncusOS server is only possible when run as an Incus virtual machine and
requires fully enabling incus-agent support.”, and gives the command incus exec test-incus-os bash [95].
Flatcar: “While this concept is not enforced - the user is free to modify their configuration after deployment”
[91].
Where the configuration of such a machine names a cluster, and the interface of the cluster carries the work,
Section 2.4 says what the text is worth for that work: a line by which a person opens a path is allowed, and the
declaration “makes no promise where such a line stands, and exactly as far as that line opens.” (question 1). A
narrow set of lines is not against the definition either: “which lines it lets a person write, and in what language”
is the design of a particular system (Section 2.5). The second root lies elsewhere. By its maker’s own texts, Talos
Linux meets the three parts of the term. It is called “declarative”. Its machine configuration is the text. And its
documentation for version 1.13 describes a privileged container that is started on the machine from an image that
the operator supplies, and names no line of the machine configuration for it. We did not test it. To IncusOS,
Bottlerocket and Windows 11 SE we do not apply the term: its first part is not met in the texts we read. And in the
texts we read, no maker of a sealed system claims for the text that describes the machine what Section 2.2 requires:
that “what it is silent about is neither installed nor configured” on the computer.
Appendix B. How the search for earlier work was made
The task. The search was made on 30 November 2026. It was put the other way round from the review of the
literature behind the first of the six papers [14]. That review asked whether there is a gap. The search was told to
find the texts that already state one of the ideas below, in any words, in any year, in any language, and a find
counted as the success of a round. The conclusions of our papers were not given to the search. Our own texts were
excluded as sources: the six papers, and the sites and repositories of ConfOS and of the records.
The ideas searched for. There were eight, each about an operating system, or any whole machine, that is managed
by a text describing it:
- a definition of the kind: what a system must be for the word “declarative” to apply to it—a criterion, a test, a
list of required properties;
- the description is complete: what it does not mention is not on the machine;
- by default there is no way past the description: a change goes through the description or is refused;
- the description can be trusted without looking at the machine;
- a desired state is not enough: a description of what will be on the machine, against a description of everything
that is on it;
- a line that a person writes to open a place is not a hole;
- an existing system built this way, and what exactly its own texts claim;
- the description as the law, the sole authority or the single source of truth of the machine.
Where, and in which languages. The search went in five directions: research of 2017–2026 (papers, theses,
technical reports); the citation chains of eight earlier works; the documentation and the design texts of the
systems themselves; standards, books and the definitions used in industry; and texts not in English. Queries were
made in English, German, French, Russian, Chinese, Japanese and Spanish. The places were general web indexes, with
recovery searches in a second index; the repositories of publishers and universities; USENIX; arXiv; Microsoft
Research; NIST; the documentation of vendors and projects; GitHub; the archives of the Linux kernel and of
openEuler; and Google Patents. Sixteen works and eleven systems that our first review already knew were given to the
search as starting points, not to be reported as finds.
A card. For every text that bears on one of the ideas a card was written: the source, the exact quotations with
their page or section, and the idea that each quotation touches. A card holds no word of assessment; assessment was
a separate step.
A source that would not open. From the second round on, a source that did not open was not dropped. The routes
were tried in this order: another address of the same text, a direct download, the Internet Archive, the repository
of the project. Only after all of them was the source marked as not opened, with the routes tried.
The rule that ended the search. The rule was fixed before the search began: at least three rounds, at most
eight, and a stop after two rounds in a row that bring nothing nearer than what is already found. The search stopped
after round 6 (Table B1).
Table B1. The rounds of the search.
| Round |
Query executions |
Sources read |
Cards |
Cards nearer than everything found before |
| 1 |
85 |
48 |
39 |
4 |
| 2 |
31 |
36 |
31 |
5 |
| 3 |
31 |
30 |
27 |
4 |
| 4 |
27 |
39 |
20 |
2 |
| 5 |
19 |
19 |
12 |
0 |
| 6 |
29 |
19 |
12 |
0 |
| Total |
222 |
191 |
141 |
|
Query executions include repetitions and recovery searches. Sources read are sources read in substance: copies
opened again, pages that gave only metadata and failed retrievals are not counted. The last column counts the cards
of a round that state one of the ideas more fully than every card before that round; in round 1, where nothing had
been found before, it counts the cards that state in full a definition of the kind, or completeness together with
the absence of a way past, or the absence of a way past alone. From round 5 on, a card that only repeated what an
earlier card stated was not counted.
The second, independent reading. The 48 nearest cards were read again from their primary sources by a second
reading that did not see the assessment of the first: the ten cards that it judged nearest by its own reading, and
every card that touched a definition of the kind, or completeness together with the absence of a way past. Each
quotation was compared with the primary source character for character. Every quotation was found as written but
one, where the source goes on with a bracketed cross-reference that the card had left out. Three texts did not open
at the address of the card and were read at another address of the same text. The second reading found no card that
states the definition whole. The assessment of the search placed nearest the sentences that say what a “declarative
system” is; the second reading placed nearest the texts of the Singularity project [49–52] and the patent of
DeTreville [45]. Section 3.1 names both groups; Table C1 and Appendix E give their words.
What the search covers. The search covers the places and the languages named above, as far as the rule that
ended it took it; it does not claim exhaustive coverage of citation databases. Its records keep the leads that the
last round met and did not follow to the end. Its outcome is stated in Section 3.1 in the form that this method
allows: what was found, and what we did not find.
Appendix C. The statements collected
Section 3.1 quotes from the collections of this appendix. Here they stand whole, each quotation with its reference:
the accepted wording and the sentences that say what a “declarative system” is, with what research says of the
question (Table C1); what makers promise and what the same texts state (Table C2); the systems that take the word as
a label, and the accepted wording applied to Gentoo, Debian and Arch Linux (Table C3); the statements of users of
NixOS (Table C4); and what “declarative” means in logic, with what the tools do with what a text does not state.
The accepted wording. A configuration is called declarative when it describes a desired state and a tool derives
the actions. Wikipedia: “The declarative approach defines the desired state and the system executes what needs to
happen to achieve that desired state.” [25]. The makers of Puppet, Terraform and Ansible, three tools that configure
machines and cloud resources from text files, word it the same way. Puppet: “Puppet code is declarative, which means
that you describe the desired state of your systems, not the steps needed to get there.” [21]. Terraform: “The
Terraform language is declarative, describing an intended goal rather than the steps to reach that goal.” [22]. The
glossary of Ansible, under “Declarative”: “An approach to achieving a task that uses a description of the final
state rather than a description of the sequence of steps necessary to achieve that state.” [23]. Microsoft, of an
example document for its configuration platform Desired State Configuration: “The example document is declarative.
It describes the desired state, not how to put the system into that state.” [24].
Research uses the same wording. Anderson and Couch call a configuration declarative when it specifies the “desired
final state” [26]. A survey of configuration tools says: “Tools that use a declarative input language enable to
express the desired state of the computer infrastructure” [27]. The OpenGitOps glossary speaks of a description of
the desired state “without specifying procedures for how that state will be achieved” [28]. These statements concern
the form of a description: it names an end and not the steps. One of the sources also sets a measure for the desired
state. The OpenGitOps glossary defines it as “The aggregate of all configuration data that is sufficient to recreate
the system so that instances of the system are behaviourally indistinguishable.”, and defines beside it the case in
which a system has left that state: “When a system's actual state has moved or is in the process of moving away from
the desired state, this is often referred to as drift.” [28]. In none of these statements is it a condition of the
word that the system holds or allows nothing beside the description.
Sentences that say what a “declarative system” is. The search for earlier work (Appendix B) found nine sentences
that say outright what a “declarative system” is (Table C1). Section 3.1 quotes the two nearest, those of Hardie and
of Moor.
Table C1. Sentences that say what a “declarative system” is.
| Author and year |
Said of |
The sentence |
| Hardie, 2003 |
Tools that configure machines |
“A declarative system has an explicit, declarative description of the required configuration.” [29] |
| Anderson and co-authors, 2002 |
Tools that configure machines |
“Some tools provide a very explicit, declarative description of the desired configuration which the tool attempts to instantiate on the real hardware.” [110] |
| Moor, undated |
A class of whole Linux distributions |
“Bei deklarativen Systemen wird der gewünschte Zustand beschrieben: beispielsweise welche Pakete vorhanden, welche Dienste aktiviert und welche Benutzer eingerichtet sein sollen. Die Systemwerkzeuge setzen diese Beschreibung um.” (in declarative systems the desired state is described: for example, which packages are to be present, which services enabled and which users set up; the tools of the system carry this description out) [30] |
| EnigmaCurry, 2026 |
A system in general, in a book on a workstation with Arch Linux; the author sets that workstation against the sentence, and writes of Arch: “The running system is the source of truth, it drifts” |
“A declarative system is built from its configuration;” [111] |
| Sokolowski, 2024 |
Infrastructure as code (IaC) |
With “declarative IaC approaches, developers describe the target state (also: desired state),” and an engine “automatically derives and executes the required actions.” [112] |
| Odom and co-authors, 2025 |
A model of automation, in a study guide for network engineers |
The declarative model “defines or declares the intended configuration,” with software that watches the devices and “changes them if they drift away from the intended (declared) configuration.” [113] |
| Sokolov, 2018 |
Ansible, in a talk |
“мы хотим привести систему в желаемое состояние” (we want to bring the system to the desired state) [114] |
| Morris, 2016 |
Tools that configure machines, in a book on infrastructure as code |
“You can specify how you would like things to be: the packages that should be installed, user accounts that should be defined, and files that should exist. The tool then makes the system match your specification.” [115] |
| Kumara and co-authors, 2021 |
The declarative model, in a systematic review |
“the developers define the desired end state of the environment and let IaC tools determine how to achieve the defined state.” [116] |
All nine say the same thing: there is a description of a desired state, and a tool that realizes it. None of the
nine makes it part of the meaning of the word that the description is complete, or that the system refuses what the
description does not contain. The report of Anderson and co-authors (Table C1) lists the declarative description as
one of several dimensions in which tools differ, and speaks of a complete configuration under another of them,
“Central vs. distributed control”: “Some tools attempt to specify the complete configuration of the installation in
a central specification, and to implement this under central control.” [110]. Moor adds, of the class just defined:
“Deklarativ bedeutet nicht automatisch vollständig reproduzierbar” (declarative does not automatically mean fully
reproducible) [30]. Nor do the sentences quoted above and in Table C1 apply the word to one thing: it is said of a
language [21, 22], of a document [24], of a tool [29, 110], of a model of automation [113], and of a class of
distributions [30].
Research has no common criterion. Research names single properties of languages and tools: idempotence and
convergence [117], and determinism and monotonicity for a subset of the Puppet language, which, its authors write,
give only “some justification for the claim that µPuppet is ‘declarative’”, and “Further work is needed to identify
and prove desirable properties” [118]. One tool shows the lack of a criterion. Chef, another tool that configures
machines, is called an imperative language in the survey of 2010 [27] and is classified as a declarative technology
in a systematic review of 2020 [31]; the authors of µPuppet call it declarative as to the target state and
imperative as to the order of actions [118]; and a systematic review of 2021 says: “Puppet uses a declarative style,
whereas Chef and Ansible use an imperative style.” [116]. Ansible’s own glossary defines the declarative approach
[23]. None of this says what an operating system must be.
The field says itself that the question is open. In 2004 Anderson and Couch described the theory of configuration
languages as “only in their infancy” and listed the question “What is a “configuration” ?” as open [26]. In 2017
Anderson wrote that declarative configuration languages “have not been widely studied in any formal way” [119].
Couch concluded that “a configuration description cannot be more than a statement of intent rather than fact” [32].
What makers promise, and what the same texts state. The texts of the makers of NixOS and of GNU Guix System
carry the promise and the exception side by side. Table C2 gives the same pair for six more systems.
- NixOS, the official wiki, page “NixOS”, as edited on 4 August 2026 [1]. The promise: “One of NixOS's defining
features is its declarative configuration model, where the entire system state — including installed packages,
system services, and settings — is described in configuration files.” And: “This eliminates configuration drift
and makes NixOS particularly well-suited for automated, reproducible deployments.” The same page, under the
heading “Imperative Operations”: “While NixOS is typically configured declaratively as much as possible, these are
a few domains where imperative operations are still necessary; these include user environment management and
channel management.” And: “In addition to declarative system configuration, NixOS users can utilize Nix's
imperative nix-env command to install packages at the user level, without changing the system state.” The page has
both uses of the term “system state”: the entire system state is described, “including installed packages”, and
the command
nix-env installs packages “without changing the system state”. Of other tools, under the heading
“Declarative Configuration”: “These tools reconcile system configuration with a description of the expected state.
However, these tools are not integrated into the operating system design and are simply layered on top, and OS
configuration may still vary where an aspect of OS configuration has not been specified in the description of
expected state.” And of NixOS: “Unlike conventional distributions, where system configuration is often scattered
across manually edited files, NixOS integrates configuration management directly into the operating system.”
- The NixOS manual, version 26.05 [2]. Of the configuration file, in the chapter on installation: “This is because
NixOS has a declarative configuration model: you create or edit a description of the desired configuration of your
system, and then NixOS takes care of making it happen.” Of packages: “NixOS has two distinct styles of package
management:” “Declarative, where you declare what packages you want in your configuration.nix.” and “Ad hoc, where
you install, upgrade and uninstall packages via the nix-env command.” Of the second style: “It’s the only choice
for non-root users.” Of accounts: “NixOS supports both declarative and imperative styles of user management.”
- GNU Guix. The home page: “Use Guile Scheme APIs, including high-level embedded domain-specific languages (EDSLs)
to define packages and whole-system configurations.” [120]. The manual, version 1.5.0, of accounts: “When booting
or upon completion of guix system reconfigure, the system ensures that only the user accounts and groups specified
in the operating-system declaration exist, and with the specified properties. Thus, account or group creations or
modifications made by directly invoking commands such as useradd are lost upon reconfiguration or reboot. This
ensures that the system remains exactly as declared.” The same section: “Note that, for non-system accounts, users
are free to change their real name as it appears in /etc/passwd using the chfn command. When they do, their choice
prevails over the system administrator’s choice; reconfiguring does not change their name.” And of commands in
general: “One should never have to touch files in /etc or to run commands that modify the system state such as
useradd or grub-install. In fact, you must avoid that since that would not only void your warranty but also
prevent you from rolling back to previous versions of your system, should you ever need to.” [11]. The manual
forbids; the system does not.
- The same page of the wiki, further sentences [1]. Its first paragraph: “It supports declarative system-wide
configuration management as well as atomic upgrades and rollbacks, although it can additionally support imperative
package and user management.” Under the heading “Usage of the Nix store”: “This fact makes it impossible to
manually edit system configuration; all configuration changes must be performed by editing the
/etc/nixos/configuration.nix file and executing nixos-rebuild switch.” And: “It also provides for determinism; if
you provide the same inputs, the same version of Nixpkgs and the same /etc/nixos/configuration.nix you will get
the exact same system state.”
- The manual of GNU Guix, on the two ways of installing packages [11]. “guix package also supports a declarative
approach whereby the user specifies the exact set of packages to be available and passes it via the --manifest
option”. Of the option that writes such a list from a profile: “This option is meant to help you migrate from the
“imperative” operating mode—running guix install, guix upgrade, etc.—to the declarative mode that --manifest
offers.”
The authors of NixOS drew the boundary of their model in their paper of 2010 (Section 3.2). Dolstra had drawn the
same line in 2006—a service consists of “software components, static configuration and data, and mutable state. The
first two aspects can be managed using Nix” [69]—and with Hemel in 2007: “Mutable state, such as most everything in
/var, falls outside the scope of this approach” [70].
Table C2. What makers promise, and what the same makers’ texts state: systems other than NixOS and GNU Guix System.
| System |
What its maker promises |
What the same maker’s texts state |
| blendOS, a system built on Arch Linux |
“Manage your whole system with one file.” [81] |
Its builder rebuilds the host from that file, and “(user folders, containers and Flatpaks are preserved).”; “/etc/, the user's home folder and /usr/local remain writeable” [81] |
| PyrixOS, a distribution at the stage of design and of first alpha images |
“PyrixOS is a reproducible, declarative Linux distribution.”; “the whole system is described in code” [82] |
Its design document on accounts: “Removing every account not in the description is deferred to an option.” [82] |
| AerynOS, a Linux distribution |
“The AerynOS team has already adopted KDL for our declarative system-model approach” [83] (KDL: a configuration format) |
Its documentation, of the settings that an administrator overrides: “Because these overrides live in the /etc folder, they survive package updates.” [83] |
| Kairos, a system for machines that run Kubernetes |
“Kairos is now a meta-distribution for Kubernetes—fully declarative, fully integrated.” [87] |
Its documentation gives a command, kairos-agent sysext install, that “Downloads/gets a system extension and stores it on the node.” [87] |
| Ubuntu Core, a system for devices |
“A declarative system definition - captured in a signed model assertion that defines the essential components of the system.” [88] |
“Any snaps you manually install can be removed with:” [88] (snaps: its packages) |
| Flatcar Container Linux, a system for machines that run containers |
It is provisioned “by applying a declarative configuration, creating an immutable instance from a well-defined image.” [90] |
“Ignition only runs on first boot.” [89] (Ignition: applies that configuration). The project’s assessment of its own security: “While this concept is not enforced - the user is free to modify their configuration after deployment” [91] |
The systems that take the word as a label. The word is taken as a label by systems of unlike build, and each
maker decides what the label covers (Table C3).
Table C3. The systems that take the word as a label.
| System |
What it is |
The sentence in which it takes the word |
| blendOS |
A system built on Arch Linux |
“Arch Linux made declarative, immutable and atomic.” [81] |
| PyrixOS |
A distribution at the stage of design and of first alpha images |
“PyrixOS is a reproducible, declarative Linux distribution.” [82] |
| AerynOS |
A Linux distribution |
“The AerynOS team has already adopted KDL for our declarative system-model approach” [83] |
| Vessel |
A Linux distribution, announced on 20 November 2026 |
“Vessel is a declarative Linux distribution built from the ground up with Sigil.” [84] (Sigil: a programming language) |
| Red Hat Enterprise Linux in image mode |
A system built as a container image from a file of build steps |
“It replaces the complex, imperative process of host provisioning with a simple, declarative Containerfile.” [85] |
| Kairos |
A system for machines that run Kubernetes |
“Kairos is now a meta-distribution for Kubernetes—fully declarative, fully integrated.” [87] |
| Ubuntu Core |
A system for devices |
“A declarative system definition - captured in a signed model assertion that defines the essential components of the system.” [88] |
| Talos Linux |
A system made to run Kubernetes |
“Read-only and declarative, identical across the fleet.” [74] |
| Flatcar Container Linux |
A system for machines that run containers |
It is provisioned “by applying a declarative configuration, creating an immutable instance from a well-defined image.” [90] |
A file of packages for the host, a file of build steps for an image, a signed list of components, a configuration
read once at the first start, the configuration of a machine for Kubernetes: each is called “declarative”. What the
label obliges a system to, none of these texts says.
The test: Gentoo. Gentoo is a Linux distribution with a package manager of its own, Portage. Its own account of
itself does not use the word: “declarative” does not occur on the page of the project that says what Gentoo is, nor
in the introduction of its Handbook, which says: “Configuring Gentoo happens through text files.” [58]. Apply the
accepted wording to it—a text that states what should be installed, and a tool that brings the system to it.
The text exists. “The selected set contains the packages the admin has explicitly installed, those specified in the
world and world_sets files.” Portage keeps the world file itself—“With a couple of exceptions, Portage will register
selected set package atoms to the /var/lib/portage/world file.” [9]—and the administrator may write it by hand: “You
can safely edit this file, adding packages that you want to be considered in world set updates and removing those
that you do not want to be considered.” [10]. Further sets are plain files: “Each file should contain a list of
package atoms and nested package sets, one per line.” [121]. How the packages are built is text as well; for build
options, “This is done globally by defining the USE variable in /etc/portage/make.conf.” [122].
The tool exists. One command installs and rebuilds what the text calls for, emerge --update --deep --newuse @world
[122]: “Portage will use the world set as the base for its update calculations.” [9]. A second command removes what
the text no longer calls for: “Depclean works by creating the full dependency tree from the @world set, then
comparing it to installed packages.” “Packages installed, but not part of the dependency tree, will be uninstalled
by depclean.” [10].
Gentoo’s documents state the limits as plainly. The text covers packages and the way they are built, and files under
/etc are kept: “When Portage installs a file into a protected directory tree like /etc, any existing files will not
be overwritten.” [10]. A package can be installed past the text; the option --oneshot is described so: “Emerge as
normal, but do not add the packages to the world file for later updating.” [10]. Removal is a separate step: “When a
package is no longer selected, the package and its dependencies that were installed automatically when it was
installed are still left on the system.” [122]. These are limits of the kind that the makers of NixOS state for
their own system: a command that installs past the text, and files that the text does not govern. A user who moved
from Gentoo to NixOS writes of Gentoo: “In other words, the package configuration is declarative in Gentoo.” [108].
The same holds for every distribution whose package manager keeps the list of the packages that were selected and
brings the installed set to that list. Debian, a general Linux distribution, is one: its package tool APT marks “the
package you installed explicitly” as “manually installed”, removes the packages that were installed for it “and are
now no longer needed”, and, once the selections have been set from a text file with dpkg --set-selections, its
command apt-get dselect-upgrade “performs the actions necessary to realize that state (for instance, the removal
of old and the installation of new packages).” [60]. Arch Linux, with its package manager pacman, is another: “The
pacman database organizes installed packages into two groups, according to installation reason:” those installed
explicitly and their dependencies; and its documentation gives the command that removes the dependencies “no longer
required by any package.” [62].
Table C4 is read by one rule. A statement says that the whole system is in the file if its words say that the
configuration of NixOS, one file or a set of files, describes, declares or defines the entire system, or everything,
that the entire system is built from it, or that it holds the entire configuration of the system. Such a statement
is qualified if the same text limits it in words, or names something that is run, installed or set on the machine
beside the configuration; the row then gives those words. Data and keys that a text keeps beside the configuration
are not counted as such a thing: Section 2.3 sets a person’s material apart, and Section 2.5 leaves the protection
of secrets to the design of a system. Fourteen statements say that the whole system is in the file. Six of them are
qualified nowhere in the same text; two of the six add that nothing comes onto the machine past the file. Eight are
qualified in the same text. Six further statements do not say that the whole system is in the file, and report what
the system holds beside it. The table is a collection and not a sample of users.
Table C4. Statements of users of NixOS, collected on 30 November 2026 from their own public texts.
| User and year |
What the statement says |
The words |
| Alplink Tech Team, a company, 2026 |
The whole system is in the file, and no change is made past it |
“you describe your entire system in a single configuration file, and NixOS builds it.”; “You cannot SSH into a server and apt install something — changes must go through the configuration.”; “the running system always matches the declared configuration”; in a table of the same text, of the configuration of NixOS: “Declarative (describe desired state)”; of the configuration file: “It is a specification of the desired system state.”; and of the servers: “Every server we deploy is built from the same NixOS configuration. There is no drift between machines” [123] (apt: a package tool) |
| atvari, a company, undated |
The whole system is in the file |
“Describe an entire system (packages, services, users, secrets) as version-controlled code, and reproduce it identically anywhere.” [124] |
| Zierhut IT, a company, undated |
The whole system is in the file |
“Declarative system management (the entire system is described in a single configuration file)” [13] |
| Garay, 2026 |
The whole system is in the file, and what is not written does not exist |
“El sistema completo se describe en archivos” (the complete system is described in files); “Si algo no está escrito, no existe, y lo que instalé a mano en el sistema desaparece en el próximo cambio.” (if something is not written, it does not exist, and what I installed by hand in the system disappears at the next change) [47] |
| Voss, 2026 |
The whole system is in the file. The same text puts a key for the secrets on the machine by hand; a key is not counted |
“since everything is declared in the configuration.”; “I need a key somewhere.” [125] |
| Retired Engineer, 2026 |
The whole system is in the file, and a reinstallation gives an identically configured machine |
“the entire OS (packages, configuration, etc) is “declared” in a set of text files”; “Because the entire OS configuration is stored in source-controlled text files, reinstalling will result in an identically configured machine.” [126] |
| Bogard, 2024 |
The whole system is in the file. Qualified in the same text: “almost every aspect”; a program used from a temporary shell without being installed |
“the configuration of the system is entirely expressed in the Nix language.”; in the next paragraph, the language “can be used to configure almost every aspect of the system”; and further down: “The cowsay program is not installed on the system, but NixOS will suggest a way to use it, in a temporary shell. Nix shells are a powerful way to access packages from Nixpkgs without making any changes to the system,” [127] |
| Stahl, 2023 |
The whole system is in the file. Qualified in the same text: “(ideally)”; a command to be run after the installation; the settings of one program |
“a flake.nix containing a full system configuration may be used.”; “Since all configuration is (ideally) declarative,”; “tailscale up --ssh needs to be run after setup to add to a tailnet.”; “the Sabnzbd module doesn’t allow for setting/ overriding the contents of Sabnzbd’s .ini configuration file.” [128] (Tailscale: a private network; Sabnzbd: a download program) |
| Grahl, 2024 |
The whole system is in the file. Qualified in the same text: two files and not one; a rule for installing software that begins with “Usually” |
“the single configuration file that describes the entire system.”; the next sentence: “When I say single configuration file, I already lied to you, because usually a NixOS system is composed of two configuration files.”; further on: “Usually, in NixOS enduser software is not installed directly, as you would normally do in other Linux operating systems.” [129] |
| lani, 2026 |
The whole system is in the file. Qualified in the same text: a tool run before it is declared; a setting that the author believes can also be changed beside the file |
“from a Nix expression that declares the entire system's configuration”; of the tool sbctl: “However, we want to just run it from an ephemeral nix shell via $ nix-shell -p sbctl (we're going to declare this package in a module, as we'll see).”; of the time zone: “I believe it's also possible to update your time zone imperatively as well,” [130] |
| saltimbanque, 2025 |
The whole system is in the file. Qualified in the same text: “non Nix n’est pas que déclarative”; the channel from which the system is updated, set by commands; applications installed as Flatpaks |
“La configuration, utilisateurs réseaux paquets services saucisson fromage, tout est déclaré dans un fichier /etc/nixos/configuration.nix.” (the configuration—users, networks, packages, services, sausage, cheese—everything is declared in one file, /etc/nixos/configuration.nix); further down, of the commands that set the channel: “Et là, voilà la vérité révélée : oui on utilise des commandes, et non Nix n’est pas que déclarative.” (and there is the truth revealed: yes, one uses commands, and no, Nix is not only declarative); “En attendant cela veut dire que deux fichiers /etc/nixos/configuration.nix ne correspondent pas forcément au même OS” (meanwhile this means that two files /etc/nixos/configuration.nix do not necessarily correspond to the same OS); and: “On peut bien sûr utiliser des Flatpak si on active cette option.” (one can, naturally, use Flatpaks if one activates this option) [131] (Flatpak: a package format) |
| Happel, 2026 |
The whole system is in the file. Qualified in the same text: “a lot of caveats”; programs installed outside the system that Nix manages |
“NixOS describes the entire system (packages, services, users, kernel parameters, dotfiles) in a single declarative configuration file checked into version control. From that one file, any machine can be reproduced exactly, bit for bit.”; in the next paragraph: “There are a lot of caveats in the above paragraph though: One can still accumulate state by saving files or installing programs outside of the nix-managed system.” [20] |
| YuriVerse, 2026 |
The whole system is in the file. Qualified in the same text: the password of an account that already exists is not reset |
“NixOS is a linux distribution, but the entire system is built upon a configuration managed by the Nix Package Manager.”; of the password that the configuration gives to a new account: “it will not reset the password if the user exists.” [132] |
| NixOS & Flakes Book contributors, undated |
The whole system is built from the file. Qualified in the same text: the guarantee holds only for what is declared; the examples that the text gives of the rest are data |
“NixOS 的配置是一份从零构建出一个一模一样的 OS 的「知识」” (the configuration of NixOS is the “knowledge” of how to build an identical OS from scratch); “也可直接用于自动构建出你当前的 NixOS 系统” (it can also be used directly to build your current NixOS system automatically); two paragraphs further: “NixOS 只能保证在声明式配置中声明的所有内容都是可复现的,而其他未声明式配置覆盖到的系统状态是不受它管辖的。” (NixOS can only guarantee that everything declared in the declarative configuration is reproducible; other system state, which the declarative configuration does not cover, is outside its jurisdiction); the examples that follow are the data of databases, files uploaded by users, logs, and the videos, music and pictures of a user [133] |
| gotlou, 2023 |
What the system holds beside the file: packages found missing after a reinstallation |
“certain packages I'd installed using nix-env were highlighted to me by their absense, so I added them into the config.” [134] (the spelling is the author’s) |
| Christensen, 2020 |
What the system holds beside the file: state, erased at every start |
“I erase my systems at every boot.”; “Any configuration or files created on the drive outside of /nix is state and cruft.” [135] |
| mt_caret, 2020 |
What the system holds beside the file: state |
“ephemeral machine state (everything not explicitly specified by your NixOS configuration)” [136] |
| Wolfgang, 2025 |
What the system holds beside the file: state that accumulates, said of machines managed by infrastructure as code (IaC), in a text on erasing the root of NixOS at every start |
“Even if you use IaC for your machines, over time, most systems accumulate garbage state” [137] |
| Jsan, 2025 |
What the system holds beside the file: the limit of what the system rolls back |
“NixOS allows rolling back to previous configurations, but this only affects files managed by nix, not all system files.” [138] |
| Flying Circus, a company that operates NixOS for its customers, undated |
What the system holds beside the file: a facility for customers |
“NixOS allows users to manage packages independently from the base system.” [139] |
What “declarative” means in logic. A declarative sentence states how things are, and it is true or false. A
grammar of English says of declarative clauses: “They make statements about how things are and how they are not.”
[140]. Aristotle set such sentences apart from the rest by this mark: “Yet every sentence is not a proposition; only
such are propositions as have in them either truth or falsity. Thus a prayer is a sentence, but is neither true nor
false.” [33]. A description of a desired state states what is wanted. Whether it is true of the computer is a second
question, and the description does not answer it.
What a declarative program means. In programming the word names the form of a text: “Informally, declarative
programming involves stating what is to be computed, but not necessarily how it is to be computed.” [34]. The
accepted wording uses the word in this sense: the desired state, “not the steps needed to get there” [21]. Logic
programming also fixes what such a text means. For a definite program, a set of rules without negation, the smallest
set of facts that satisfies it, its least Herbrand model, “is precisely the set of ground atoms which are logical
consequences of the definite program.” [35] (a ground atom is a single fact). What follows from the statements of
the program is in that model; a fact that does not follow from them is not.
Two readings of one text. What a text says of the things it does not mention is a separate matter, and logic has
a name for each answer. The World Wide Web Consortium (W3C) sets OWL 2, its language for describing knowledge,
beside a database: “If some fact is not present in a database, it is usually considered false”, which is the
closed-world assumption, “whereas in the case of an OWL 2 document it may simply be missing (but possibly true),
following the open-world assumption.” [36]. Reiter stated the first in 1978: “if no proof of a positive ground
literal exists, then the negation of that literal is assumed true.” [37]. A textbook shows both on one program: the
ground atoms that do not follow from it “are not known to be true,” and the closed-world assumption adds their
negations [141]. Both are readings of declarative texts; the same document of the W3C says: “OWL 2 is declarative,
i.e. it describes a state of affairs in a logical way.” [36]. In the closed world, what the text does not state is
not the case. In the open world, what the text does not state is unknown.
The name of the error. Treating two concepts as one has a name in logic. A textbook of logic, under the law of
identity: “В результате отождествления различных понятий возникает логическая ошибка, называемая подменой понятия.”
(as a result of the identification of different concepts there arises a logical error, called the substitution of a
concept) [142]. In English the name is conflation: “treating distinct things as one” [40]. A dictionary gives the
verb three senses, “To bring together; meld or fuse”, “To combine (two variant texts, for example) into one whole.”
and “To fail to distinguish between; confuse.”; its note on usage calls the first traditional, accepted by 87
percent of its panel in 2015, and says of a sense “To mistake one thing for another” that it is new and that 55
percent accepted it [143]. We use the word in the first sense: two concepts fused into one. Inside an argument the
conflation becomes an equivocation: “Equivocation is the illegitimate switching of the meaning of a term that occurs
twice during the reasoning; it is the use of one word taken in two ways.” [41]; “Equivocation consists in the same
term being used in two distinct senses” [144].
What the tools do with what a text does not state. The tools differ, and their makers say how. Puppet: “If the
catalog doesn't contain a particular resource, Puppet does nothing with whatever that resource described. If you
remove a package resource from your manifests, Puppet doesn't uninstall the package; instead, it just ignores it.”
[21]. Puppet has an option, purge, that is set for one type of resource at a time: “When set to true, this will
delete any resource that is not specified in your configuration and is not autorequired by any managed resources.
Note: The ssh_authorized_key resource type can't be purged this way; instead, see the purge_ssh_keys attribute of
the user type.”; its default is false [38]. Terraform: “Terraform performs the following operations when you apply
a configuration:”, and among them: “Destroys resources that exist in the state but not in the configuration.” The
state is its own record: “When Terraform creates a remote object in response to a change of configuration, it
records the identity of that remote object against a particular resource instance, and potentially updates or
deletes that object in response to future configuration changes.” Of what exists and is not in that record its
documentation says: “If you have existing infrastructure resources, you can import them to your Terraform workspace
so that you can begin managing the resources as code.”, and it calls them “unmanaged resources” [39]. Kubernetes,
software that runs programs in containers on a group of machines, says of a declarative interface: “the API
represents a desired state, not an exact state.” [145]; its documentation counts it among the advantages of its
declarative way of working that changes made directly to live objects are retained, “even if they are not merged
back into the configuration files” [146]. The documentation of CFEngine 2, a tool that configures machines, keeps
the two apart by definition: a policy is “a specification of what we want a host to be like, or how we want it to
behave.”, and “The configuration of a host is the actual state of its resources,” [147]. A user of Ansible states
the rule for that tool and accepts it: “Что не описали — состояние неизвестно. Если вам это важно — опишите явно. И
это разумный подход для подавляющего большинства случаев.” (what was not described: its state is unknown. If that
matters to you, describe it explicitly. And this is a reasonable approach for the overwhelming majority of cases)
[48]. What a tool was never given to manage, it does not touch. Where a tool deletes, it deletes at the moment of
application, among the things that it tracks. Deletion on application within a tracked scope and refusal of a change
made beside the text are two properties.
Appendix D. The experiment on NixOS, in full
Section 3.2 gives the three commands and what they left. This appendix gives the record whole: the installation,
every command with its exit status and its output, the comparison of the two copies, the settings that NixOS
documents for each way, and a program that arrived later. Where an output is long, its last line is given; the
folder records-nixos-1130 of the repository of records holds every output whole [68].
When and where. We performed three commands on a fresh installation of NixOS 26.05 in a virtual machine, on 30
November 2026 (Table 1 of Section 3.2; in UTC: 1 December 2026, between 01:42 and 01:52). The configuration was the
one that the installer generates, with nine lines added: the device of the boot loader, a serial console through
which the machine was driven, and one ordinary account, user, with the group users. All three commands were
found installed, in /run/current-system/sw/bin, and the option users.mutableUsers evaluated to true. A status
of 0 means that a command reported success. A second copy of the same installation stood beside the first and was
left untouched until the two were compared. The record, with the output of every command, is the folder
records-nixos-1130 of the repository of records [68]. Every machine was a virtual machine: QEMU with KVM and 4096
MB of memory, without a display. The four copies had two virtual processors each; the machine that performed the
installation had four. The commands of the superuser were run through sudo from the login of the account user on
the serial console. The restarts were made with systemctl reboot.
The installation. NixOS was installed from the minimal installation image of version 26.05
(nixos-minimal-26.05.14979.94c3211b0ee8-x86_64-linux.iso) onto an empty disk: one partition,
nixos-generate-config, the nine lines below inserted before the last closing brace of the generated file
configuration.nix, and nixos-install --no-root-passwd, which ended with status 0. The generated file already
enables the boot loader and the network.
# Added for this check: boot loader device, serial console to drive the machine, one ordinary account.
boot.loader.grub.device = "/dev/vda";
boot.kernelParams = [ "console=ttyS0,115200n8" ];
users.users.user = {
isNormalUser = true;
group = "users";
extraGroups = [ "wheel" ];
initialPassword = "cal-test";
};
The membership in the group wheel lets the account user run sudo. The disk of this installation was then made
read-only, and four copies were started from it. Below they are the first, the second, the third and the fourth
copy.
Before any step. On the first copy, before any command of the steps, nixos-version printed
26.05.14979.94c3211b0ee8 (Yarara) and nix --version printed nix (Nix) 2.34.9. The checksums (SHA-256) of the
two files under /etc/nixos were 2f0b5e74e334af16ca90bb63f1f5ddbbe5013e67d08bbd6af72c12f8ec3ecef0 for
configuration.nix and 5704ee1c5ade712f6f7655fad84fb10deab5035d2f72f68fa05b7831eb796b9a for
hardware-configuration.nix; the tables below give their first and last characters. The link /run/current-system
pointed to /nix/store/zi8vh0hzf4923ybry272y2kqy9wz1r67-nixos-system-nixos-26.05.14979.94c3211b0ee8, and the system
had one generation. The accounts were root, the accounts of the system, the build accounts nixbld1 to
nixbld32, and user, for which id user printed uid=1000(user) gid=100(users) groups=100(users),1(wheel). The
commands nix-env, useradd and usermod were found in /run/current-system/sw/bin. The account user had no
profile: ~/.nix-profile did not exist, and nix-env -q printed nothing. The option users.mutableUsers evaluated
to true.
Table D1. Step 1, useradd, on the first copy. Every command was run by the superuser.
| Command |
Status |
Output |
useradd -m alice |
0 |
none |
getent passwd alice |
0 |
alice:x:1001:100::/home/alice:/run/current-system/sw/bin/bash |
su - alice -c id |
0 |
uid=1001(alice) gid=100(users) groups=100(users) |
grep -r alice /etc/nixos |
0 |
/etc/nixos/configuration.nix: # users.users.alice = { — a comment line of the template that the installer generates, and the only line of the two files that holds the name |
Checksums of the files under /etc/nixos |
|
2f0b5e74…ecef0, 5704ee1c…6b9a: unchanged |
nixos-rebuild switch |
0 |
Last line: Done. The new configuration is /nix/store/zi8vh0hzf4923ybry272y2kqy9wz1r67-nixos-system-nixos-26.05.14979.94c3211b0ee8 |
getent passwd alice |
0 |
alice:x:1001:100::/home/alice:/run/current-system/sw/bin/bash |
| Restart |
|
|
getent passwd alice |
0 |
alice:x:1001:100::/home/alice:/run/current-system/sw/bin/bash |
ls -ld /home/alice |
|
drwx------ 2 alice users 4096 Dec 1 01:47 /home/alice |
Table D2. Step 2, usermod, on the first copy. Every command was run by the superuser. The configuration declares
for the account user the line group = "users";.
| Command |
Status |
Output |
id user |
0 |
uid=1000(user) gid=100(users) groups=100(users),1(wheel) |
usermod -g wheel user |
0 |
none |
id user |
0 |
uid=1000(user) gid=1(wheel) groups=1(wheel) |
getent passwd user |
|
user:x:1000:1::/home/user:/run/current-system/sw/bin/bash |
nixos-rebuild switch |
0 |
Last line: Done. The new configuration is /nix/store/zi8vh0hzf4923ybry272y2kqy9wz1r67-nixos-system-nixos-26.05.14979.94c3211b0ee8 |
id user |
0 |
uid=1000(user) gid=100(users) groups=100(users),1(wheel) |
getent passwd user |
|
user:x:1000:100::/home/user:/run/current-system/sw/bin/bash |
| Restart |
|
|
id user |
0 |
uid=1000(user) gid=100(users) groups=100(users),1(wheel) |
Table D3. Step 3, nix-env, on the first copy. The commands were run by the ordinary account user, except
nixos-rebuild switch, which the superuser ran.
| Command |
Status |
Output |
nix-env -iA nixos.hello |
0 |
installing 'hello-2.12.3'; copying path '/nix/store/vmg6xkpgylls4kmzd2di3w4886c34bwp-hello-2.12.3' from 'https://cache.nixos.org'...; building '/nix/store/aml1pjbcd266qa8j17rx6k83q7gbayw2-user-environment.drv'... |
command -v hello |
0 |
/home/user/.nix-profile/bin/hello |
hello |
0 |
Hello, world! |
nix-env -q |
0 |
hello-2.12.3 |
Checksums of the files under /etc/nixos |
|
2f0b5e74…ecef0, 5704ee1c…6b9a: unchanged |
nixos-rebuild switch |
0 |
Last line: Done. The new configuration is /nix/store/zi8vh0hzf4923ybry272y2kqy9wz1r67-nixos-system-nixos-26.05.14979.94c3211b0ee8 |
hello |
0 |
Hello, world! |
| Restart |
|
|
hello |
0 |
Hello, world! |
command -v hello |
0 |
/home/user/.nix-profile/bin/hello |
nix-env -q |
0 |
hello-2.12.3 |
Table D4. The two copies compared after the three steps. The second copy was started together with the first and
received no command before this comparison. The commands were run by the superuser, except the two marked.
| What was read |
The first copy |
The second copy |
Checksum of configuration.nix |
2f0b5e74…ecef0 |
2f0b5e74…ecef0 |
Checksum of hardware-configuration.nix |
5704ee1c…6b9a |
5704ee1c…6b9a |
readlink /run/current-system |
/nix/store/zi8vh0hzf4923ybry272y2kqy9wz1r67-nixos-system-nixos-26.05.14979.94c3211b0ee8 |
The same path |
nixos-version |
26.05.14979.94c3211b0ee8 (Yarara) |
The same |
getent passwd |
One line more than on the second copy: alice:x:1001:100::/home/alice:/run/current-system/sw/bin/bash |
No such line; the output of getent group is the same on both |
id user |
uid=1000(user) gid=100(users) groups=100(users),1(wheel) |
The same |
command -v hello, by user |
/home/user/.nix-profile/bin/hello, status 0 |
Nothing, status 1 |
nix-env -q, by user |
hello-2.12.3 |
Nothing, status 0 |
ls /home |
alice, user |
user |
find /home/user -group wheel |
Nine paths, among them .nix-profile, .nix-defexpr and .bash_history |
Nothing |
The configuration files of the two copies are identical by checksum, and the system path is the same. On the first
copy and not on the second: the account alice with /home/alice; hello-2.12.3 in the profile of user; nine
paths in /home/user with the group wheel.
Table D5. The setting for accounts, on the third copy. Two lines were added at the end of configuration.nix:
users.mutableUsers = false; and a line that sets users.users.user.hashedPassword to the hash of the password
that the account already had. Every command was run by the superuser.
| Command |
Status |
Output |
nixos-rebuild switch |
0 |
A warning that the account user has more than one of the options for a password; last line: Done. The new configuration is /nix/store/6wnzp83xpa9b18aaynlx783hw47r4svw-nixos-system-nixos-26.05.14979.94c3211b0ee8 |
id user |
0 |
uid=1000(user) gid=100(users) groups=100(users),1(wheel) |
useradd -m bob |
0 |
none |
getent passwd bob |
0 |
bob:x:1001:100::/home/bob:/run/current-system/sw/bin/bash |
usermod -g wheel user |
0 |
none |
id user |
0 |
uid=1000(user) gid=1(wheel) groups=1(wheel) |
nixos-rebuild switch |
0 |
The same warning; activating the configuration...; removing user ‘bob’; last line: Done. The new configuration is /nix/store/6wnzp83xpa9b18aaynlx783hw47r4svw-nixos-system-nixos-26.05.14979.94c3211b0ee8 |
getent passwd bob |
2 |
none |
id user |
0 |
uid=1000(user) gid=100(users) groups=100(users),1(wheel) |
ls -ld /home/bob |
|
drwx------ 2 1001 users 4096 Dec 1 01:51 /home/bob |
| Restart |
|
|
getent passwd bob |
2 |
none |
id user |
0 |
uid=1000(user) gid=100(users) groups=100(users),1(wheel) |
Table D6. The setting for the programs of a profile, on the third copy. One more line was added:
nix.settings.allowed-users = [ "root" ];. The first two commands and the last were run by the superuser, the
others by the ordinary account user.
| Command |
Status |
Output |
nixos-rebuild switch |
0 |
Last line: Done. The new configuration is /nix/store/3s6v2vlzl8485n71rfdnvvmc00xg0xkc-nixos-system-nixos-26.05.14979.94c3211b0ee8 |
grep allowed-users /etc/nix/nix.conf |
|
allowed-users = root |
nix-env -iA nixos.hello |
1 |
After a trace of the evaluation: error: cannot open connection to remote store 'daemon': error: read of 32768 bytes: Connection reset by peer |
command -v hello |
1 |
none |
nix-env -q |
0 |
none |
journalctl -u nix-daemon --no-pager, last lines |
|
nix-daemon[2365]: error: while processing connection: user 'user' is not allowed to connect to the Nix daemon |
Table D7. A program with an installer of its own, first try: Python with pip, on the fourth copy. One line was
added: environment.systemPackages = [ (pkgs.python3.withPackages (ps: [ ps.pip ])) ];. The first command was run
by the superuser, the others by the ordinary account user.
| Command |
Status |
Output |
nixos-rebuild switch |
0 |
Last line: Done. The new configuration is /nix/store/nxj0b7d0xm0p9qw71jd0gg2zyl3slqgx-nixos-system-nixos-26.05.14979.94c3211b0ee8 |
command -v python3 pip; python3 --version |
|
/run/current-system/sw/bin/python3; /run/current-system/sw/bin/pip; Python 3.13.18 |
pip install --user cowsay |
1 |
WARNING: Could not access 'pyvenv.cfg' despite a virtual environment being active. Assuming global site-packages is not accessible in this environment.; ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv. |
command -v cowsay |
1 |
none |
~/.local/bin/cowsay -t hello |
127 |
No such file or directory |
python3 -c "import cowsay; print(cowsay.__file__)" |
1 |
ModuleNotFoundError: No module named 'cowsay' |
Table D8. A program with an installer of its own, second try: Podman, on the fourth copy. One more line was added:
virtualisation.podman.enable = true;. The first command was run by the superuser, the others by the ordinary
account user.
| Command |
Status |
Output |
nixos-rebuild switch |
0 |
the following new units were started: NetworkManager-dispatcher.service, podman.socket; last line: Done. The new configuration is /nix/store/lcqzn3c7was4j35r0b54rnngq4nb7bsh-nixos-system-nixos-26.05.14979.94c3211b0ee8 |
command -v podman |
0 |
/run/current-system/sw/bin/podman |
podman run --rm docker.io/library/hello-world |
0 |
Trying to pull docker.io/library/hello-world:latest...; Writing manifest to image destination; Hello from Docker!; This message shows that your installation appears to be working correctly. |
The configuration of the fourth copy names Podman. It does not name hello-world.
What the wiki promises, and what the three commands left. The wiki says that “the entire system state —
including installed packages, system services, and settings — is described in configuration files.” The
configuration files of our installation do not declare the account alice or the program hello, and until the
configuration was applied again they described a primary group that the account user did not have. Of the
integration of configuration management into the operating system the wiki says: “This eliminates configuration
drift and makes NixOS particularly well-suited for automated, reproducible deployments.” Our two copies had one
configuration and were not the same. The same page faults the tools that are laid over an ordinary distribution: “OS
configuration may still vary where an aspect of OS configuration has not been specified in the description of
expected state.” [1]. On NixOS as delivered, accounts and the programs of a user’s profile are such aspects.
What NixOS documents. NixOS documents all three commands. The description of the option says: “If set to true,
you are free to add new users and groups to the system with the ordinary useradd and groupadd commands. On
system activation, the existing contents of the /etc/passwd and /etc/group files will be merged with the
contents generated from the users.users and users.groups options.” [71]. The manual gives the commands. For an
account: “For instance, to create a user account named alice:”, followed by useradd -m alice; and: “Accounts can
be modified using usermod.” For a program: “For instance, to install Mozilla Thunderbird:”, followed by nix-env -iA
nixos.thunderbird; of this way of installing the manual says: “It’s the only choice for non-root users.” [2].
The settings, in the words of NixOS. NixOS documents settings for these ways, and each way is open by default.
We applied the settings on the third copy (Tables D5 and D6). For accounts the setting is users.mutableUsers =
false; its default is true [71]. We applied it together with a line that fixes the password of the declared
account. The manual says: “If you set users.mutableUsers to false, then the contents of /etc/passwd and /etc/group
will be congruent to your NixOS configuration.”, and: “Also, imperative commands for managing users and groups, such
as useradd, are no longer available.” [2]. The manual says that these commands are no longer available. On our
installation they were available. With the setting applied, useradd -m bob ended with status 0 and the account
existed, and usermod -g wheel user ended with status 0 and changed the primary group. The next application of the
configuration printed removing user ‘bob’: after it the account was gone and the group was users again; the
directory /home/bob remained, owned by the number 1001. The description of the option says when the setting acts:
“If set to false, the contents of the user and group files will simply be replaced on system activation.” [71].
Until the next activation, what the commands had done was in force. The manual describes a second mechanism for
accounts, Userborn, under the note “This is experimental.”; the setting that enables it is services.userborn.enable
= true. Of this mechanism the manual says: “This means that unlike when using the Perl script, trying to add a new
user (e.g. via useradd) will fail right away.” The Perl script is the mechanism in use unless another is enabled:
Userborn “aims to eventually replace the Perl script by default.” [2]. Our configuration did not have the setting
services.userborn.enable = true, and we did not test it.
For the programs of a profile the settings are those of Nix, the package manager with which NixOS builds the system
[67]. The option nix.settings.allowed-users is the list of users “allowed to connect to the Nix daemon”, the
service to which nix-env of an ordinary account connects; its default is [ "*" ], every user [72]. With
nix.settings.allowed-users = [ "root" ] applied, nix-env -iA nixos.hello, run by the ordinary account, ended
with status 1 and installed nothing. The option states its limit: “Note that trusted users are always allowed to
connect.”; and the neighbouring option says of the superuser: “Furthermore, root normally bypasses the daemon.”
[72]. A second setting is nix.enable = false: “Disabling Nix makes the system hard to modify and the Nix programs
and configuration will not be made available by NixOS itself.”; its default is true [72]. We did not apply the
setting nix.enable = false.
What arrived later. Section 3.2 says that in a system where a way is open until it is closed, what arrives later
arrives open. On NixOS we performed one such arrival, on a fourth copy of the installation, in its default
configuration. A line that enables Podman, a program that runs containers, was added and applied. The ordinary
account then ran podman run --rm docker.io/library/hello-world: the image was fetched from Docker Hub, a public
registry of such images, and its program ran, with status 0. The configuration names Podman; it does not name that
program, and Section 2.4 counts a program in a container as an ordinary program (question 5). An earlier try on the
same copy ended otherwise: with Python and its installer pip added by a line, pip install --user cowsay stopped
with an error and installed nothing. Tables D7 and D8 give both tries.
Earlier checks. An earlier check, of 22 November 2026, on an installation of the same version, had performed the
second step alone. After nixos-rebuild switch had reported success, usermod -g wheel user ended with status 0,
the primary group of the account changed from users to wheel, and the checksums of both configuration files were
the same before and after. In a second, independent assessment of that check the command gpasswd -d user wheel
removed a membership that the configuration declares, and the membership was still absent 30 seconds later, with no
application in between.
NixOS and GNU Guix System had also been assessed before these checks. Both systems were assessed twice, in two
cycles of checks, each time by two independent assessments, against the wording of that time: whether everything
installed and configured is recorded, whether everything recorded is in force, and whether the system gives no way
past the declaration. In every case both assessments reached the same decision: the system does not have the
property.
Appendix E. Earlier work that stated single consequences
Single consequences of the definition of Section 2 were stated before us. Section 3.1 names each in a clause; here
each stands with its words. Appendix B describes the search by which they were found.
A complete description. Anderson separated a system that accepts a description from one that controls everything:
“If a configuration system controls the entire configuration for a set of machines, with no manual intervention,
then it is known as proscriptive” [42]. Traugott and Brown separated convergence, in which machines approach a
baseline that is “characteristically an incomplete description of machine state”, from congruence: “maintaining
production hosts in complete compliance with a fully descriptive baseline” [43]. Both concern the administration of
machines, and the baseline of Traugott and Brown describes only the part of the disk that the administrator manages:
“we neglect user data and log files” [43]. Neither work was put forward as a definition of a declarative operating
system. DeTreville proposed “a declarative system model that completely and precisely specifies the system as a
whole”, and wrote that “A preliminary design and implementation of this approach are under way for the Singularity
OS” [44]. The patent that followed says that “the declarative system model 205 completely, precisely, and
specifically defines a system.” and that “the system instance is unchangeable once created” [45]. The model is
composed of the programs of a system. Its instances are fixed—“Our current system instances are static, but we plan
also to support dynamic instances to model the system's runtime state”—and at the start of a machine “the hardware
can check that it is the current system instance, and refuse to proceed if it is not.” [44]. Neither text says that
a running system refuses what the model does not contain. aconfmgr, a configuration manager for Arch Linux that
tracks the installed packages and the changed configuration files of one machine, states completeness in one
sentence: “the absence of an item in the configuration file indicates its absence on the system.” It also works in
the direction that Section 2 excludes: it “provides a mechanism to transcribe changes in system state back to the
configuration”, and “while NixOS forbids directly editing files under its control, aconfmgr doesn't.” [46]. Two
users state the expectation in one line each. The sentence of Garay is quoted in Section 3.1 and in Table C4 [47]. A
user of Ansible, whom the comment quoted in Appendix C answers, writes: “я не могу, например, сказать «на системе
должны быть user1, user2 и всё»” (I cannot, for example, say ‘the system must have user1, user2 and nothing else’),
and draws the conclusion: “я не воспринимаю конфиги ансибла как декларативные, скорее они императивные с
идемпотентностью.” (I do not take the configurations of Ansible to be declarative; they are rather imperative with
idempotence) [48].
No way past the description. The nearest earlier work that we found is the Singularity project of Microsoft
Research, a research operating system described in texts of 2005 and 2006. Its overview states: “To be run, a piece
of code must be added to the system by the Singularity installer.” [49]. A design note: “All manifests are in turn
declared within a system configuration”; “The system configuration defines which applications can run” [50]. A
report on its processes: “All code within a Singularity process must be listed in the process manifest.” [51]. A
paper on its device drivers speaks of “using the application abstraction to prevent uninstalled applications from
executing”, and says of a tool that runs on top of an operating system that it “cannot guarantee that it installed
all runnable software on a given system.” [52]. The overview names the aim that Section 2.2 calls trust: “Our goal
is to enable an administrator to use only a description of the hardware devices and the system manifest to answer
questions, such as: will the system boot on the particular hardware, which drivers and services will initialize, and
which applications can run?” [49].
The description of the system is put together by the installer, one application at a time: “When an application is
installed on a Singularity machine, its manifest is incorporated into the local naming hierarchy, forming part of
the local system configuration.” [50]. The overview says the same of its system manifest—“The installation process
is completed by updating the system manifest metadata to incorporate the new application or device driver.”—and
adds: “In the current implementation the entire installation process takes place offline with an installation
becoming visible only at the next system boot.” [49]. Section 2.5 leaves to the design of a particular system
“whether a line is written by the person or by a tool of the system at that person’s command”.
What these texts show to differ from Section 2 is the following. The rule concerns code: applications and device
drivers. Of the rest of a computer’s configuration the design note says that the system configuration holds
“configuration information such as known users, groups, trust relationships with networked entities, trusted
publishers, and installed applications”, and that “it is unclear at this time how configuration data that can change
dynamically should be represented in the system configuration (such as group membership).” [50]. Singularity was a
research system—“This report is a snapshot of a project in motion.” [49]—and the design note leaves the installer
open: “Precisely how this will be done is TBD” [50]. Its authors present it as research on dependable systems. The
words “declarative operating system” do not occur in the four texts cited.
Further works state the same consequence for a service or for one kind of machine. Couch and co-authors proposed,
for a web server managed as a “closure”, to “remove normal users and normal configuration tools from the system” and
to make conduits “the sole interface between the administrator and the closure.” Its eighth principle: “A closure is
self-policing and validates configuration changes before making them.” The closure is one service on a machine, and
its authors keep what is inside it out of its description on principle: “We thus minimize what the administrator has
to specify and learn.”; “An ideal closure's internal structure is completely opaque to the user” [53]. Burgess and
Couch said in 2006 what ends a closure: “A thing is not a closure if there is a way that the service response can
change without a transaction, or not as a function of transactions.”; “If human administrators manually make changes
to a system that expects to be manipulated only by a strict transaction protocol, closure will be broken.” [54].
Their closure is a model of a service; the sentence says that a manual change breaks it, not that a system refuses
the change. The CloudProxy project hardened Linux into a system, TrOS, for trusted hosts: “all data and programs run
by TrOS are supplied in an in-memory file system, initramfs, which forms part of the measurement of TrOS.”; “TrOS
will not execute any programs, especially suid programs, from these untrusted file systems.” [55]. The programs of
such a machine are those of its measured image; the report does not describe a text that the owner of a machine
writes and applies.
The same demand stands in security standards, as a control that an organization adds to a system. NIST: “Employ a
deny-all, permit-by-exception policy to allow the execution of authorized software programs on the system” [56];
“application whitelisting software prevents installation and/or execution of any application that is not
specifically authorized for use on a particular host.” [57]. The same catalogue offers the opposite policy beside
it: “Employ an allow-all, deny-by-exception policy to prohibit the execution of unauthorized software programs on
the system” [56].