mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
28 lines
523 B
Nix
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;
|
|
}
|