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

38 lines
707 B
Nix
Raw Normal View History

2025-12-09 03:46:57 -06:00
{
flake,
pkgs,
config,
lib,
...
}:
let
2025-12-09 18:05:54 -06:00
inherit (import ../../../helpers.nix { inherit flake; }) labHelpers;
2025-12-09 03:46:57 -06:00
inherit (labHelpers) mntPath;
inherit
(import ../config {
inherit
flake
config
pkgs
lib
;
})
mastodonVM
;
inherit (flake.config.people) user0;
inherit (flake.config.services) instances;
2025-12-13 20:35:53 -06:00
interfaceCfg = instances.mastodon.interfaces.interface0;
2025-12-09 03:46:57 -06:00
mastodonNick = mastodonVM {
user = user0;
2025-12-13 20:35:53 -06:00
ip = interfaceCfg.microvm.ip;
mac = interfaceCfg.microvm.mac;
userMac = interfaceCfg.microvm.macUser;
ssh = interfaceCfg.microvm.ssh;
2025-12-09 03:46:57 -06:00
mnt = mntPath;
2025-12-13 20:35:53 -06:00
host = interfaceCfg.domain;
2025-12-09 03:46:57 -06:00
};
in
mastodonNick