Skip to content

Instantly share code, notes, and snippets.

View AleXoundOS's full-sized avatar

AleXoundOS

  • Tbilisi, Georgia
  • 08:28 (UTC +04:00)
View GitHub Profile
with import ./. {};
let
extraSources = [];
lib = pkgs.lib;
optionsListVisible =
lib.filter (opt: opt.visible && !opt.internal)
(lib.optionAttrSetToDocList options);
@AleXoundOS
AleXoundOS / packet-iscsi.nix
Created September 7, 2020 09:06 — forked from bgamari/packet-iscsi.nix
A NixOS module for using Packet's iSCSI-based block storage infrastructure.
{ pkgs, config, lib, ... }:
let
packet-block-storage =
pkgs.stdenv.mkDerivation {
name = "packet-block-storage";
src = pkgs.fetchFromGitHub {
owner = "packethost";
repo = "packet-block-storage";
rev = "4be27cbca7a924b4de7af059d5ac30c2aa5c9e6f";
@AleXoundOS
AleXoundOS / find-fixed-outputs.nix
Last active September 27, 2019 06:17 — forked from LnL7/find-fixed-outputs.nix
Find fixed output derivations
# Copyright (c) 2003-2019 Eelco Dolstra, Daiderd Jordan, Alexander Tomokhov and
# the Nixpkgs/NixOS contributors.
#
# This work is licensed under the terms of the MIT license.
# For a copy, see <https://opensource.org/licenses/MIT>.
#
# This expression returns a list of all fixed output derivations used by ‘expr’.
# eg.
# $ nix-instantiate find-fixed-outputs.nix --eval --strict --json --arg expr '(import <nixpkgs> {}).hello'