packages/checks: add fake external storage module

This commit is contained in:
Max Headroom 2024-07-17 19:34:28 +02:00
parent 5e6ce367b9
commit 1ed7ba1968

View file

@ -0,0 +1,12 @@
{ config, lib, ... }:
{
systemd.tmpfiles.settings."00-testing-external-storage-underlays" = lib.mapAttrs' (name: cfg: {
name = cfg.mountpoint;
value.d = {
user = toString cfg.uid;
group = toString cfg.gid;
mode = "0700";
};
}) config.services.external-storage.underlays;
}