nixos/systemd-confinement: remove unused rootName

This commit is contained in:
Wei Tang 2023-01-20 22:39:16 +01:00 committed by GitHub
parent fb95bbd0b9
commit ec8d74d58a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,6 @@ in {
};
config = let
rootName = "${mkPathSafeName name}-chroot";
inherit (config.confinement) binSh fullUnit;
wantsAPIVFS = lib.mkDefault (config.confinement.mode == "full-apivfs");
in lib.mkIf config.confinement.enable {