diff --git a/modules/fs/default.nix b/modules/fs/default.nix index fccccbd1e..c7ef272ec 100644 --- a/modules/fs/default.nix +++ b/modules/fs/default.nix @@ -326,15 +326,15 @@ let }; mkDirConfig = path: opt: { - systemd.tmpfiles.settings."0010-sane-fs"."${path}".d = opt.generated.acl; + systemd.tmpfiles.settings."00-10-sane-fs"."${path}".d = opt.generated.acl; }; mkFileConfig = path: opt: { - systemd.tmpfiles.settings."0010-sane-fs"."${path}".C = opt.generated.acl // { + systemd.tmpfiles.settings."00-10-sane-fs"."${path}".C = opt.generated.acl // { argument = opt.file.copyFrom; }; }; mkSymlinkConfig = path: opt: { - systemd.tmpfiles.settings."0010-sane-fs"."${path}".L = opt.generated.acl // { + systemd.tmpfiles.settings."00-10-sane-fs"."${path}".L = opt.generated.acl // { argument = opt.symlink.target; }; }; @@ -343,7 +343,7 @@ let mkFsConfig = path: opt: lib.mkMerge ( [{ # satisfy mkTypedMerge - systemd.tmpfiles.settings."0010-sane-fs" = {}; + systemd.tmpfiles.settings."00-10-sane-fs" = {}; }] ++ [ (mkGeneratedConfig path opt) ] ++ lib.optional (opt.mount != null) (mkMountConfig path opt) @@ -407,7 +407,7 @@ in { systemd.mounts = f.systemd.mounts; systemd.services = f.systemd.services; fileSystems = f.fileSystems; - systemd.tmpfiles.settings."0010-sane-fs" = f.systemd.tmpfiles.settings."0010-sane-fs"; + systemd.tmpfiles.settings."00-10-sane-fs" = f.systemd.tmpfiles.settings."00-10-sane-fs"; }; in take (sane-lib.mkTypedMerge take configs); }