This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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> | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { 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 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| systemd.nspawn.centos7 = { | |
| enable = true; | |
| networkConfig = { | |
| Private = false; | |
| }; | |
| }; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Measure-Command { (New-Object System.Net.WebClient).DownloadString("https://util.samleathers.com/ip.php","C:\hello-world.html") } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Measure-Command { (New-Object System.Net.WebClient).DownloadString("https://util.samleathers.com/ip.php","C:\hello-world.html") } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { secrets }: | |
| { config, pkgs, ... }: | |
| let | |
| externalInterface = "enp1s0"; | |
| internalInterfaces = [ | |
| "br0" | |
| "enp3s0.3" | |
| "enp3s0.9" | |
| "enp3s0.12" | |
| "enp3s0.40" |