For more details instructions please see the official ESP-IDF documentation:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/security/flash-encryption.html
TODO
{ config, lib, pkgs, ... }: | |
{ | |
imports = [ | |
${builtins.fetchTarball | |
"https://github.com/Mic92/sops-nix/archive/master.tar.gz" | |
}/modules/sops" | |
]; | |
users = { |
For more details instructions please see the official ESP-IDF documentation:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/security/flash-encryption.html
TODO
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
{ | |
nix = { | |
package = pkgs.nixUnstable; | |
extraOptions = '' |
Revision: 06.08.2023, https://compute.toys/view/398
fn sdCircle(p: vec2f, r: f32) -> f32 {
return length(p) - r;
}
Revision: 06.08.2023, https://compute.toys/view/407
fn sdSphere(p: vec3f, r: f32) -> f32 {
return length(p) - r;
}
open System | |
open System.IO | |
open System.Net | |
open System.Text.Json | |
open System.Collections.Generic | |
open System.Security.Cryptography | |
/// Taken from hash.cc in the nix codebase | |
/// https://github.com/NixOS/nix/blob/a7540294cfae82c098e8691cd5212a9184add574/src/libutil/hash.cc | |
module Base32 = |
{ pkgs ? import <nixpkgs> {} }: | |
let | |
# To use this shell.nix on NixOS your user needs to be configured as such: | |
# users.extraUsers.adisbladis = { | |
# subUidRanges = [{ startUid = 100000; count = 65536; }]; | |
# subGidRanges = [{ startGid = 100000; count = 65536; }]; | |
# }; |
#!/bin/sh | |
# Wrapper script for launching a qemu instance for Windows 10. | |
# | |
# This script is used in a Dell XPS 13 host. | |
# | |
# Usage: win [custom_qemu_options] | |
# | |
# Example: | |
# Assigning host USB device to guest VM |