- Install Raspbian Lite on an SD Card
- Boot the Pi
- Copy the disk to the NVMe:
sudo dd if=/dev/mm** of=/dev/nvme** bs=32M
- Shutdown, remove the SD Card, and reboot
- Change the pi hostname to something unique
version: '3.8' | |
name: coroot | |
volumes: | |
prometheus_data: {} | |
clickhouse_data: {} | |
clickhouse_logs: {} | |
coroot_data: {} | |
node_agent_data: {} |
{ config, pkgs, modulesPath, lib, system, ... }: | |
{ | |
imports = [ | |
(modulesPath + "/profiles/qemu-guest.nix") | |
]; | |
config = { | |
#Provide a default hostname | |
networking.hostName = lib.mkDefault "base"; |
def process_url(url) do | |
defaults = %{ | |
thing: "thing1value" | |
} | |
uri = URI.parse(url) | |
params = URI.decode_query(uri.query, defaults) |> URI.encode_query | |
URI.merge(@base_url, uri.path <> "?" <> params) |> to_string | |
end |
@doc """ | |
Example Usage | |
``` | |
items = [ | |
%{ | |
name: "thing", | |
description: "foo bar baz" | |
}, | |
%{ | |
name: "thing two", |