This file contains 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
boot.kernel.sysctl = { | |
"net.ipv4.conf.all.forwarding" = true; | |
"net.ipv6.conf.all.forwarding" = true; | |
}; |
This file contains 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
services.ircbridge = { | |
enable = true; | |
instances = { | |
staging.irc = { | |
nick = "ircbridge"; | |
host = "localhost"; | |
port = 6666; | |
channels = [ | |
"#bottest" | |
]; |
This file contains 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
services.rabbitmq = { | |
enable = true; | |
configItems = { | |
"heartbeat" = "6"; | |
"tcp_listen_options.keepalive" = "true"; | |
"tcp_listen_options.send_timeout" = "1500"; # default is 15000 | |
"management.tcp.ip" = "127.0.0.1"; | |
"management.tcp.port" = "15672"; | |
}; | |
plugins = [ "rabbitmq_management" ]; |
This file contains 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
# Module for configuring libvirt with static NixOS networking | |
# instead of using libvirt managed bridge. | |
{ config, lib, pkgs, ... }: | |
with lib; | |
let | |
cfg = config.virtualisation.libvirtd.networking; | |
v6Enabled = cfg.ipv6.network != null; | |
v6PLen = toInt (elemAt (splitString "/" cfg.ipv6.network) 1); |
This file contains 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
import Prelude | |
import Control.Applicative (pure) | |
import Graphics.Implicit | |
import Graphics.Implicit.Definitions | |
import Graphics.Implicit.Primitives | |
displaced | |
:: (Object obj vec) | |
=> (vec -> Double) | |
-> obj |
This file contains 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
{ | |
imports = [ | |
<nixpkgs/nixos/modules/virtualisation/lxc-container.nix> | |
]; | |
nixpkgs = { | |
crossSystem.system = "armv7l-linux"; | |
overlays = [ | |
]; | |
}; |
This file contains 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, ... }: | |
{ | |
nixpkgs.overlays = [ | |
(self: super: { | |
firejailedFirefox = super.stdenv.mkDerivation rec { | |
name = "firejailed-firefox-desktop-item"; | |
dontBuild = true; | |
unpackPhase = "true"; | |
desktopItem = super.makeDesktopItem { |
This file contains 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
(setq ledger-mode-should-check-version nil | |
ledger-report-links-in-register nil | |
ledger-report-auto-width nil | |
ledger-report-use-native-highlighting nil | |
ledger-binary-path "hledger") |
This file contains 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
starting VDE switch for network 1 | |
running the VM test script | |
starting all VMs | |
machine: starting vm | |
machine # Formatting '/build/vm-state-machine/machine.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=536870912 lazy_refcounts=off refcount_bits=16 | |
machine: QEMU running (pid 10) | |
(0.04 seconds) | |
machine: waiting for the X11 server | |
machine: waiting for the VM to finish booting | |
machine # c[?7l[2J[0mSeaBIOS (version rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org) |
This file contains 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
[root@vmlool:~]# coredumpctl debug | |
PID: 1775 (kit_spare_001) | |
UID: 997 (lool) | |
GID: 998 (lool) | |
Signal: 6 (ABRT) | |
Timestamp: Mon 2021-02-22 22:17:43 CET (5s ago) | |
Command Line: /run/wrappers/bin/loolforkit --losubpath=lo --systemplate=/var/lib/lool/systemplate --lotemplate=/var/lib/lool/lotemplate --childroot=/var/lib/lool/child-roots/ --clientport=9980 --masterport=loolwsd-dPpP0Kk9 --rlimits=limit_virt_mem_mb:0;limit_stack_mem_kb:8000;limit_file_size_mb:0;limit_num_open_files:0 --version | |
Executable: /nix/store/xy9ddi8gxdsqpd0vrrfx0ld1l4pagh3s-libreoffice-online-7.0.1.1/bin/loolforkit | |
Control Group: /system.slice/loolwsd.service | |
Unit: loolwsd.service |
NewerOlder