infrastructure/systems/kitchencam/default.nix
2024-06-08 21:03:50 -07:00

28 lines
523 B
Nix

_: {
type = "Linux";
extern.files = {
"/etc/dhcpcd.conf" = {
source = ./dhcpcd.conf;
};
"/etc/motion/motion.conf" = {
source = ./motion.conf;
};
};
network.networks = {
local = {
# TODO: macAddress = ?;
address4 = null;
address6 = "fd0a::ba27:ebff:fea8:f4ff";
};
};
exports = {
services = {
sshd = {
enable = true;
ports.public.enable = false;
};
};
};
# XXX: currently unplugged :<
access.online.enable = false;
}