1
0

hosts/storage-2: Add location em

This commit is contained in:
2025-05-05 12:24:00 +02:00
parent 1e810adc51
commit 593739120a
2 changed files with 18 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
imports =
[
./hardware-configuration.nix
./em.nix
./firmware.nix
./mixcloud.nix
./syncthing.nix

17
hosts/storage-2/em.nix Normal file
View File

@@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
with lib;
{
users.users.data-em = {
group = "data-em";
home = "/data/em";
useDefaultShell = true;
isSystemUser = true;
};
users.groups.data-em = {};
systemd.tmpfiles.rules = [
"d /data/em - data-em data-em - -"
];
}