Skip to content

Instantly share code, notes, and snippets.

Robin Gloster globin

Block or report user

Report or block globin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@globin
globin / 0001-ghcWithPackages-fix-ghc-version-passing.patch
Created Jan 7, 2018
[PATCH] ghcWithPackages: fix ghc version passing
View 0001-ghcWithPackages-fix-ghc-version-passing.patch
From cb92ea14afbffa1e916cccc71d37b1c9432f0aed Mon Sep 17 00:00:00 2001
From: Robin Gloster <mail@glob.in>
Date: Sun, 7 Jan 2018 03:32:10 +0100
Subject: [PATCH] ghcWithPackages: fix ghc version passing
---
pkgs/development/haskell-modules/make-package-set.nix | 1 +
1 file changed, 1 insertion(+)
diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix
@globin
globin / configuration.nix
Last active Mar 20, 2019
prometheus on nixos
View configuration.nix
{ pkgs, lib, config, ... }:
{
networking = {
firewall.allowedTCPPorts = [
3000 # grafana
9090 # prometheus
9093 # alertmanager
];
useDHCP = true;
};
View configuration.nix
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@globin
globin / builds
Created Aug 12, 2016
possible fortify errors
View builds
deps/strdup/strdup.h:22:1: error: expected identifier or '(' before '__extension__'
strdup(const char *str);
strsep.c:65:23: error: register name not specified for 'delim'
register const char *delim;
installwatch.c:3751:5: error: conflicting types for '__open_2'
int __open_2(const char *pathname, int flags, ...) {
/nix/store/88633npw9w7xs4ixyl4sc85bqls8r21d-glibc-2.23-dev/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
@globin
globin / doc.diff
Created Aug 12, 2016
hardened-doc.diff
View doc.diff
<section xml:id="sec-hardening-in-nixpkgs"><title>Hardening in Nixpkgs</title>
<para>By default some flags to harden packages at compile or link-time are set:</para>
<variablelist>
<varlistentry>
<term><varname>hardening_format</varname></term>
<listitem><para>Adds the <option>-Wformat -Wformat-security
-Werror=format-security</option> compiler options. At present,
View configuration.nix
elasticsearch = {
enable = true;
};
logstash = {
enable = true;
outputConfig = ''
elasticsearch {
protocol => http
}
'';
View poezio.cfg
# This is the default config for the XMPP client Poezio.
# Comments should be on their own line and NOT at the end
# of a meaningful line.
[Poezio]
# Jabber identifier. Specify it only if you want to connect using an existing
# account on a server. This is optional and useful only for some features,
# like room administration, nickname registration.
# The 'server' option will be ignored if you specify a JID (Jabber identifier)
View pinned-nix-shell.nix
let
fetchgit = (import <nixpkgs> {}).fetchgit;
in
with import (fetchgit {
rev = "0acc1cd552dc4b4d8065cc16a484697167f6e45e";
url = "git://github.com/mayflower/nixpkgs";
sha256 = "1chb14vfzwyv6y2l3i4zgdydfymi0znsv9bhppdazf6r3fsf6w9j";
}) {}; {
duck = rustCargoPlatform.buildRustPackage {
name = "duck";
View xkbDir.patch
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index 3348e8d..1d91cb0 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -280,6 +280,14 @@ in
'';
};
+ xkbDir = mkOption {
+ type = types.path;
@globin
globin / mail
Created Dec 1, 2015
mail announcement
View mail
Hi,
We had our first Munich NixOS Meetup last week and decided to sprint on the weekend of December 12 & 13
to get stuff done help us get over not being able to attend NixCon.
Currently planned projects are:
* nginx/wpa_supplicant/php config abstraction
* meta information completion
* hydra channel fixing
* packaging introduction
You can’t perform that action at this time.