Merge pull request #211830 from sorpaas/patch-11

nixos/systemd-confinement: remove unused rootName
This commit is contained in:
Nick Cao 2023-01-22 16:25:44 +08:00 committed by GitHub
commit 831ce5cb71
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 {