Skip to content

Instantly share code, notes, and snippets.

View superherointj's full-sized avatar
😱
Human input is error.

superherointj

😱
Human input is error.
View GitHub Profile
{ lib, fetchFromGitHub, buildGoModule }:
let
vfsgen = (fetchFromGitHub {
owner = "shurcooL";
repo = "vfsgen";
rev = "0d455de96546f756e8830efeec8dab0f489af135";
sha256 = "sha256-8wobXCZHGHf7rIcyeiJ+aA/XkzbbaXt7laGXhNXboVU=";
});
logrus = (fetchFromGitHub {
@superherointj
superherointj / default.nix
Created June 15, 2021 21:43
Packaging Linkerd - Nixpkgs
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "linkerd";
version = "edge-21.6.2";
src = fetchFromGitHub {
owner = "linkerd";
repo = "linkerd2";
rev = version;
@superherointj
superherointj / flake.nix
Created June 7, 2021 17:15
Flakes p/ Multiplos hosts
{
description = "superherointj NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs = { nixpkgs = { follows = "nixpkgs"; }; };
};
};
services = {
xserver = {
enable = true;
videoDrivers = [ "intel" "nvidia" ];
config = ''
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
@superherointj
superherointj / towboot.log
Created May 26, 2021 18:59
Tow-Boot Raspberry Pi 4 logs
Tow-Boot 2021.04 (Apr 05 2021 - 15:03:29 +0000)001
DRAM: 7.9 GiB
RPI 4 Model B (0xd03114)
MMC: mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment
Error: malloc in gunzip failed!
There is no valid bmp file at the given address
In: serial
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs = { nixpkgs = { follows = "nixpkgs"; }; };
};
};
outputs =
inputs@{ self, nixpkgs, home-manager, ... }: {
@superherointj
superherointj / test_checkprops.py.log
Created May 20, 2021 17:45
Nixpkgs: Virt-Manager: v3.2.0: Tests
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
@superherointj
superherointj / gist:50b5e8ffbd81e563ca8472165abba418
Created May 18, 2021 21:06
virt-manager: server deprecated. use server=on instead
File "/nix/store/6cyl3ps85gqyhip6q13qqfz0j1vids8y-virt-manager-3.2.0/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/nix/store/6cyl3ps85gqyhip6q13qqfz0j1vids8y-virt-manager-3.2.0/share/virt-manager/virtManager/createvm.py", line 2001, in _do_async_install
installer.start_install(guest, meter=meter)
File "/nix/store/6cyl3ps85gqyhip6q13qqfz0j1vids8y-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py", line 701, in start_install
domain = self._create_guest(
File "/nix/store/6cyl3ps85gqyhip6q13qqfz0j1vids8y-virt-manager-3.2.0/share/virt-manager/virtinst/install/installer.py", line 649, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File "/nix/store/n0vl28m6pdmvwagyzfadw346411vj2zr-python3.8-libvirt-7.0.0/lib/python3.8/site-packages/libvirt.py", line 4366, in createXML
raise libvirtError('virDomainCreateXML() failed')
@superherointj
superherointj / go-generate.log
Created May 8, 2021 22:01
# $ go generate -mod=readonly ./pkg/charts/static
# $ go generate -mod=readonly ./pkg/charts/static
go: inconsistent vendoring in /home/intj/git/nixpkgs/source:
contrib.go.opencensus.io/exporter/ocagent@v0.6.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Masterminds/goutils@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Masterminds/semver@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Masterminds/sprig@v2.22.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/briandowns/spinner@v0.0.0-20190212173954-5cf08d0ac778: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/clarketm/json@v1.13.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/containernetworking/cni@v0.6.1-0.20180218032124-142cde0c766c: is explicitly required in go.mod, but not marked as expl
@superherointj
superherointj / vim.nix
Created May 4, 2021 21:23
home-manager - vim
{ config, pkgs, ... }:
{
home.sessionVariables = {
VISUAL = "vim";
EDITOR = "vim";
};
programs.vim = {
enable = true;