diff options
author | Janne Heß <janne@hess.ooo> | 2022-04-01 10:58:38 +0200 |
---|---|---|
committer | Janne Heß <janne@hess.ooo> | 2022-04-01 11:58:31 +0200 |
commit | c465c8d7190d4b6ad60eb6574662269663c27811 (patch) | |
tree | ea55039a770e6c638530f7ba3f4babe6b470d897 /nixos/tests | |
parent | b7c62b8238db03d4bb9808dbe80e79853d54ce02 (diff) | |
download | nixpkgs-c465c8d7190d4b6ad60eb6574662269663c27811.tar nixpkgs-c465c8d7190d4b6ad60eb6574662269663c27811.tar.gz nixpkgs-c465c8d7190d4b6ad60eb6574662269663c27811.tar.bz2 nixpkgs-c465c8d7190d4b6ad60eb6574662269663c27811.tar.lz nixpkgs-c465c8d7190d4b6ad60eb6574662269663c27811.tar.xz nixpkgs-c465c8d7190d4b6ad60eb6574662269663c27811.tar.zst nixpkgs-c465c8d7190d4b6ad60eb6574662269663c27811.zip |
nixos/systemd-initrd: Make emergency access more flexible
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/systemd-initrd-simple.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/tests/systemd-initrd-simple.nix b/nixos/tests/systemd-initrd-simple.nix index 4b3f56e472a..ba62cdf3bbc 100644 --- a/nixos/tests/systemd-initrd-simple.nix +++ b/nixos/tests/systemd-initrd-simple.nix @@ -2,7 +2,10 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: { name = "systemd-initrd-simple"; machine = { pkgs, ... }: { - boot.initrd.systemd.enable = true; + boot.initrd.systemd = { + enable = true; + emergencyAccess = true; + }; fileSystems = lib.mkVMOverride { "/".autoResize = true; }; |