Skip to content

Instantly share code, notes, and snippets.

# WARNING: this file is generated from the nix.* options in
# your NixOS configuration, typically
# /etc/nixos/configuration.nix. Do not edit it!
build-users-group = nixbld
max-jobs = 4
cores = 1
sandbox = true
extra-sandbox-paths =
substituters = https://hydra.iohk.io
trusted-substituters =
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
# 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’).
{ lib, config, pkgs, fetchgit, ... }:
let
parameters = import ./parameters.nix;
custom_modules = (import ./modules/modules-list.nix);
{ pkgs ? import <nixpkgs> {}
, system ? builtins.currentSystem
}:
let
python = import ./requirements.nix { inherit pkgs; };
nodePackages = import biblio-client/default.nix {
inherit pkgs system;
};
in python.mkDerivation {
with import <nixpkgs> { };
let eyaml_env = bundlerEnv rec {
name = "eyaml_env";
ruby = ruby_2_2;
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
gemConfig = pkgs.defaultGemConfig // {
gpgme = attrs: {
systemd.nspawn.centos7 = {
enable = true;
networkConfig = {
Private = false;
};
};
}
Measure-Command { (New-Object System.Net.WebClient).DownloadString("https://util.samleathers.com/ip.php","C:\hello-world.html") }
Measure-Command { (New-Object System.Net.WebClient).DownloadString("https://util.samleathers.com/ip.php","C:\hello-world.html") }
#!/bin/sh
#
# $Id: awsvip.in,v 1.24 2006/08/09 13:01:54 lars Exp $
#
# OCF Resource Agent compliant awsvip script.
#
# Based on work by Tuomo Soini, ported to the OCF RA API by Lars
# Marowsky-Brée. Implements Cluster Alias IP functionality too.
#
# Cluster Alias IP cleanup, fixes and testing by Michael Schwartzkopff
{ secrets }:
{ config, pkgs, ... }:
let
externalInterface = "enp1s0";
internalInterfaces = [
"br0"
"enp3s0.3"
"enp3s0.9"
"enp3s0.12"
"enp3s0.40"