This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs, lib, config, ... }: | |
| let | |
| inherit (lib) types; | |
| sandboxOptions = types.submodule ({ name, ... }: { | |
| options = { | |
| packages = lib.mkOption { | |
| type = types.listOf types.package; | |
| default = [ ]; | |
| }; | |
| entryPoint = lib.mkOption { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, pkgs, lib, ... }: | |
| with lib; | |
| let | |
| cfg = config.h4ck.authorative-dns; | |
| asBool = x: if x then "true" else "false"; | |
| # indent = n: | |
| # let | |
| # prefix = lib.concatStrings (map (_: " ") (lib.genList 0 n)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs, system, inputs, lib, ... }: | |
| let | |
| targetPkgs = import inputs.unstable { inherit system; crossSystem = "aarch64-linux"; config.allowUnfree = true; }; | |
| in | |
| lib.makeScope targetPkgs.newScope (self: with self; { | |
| armTrustedFirmware = (targetPkgs.buildArmTrustedFirmware rec { | |
| extraMakeFlags = [ "bl31" ]; | |
| platform = "rk3568"; | |
| extraMeta.platforms = [ "aarch64-linux" ]; | |
| filesToInstall = [ "build/${platform}/release/bl31/bl31.elf" ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { config, lib, pkgs, ... }: | |
| let | |
| birdConfigVersion = lib.trace (lib.splitVersion lib.version) (let v = lib.splitVersion lib.version; f = lib.head v; s = lib.head (lib.tail v); in if f == "24" && (s == "11" || s == "05") then "2" else ""); | |
| inherit (lib) | |
| attrValues | |
| concatMapStringsSep | |
| concatStrings | |
| concatStringsSep | |
| filterAttrs | |
| flatten |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Oct 21 16:48:05 bertha bird[1073226]: Assertion '!rejected || !accepted' failed at nest/rt-table.c:1218 | |
| Oct 21 16:48:14 bertha bird[1073245]: Assertion '!rejected || !accepted' failed at nest/rt-table.c:1218 | |
| Oct 21 16:49:09 bertha bird[1073261]: Assertion '!rejected || !accepted' failed at nest/rt-table.c:1218 | |
| Oct 21 16:49:45 bertha bird[1073283]: Assertion '!rejected || !accepted' failed at nest/rt-table.c:1218 | |
| Oct 21 16:50:21 bertha bird[1073306]: Assertion '!rejected || !accepted' failed at nest/rt-table.c:1218 | |
| Oct 21 16:50:33 bertha bird[1073332]: Assertion '!rejected || !accepted' failed at nest/rt-table.c:1218 | |
| Oct 21 16:50:43 bertha bird[1073355]: Assertion '!rejected || !accepted' failed at nest/rt-table.c:1218 | |
| Oct 21 16:58:15 bertha bird[1073373]: Assertion '!rejected || !accepted' failed at nest/rt-table.c:1218 | |
| Oct 21 17:01:21 bertha bird[1073454]: Assertion '!rejected || !accepted' failed at nest/rt-table.c:1218 | |
| Oct 21 17:17:45 bertha bird[1073500]: Assertion '!rejected || !accepted' failed at nest/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #ifdef PARALLEL_UPDATE | |
| #include <boost/thread.hpp> | |
| #include <boost/thread/executors/basic_thread_pool.hpp> | |
| #include <boost/thread/future.hpp> | |
| #include <boost/thread/latch.hpp> | |
| #include <deque> | |
| #endif | |
| #include <functional> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use proc_macro::TokenStream; | |
| use quote::quote; | |
| use syn::{Data, DeriveInput, Fields, Lit, Meta, MetaNameValue, parse_macro_input}; | |
| #[proc_macro_derive(SimplePrometheus, attributes(prefix))] | |
| pub fn simple_prometheus_derive(input: TokenStream) -> TokenStream { | |
| let ast = parse_macro_input!(input as DeriveInput); | |
| let fields = match &ast.data { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [117434.251657] systemd-journald[268]: File /var/log/journal/73dc5ecda65653aa20c75f4452b0567e/user-1007.journal corrupted or uncleanly shut down, renaming and replacing. | |
| [234148.780698] systemd invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0 | |
| [234148.781805] CPU: 1 UID: 0 PID: 1 Comm: systemd Not tainted 6.12.48+deb13-amd64 #1 Debian 6.12.48-1 | |
| [234148.781809] Hardware name: Hetzner vServer/Standard PC (i440FX + PIIX, 1996), BIOS 20171111 11/11/2017 | |
| [234148.781811] Call Trace: | |
| [234148.781815] <TASK> | |
| [234148.781819] dump_stack_lvl+0x5d/0x80 | |
| [234148.781826] dump_header+0x43/0x1aa | |
| [234148.781831] oom_kill_process.cold+0x8/0x8d | |
| [234148.781836] out_of_memory+0x219/0x4b0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OpenSSH_8.4p1, OpenSSL 1.1.1h 22 Sep 2020 | |
| debug1: Reading configuration data /home/andi//.ssh/config | |
| debug1: /home/andi//.ssh/config line 54: Applying options for localbinarycache | |
| debug1: /home/andi//.ssh/config line 76: Applying options for * | |
| debug1: Reading configuration data /etc/ssh/ssh_config | |
| debug1: /etc/ssh/ssh_config line 5: Applying options for * | |
| debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/andi/.ssh/known_hosts' | |
| debug1: auto-mux: Trying existing master | |
| debug1: Control socket "/home/andi/.ssh/master-andi@localbinarycache:2222" does not exist | |
| debug2: resolving "localhost" port 2222 |
NewerOlder