diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-01-22 12:01:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 12:01:10 +0000 |
commit | 3a8094730e6ff9783b31c423af848b63abbeaebb (patch) | |
tree | 69bfe4e1abfdf5b0334ae81eb1fa7141b757dd98 /nixos/modules/testing/test-instrumentation.nix | |
parent | 78b0905b1bfbbfc6879ecb23813966ad1b9639b5 (diff) | |
parent | 4e2e46fe89b071e008ee30908770e19c0f89ad2a (diff) | |
download | nixlib-3a8094730e6ff9783b31c423af848b63abbeaebb.tar nixlib-3a8094730e6ff9783b31c423af848b63abbeaebb.tar.gz nixlib-3a8094730e6ff9783b31c423af848b63abbeaebb.tar.bz2 nixlib-3a8094730e6ff9783b31c423af848b63abbeaebb.tar.lz nixlib-3a8094730e6ff9783b31c423af848b63abbeaebb.tar.xz nixlib-3a8094730e6ff9783b31c423af848b63abbeaebb.tar.zst nixlib-3a8094730e6ff9783b31c423af848b63abbeaebb.zip |
Merge master into staging-next
Diffstat (limited to 'nixos/modules/testing/test-instrumentation.nix')
-rw-r--r-- | nixos/modules/testing/test-instrumentation.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix index 9ee77cd79a9b..6aa718c1975d 100644 --- a/nixos/modules/testing/test-instrumentation.nix +++ b/nixos/modules/testing/test-instrumentation.nix @@ -207,7 +207,10 @@ in networking.usePredictableInterfaceNames = false; # Make it easy to log in as root when running the test interactively. - users.users.root.initialHashedPassword = mkOverride 150 ""; + # This needs to be a file because of a quirk in systemd credentials, + # where you cannot specify an empty string as a value. systemd-sysusers + # uses credentials to set passwords on users. + users.users.root.hashedPasswordFile = mkOverride 150 "${pkgs.writeText "hashed-password.root" ""}"; services.xserver.displayManager.job.logToJournal = true; |