dotfiles/modules/nixos/homelab/guests/mastodon/default.nix

27 lines
554 B
Nix
Raw Normal View History

2025-12-08 22:25:13 -06:00
{
flake,
pkgs,
labHelpers,
...
}:
let
2025-12-09 00:52:21 -06:00
inherit (labHelpers) mntPath;
2025-12-08 22:25:13 -06:00
inherit (import ./config { inherit flake pkgs; }) mastodonVM;
inherit (flake.config.people) user0;
inherit (flake.config.services) instances;
interface0Cfg = instances.mastodon.interfaces.interface0;
2025-12-09 00:52:21 -06:00
in
{
2025-12-08 22:25:13 -06:00
mastodonNick = mastodonVM {
user = user0;
ip = interface0Cfg.microvm.ip;
mac = interface0Cfg.microvm.mac;
userMac = interface0Cfg.microvm.macUser;
ssh = interface0Cfg.microvm.ssh;
2025-12-09 00:52:21 -06:00
mnt = mntPath;
2025-12-08 22:25:13 -06:00
host = interface0Cfg.domain;
};
2025-12-09 00:52:21 -06:00
}