Merge pull request #79862 from flokli/fix-run-keys

nixos/filesystems: don't chown /run/keys recursively
This commit is contained in:
Florian Klink 2020-02-12 17:52:23 +01:00 committed by GitHub
commit b2c2eaea6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,7 +305,8 @@ in
in listToAttrs (map formatDevice (filter (fs: fs.autoFormat) fileSystems));
systemd.tmpfiles.rules = [
"Z /run/keys 0750 root ${toString config.ids.gids.keys}"
"d /run/keys 0750 root ${toString config.ids.gids.keys}"
"z /run/keys 0750 root ${toString config.ids.gids.keys}"
];
# Sync mount options with systemd's src/core/mount-setup.c: mount_table.