Skip to content

Instantly share code, notes, and snippets.

@lheckemann
lheckemann / module.nix
Created June 18, 2021 15:01 — forked from elseym/module.nix
kotenpflaumen
{ config, pkgs, lib, unstable, ... }:
with lib;
let
cfg = config.pflaumen.dns.server;
fmt = pkgs.formats.knotConf {};
overlay = _: flip recursiveUpdate { inherit formats; };
formats.knotConf = {}: rec {
@lheckemann
lheckemann / linus-1.txt
Last active January 8, 2021 19:20 — forked from angerman/gist:41b5b2df374c84f872740933cfa8b4e2
Helios64 kernel panics
[ 462.543781] Unable to handle kernel paging request at virtual address 00756769666e6f53
[ 462.543783] Unable to handle kernel paging request at virtual address 00756769666e6f53
[ 462.543791] Mem abort info:
[ 462.552695] Mem abort info:
[ 462.552707] ESR = 0x96000004
[ 462.552716] EC = 0x25: DABT (current EL), IL = 32 bits
[ 462.552720] SET = 0, FnV = 0
[ 462.552730] EA = 0, S1PTW = 0
[ 462.552730] Data abort info:
[ 462.553153] Unable to handle kernel paging request at virtual address 00756769666e6f53
@lheckemann
lheckemann / .config
Created October 20, 2019 15:23 — forked from hanetzer/$ cat config ;
$ cat config ;
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.0.10 Kernel Configuration
#
#
# Compiler: aarch64-buildroot-linux-musl-gcc.br_real (Buildroot 2019.05-git-00928-g9152387703-dirty) 8.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=80300
self: super:
{
# Install overlay:
# curl https://gist.githubusercontent.com/LnL7/570349866bb69467d0caf5cb175faa74/raw/3f3d53fe8e8713ee321ee894ecf76edbcb0b3711/lnl-overlay.nix -o ~/.config/nixpkgs/overlays/lnl.nix
userPackages = super.userPackages or {} // {
hello = self.hello;
# add more packages here...
nix-rebuild = super.writeScriptBin "nix-rebuild"
with import <nixpkgs> { system = "i686-linux"; };
writeScript "do-patchelf" ''
#!${stdenv.shell}
patchelf --interpreter "$(cat ${gcc}/nix-support/dynamic-linker)" --set-rpath ${lib.makeLibraryPath [ zlib ]} \$1
''
@lheckemann
lheckemann / st-cursor-style.patch
Created January 20, 2017 17:01 — forked from anonymous/st-cursor-style.patch
Patch for suckless terminal, adding cursor style set to terminfo entry
diff -r st-0.7/Makefile /home/linus/st-0.7/Makefile
52c52
< @tic -s st.info
---
> @tic -x -s st.info
diff -r st-0.7/st.info /home/linus/st-0.7/st.info
188a189
> Ss=\E[%p1%d\sq,