Skip to content

Instantly share code, notes, and snippets.

View oneingan's full-sized avatar

Juanjo Presa oneingan

  • nadanix
  • Madrid, Spain
  • 07:38 (UTC +01:00)
View GitHub Profile
@oneingan
oneingan / override.nix
Created January 30, 2020 21:45
zigbee2mqtt in nixos
{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem}:
let
nodePackages = import ./default.nix {
inherit pkgs system;
};
in
nodePackages // {
@oneingan
oneingan / init-haskell.sh
Created May 7, 2020 01:11 — forked from masaeedu/init-haskell.sh
Basic nix haskell setup
#!/usr/bin/env bash
set -Eeuxo pipefail
# Set up git
git init
gitignore haskell
echo '*.cabal' >> .gitignore
# Set up niv
niv init
@oneingan
oneingan / 05.org
Last active August 17, 2020 18:32

Overview

title Authentication Sequence

Alice->Bob: Authentication Request
note right of Bob: Bob thinks about it
Bob->Alice: Authentication Response
with import ../nixpkgs {};
let
jdk = openjdk11.overrideAttrs (oldAttrs: rec {
buildInputs = lib.remove gnome2.gnome_vfs oldAttrs.buildInputs;
NIX_LDFLAGS = builtins.replaceStrings [ "-lgnomevfs-2" ] [ "" ] oldAttrs.NIX_LDFLAGS;
});
version = "1.5.1";
name = "bisq-desktop";
src = (fetchgit rec {
2022-09-17T01:36:37.392+0200 [INFO] Terraform version: 1.2.9
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/zclconf/go-cty v1.11.0
2022-09-17T01:36:37.392+0200 [INFO] Go runtime version: go1.18.5
2022-09-17T01:36:37.392+0200 [INFO] CLI args: []string{"terraform", "validate"}
2022-09-17T01:36:37.392+0200 [TRACE] Stdout is a terminal of width 212
2022-09-17T01:36:37.392+0200 [TRACE] Stderr is a terminal of width 212