infrastructure/machines/liminix/ap-dev/system.nix
sinavir 3b7662e45a
Some checks failed
Run pre-commit on all files / pre-commit (push) Successful in 22s
Check meta / check_dns (pull_request) Successful in 20s
Check meta / check_meta (pull_request) Successful in 20s
Check workflows / check_workflows (pull_request) Failing after 22s
Build all the nodes / ap01 (pull_request) Failing after 22s
Build all the nodes / netcore02 (pull_request) Failing after 31s
Build the shell / build-shell (pull_request) Failing after 28s
Run pre-commit on all files / pre-commit (pull_request) Successful in 33s
Build all the nodes / bridge01 (pull_request) Failing after 1m13s
Build all the nodes / geo01 (pull_request) Failing after 1m12s
Build all the nodes / geo02 (pull_request) Failing after 1m12s
Build all the nodes / hypervisor01 (pull_request) Failing after 1m11s
Build all the nodes / build01 (pull_request) Failing after 1m15s
Build all the nodes / hypervisor02 (pull_request) Failing after 1m9s
Build all the nodes / hypervisor03 (pull_request) Failing after 1m7s
Build all the nodes / rescue01 (pull_request) Failing after 1m11s
Build all the nodes / tower01 (pull_request) Failing after 1m5s
Build all the nodes / storage01 (pull_request) Failing after 1m11s
Build all the nodes / vault01 (pull_request) Failing after 1m12s
Build all the nodes / web02 (pull_request) Failing after 1m8s
Build all the nodes / web03 (pull_request) Failing after 1m12s
Build all the nodes / compute01 (pull_request) Failing after 1m49s
Build all the nodes / web01 (pull_request) Failing after 1m31s
feat(ap): init ap-dev
2025-02-20 01:06:56 +01:00

34 lines
660 B
Nix

# SPDX-FileCopyrightText: 2024 Ryan Lahfa <ryan.lahfa@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
{ pkgs, config, ... }:
let
svc = config.system.service;
in
{
# Get moar random please
services = {
jitter = svc.jitter-rng.build { };
packet_forwarding = svc.network.forward.build { };
ntp = config.system.service.ntp.build {
pools = {
"pool.ntp.org" = [ "iburst" ];
};
dependencies = [ config.services.jitter ];
};
};
boot.tftp = {
serverip = "192.0.2.10";
ipaddr = "192.0.2.12";
};
defaultProfile.packages = with pkgs; [
zyxel-bootconfig
iw
min-collect-garbage
ubus
];
}