summary refs log tree commit diff
path: root/nixos/tests/all-tests.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-04-24 21:02:15 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-10-06 16:43:48 -0400
commitcc3f2432d0d05ed12ef8b9858c54048edadbccbb (patch)
tree64994a24976a778a8ebd57b0a1a17c7fb20ff129 /nixos/tests/all-tests.nix
parent1d88d6faedf9255f2fcb30b1e9b1065f4524ddf4 (diff)
downloadnixpkgs-cc3f2432d0d05ed12ef8b9858c54048edadbccbb.tar
nixpkgs-cc3f2432d0d05ed12ef8b9858c54048edadbccbb.tar.gz
nixpkgs-cc3f2432d0d05ed12ef8b9858c54048edadbccbb.tar.bz2
nixpkgs-cc3f2432d0d05ed12ef8b9858c54048edadbccbb.tar.lz
nixpkgs-cc3f2432d0d05ed12ef8b9858c54048edadbccbb.tar.xz
nixpkgs-cc3f2432d0d05ed12ef8b9858c54048edadbccbb.tar.zst
nixpkgs-cc3f2432d0d05ed12ef8b9858c54048edadbccbb.zip
nixos/nix-daemon: Add enable option
Don't worry, it's is true by default. But I think this is important to
have because NixOS indeed shouldn't need Nix at run time when the
installation is not being modified, and now we can verify that.

NixOS images that cannot "self-modify" are a legitamate
use-case that this supports more minimally. One should be able to e.g. do a
sshfs mount and use `nixos-install` to modify them remotely, or just
discard them and build fresh ones if they are run VMs or something.

The next step would be to make generations optional, allowing just
baking `/etc` and friends rather than using activation scripts. But
that's more involved so I'm leaving it out.
Diffstat (limited to 'nixos/tests/all-tests.nix')
-rw-r--r--nixos/tests/all-tests.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index f92a9241c50..1c44030eaab 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -478,6 +478,7 @@ in
   wasabibackend = handleTest ./wasabibackend.nix {};
   wiki-js = handleTest ./wiki-js.nix {};
   wireguard = handleTest ./wireguard {};
+  without-nix = handleTest ./without-nix.nix {};
   wmderland = handleTest ./wmderland.nix {};
   wpa_supplicant = handleTest ./wpa_supplicant.nix {};
   wordpress = handleTest ./wordpress.nix {};