nix-dotfiles/hosts/tsuki/services/osuchan.nix
h7x4 5b0dd71b4a
tsuki: add some systemd constraints
Add some systemd constraints to some fix boottime service failures
2023-02-25 21:12:38 +01:00

14 lines
262 B
Nix

{ secrets, config, ... }:
{
services.osuchan = {
enable = true;
port = secrets.ports.osuchan;
secretFile = "${config.machineVars.dataDrives.default}/keys/osuchan/envfile";
};
systemd.services.osuchan.after = [
"data2-momiji.mount"
];
}