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> {}; | |
| stdenv.mkDerivation { | |
| name = "VulkanExamples"; | |
| buildDepends = [ cmake libxcb pkgconfig ]; | |
| } |
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> { config = {}; }; | |
| callPackage ./glusterfs.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
| # ... | |
| virtualisation.virtualbox.guest.enable = true; | |
| nixpkgs.config.packageOverrides = pkgs: { | |
| linuxPackages = pkgs.linuxPackages // { | |
| virtualboxGuestAdditions = pkgs.callPackage ./virtualbox-guest.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
| let | |
| pkgs = import <nixpkgs> {}; | |
| in | |
| pkgs.pkgsi686Linux.stdenv.mkDerivation rec { | |
| name = "scyther-${version}"; | |
| version = "1.1.3"; | |
| src = pkgs.fetchFromGitHub { | |
| owner = "cascremers"; | |
| repo = "scyther"; | |
| rev = "v${version}"; |
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
| { config, pkgs, ... }: | |
| # Custom packages | |
| let | |
| mozillaPkgsDir = (import <nixpkgs>{config={};}).fetchFromGitHub { | |
| owner = "Infinisil"; | |
| repo = "nixpkgs-mozilla"; | |
| rev = "d13abfc71b2bbc6a6effda0b598c82b79c5e6512"; | |
| sha256 = "0panppfq354qgdq1hf8dimdmmfz36s85nfn4c6ila75icrsd1mx8"; | |
| fetchSubmodules = true; |
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
| { ... }: | |
| { | |
| boot.loader.grub.extraConfig = '' | |
| insmod setpci; | |
| setpci -s "00:17.0" 3e.b=8; | |
| setpci -s "02:00.0" 04.b=7; | |
| ''; | |
| } |
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> {} | |
| , cairo ? pkgs.cairo | |
| , fetchurl ? pkgs.fetchurl | |
| , glib ? pkgs.glib | |
| , patchelf ? pkgs.patchelf | |
| , stdenv ? pkgs.stdenv | |
| , xorg ? pkgs.xorg | |
| , nss | |
| , nspr | |
| , gnome3 |
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
| { stdenv, fetchurl, unzip, interface, writeText, jre }: | |
| let allSight = writeText "Allsight.svg" (builtins.readFile ./Allsight.svg); | |
| swoosh = writeText "swoosh.svg" (builtins.readFile ./swoosh.svg); | |
| in stdenv.mkDerivation { | |
| name = "static-assets"; | |
| phases = [ "unpackPhase" "installPhase" ]; | |
| buildInputs = [ jre unzip ]; | |
| installPhase = '' | |
| mkdir -p $out | |
| cp ${allSight} $out/Allsight.svg |
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
| { stdenv, fetchurl, unzip, interface, writeText, jre, zopfli }: | |
| stdenv.mkDerivation { | |
| name = "static-assets"; | |
| phases = [ "unpackPhase" "installPhase" ]; | |
| buildInputs = [ jre unzip ]; | |
| installPhase = '' | |
| mkdir -p $out/share | |
| cp ${./Allsight.svg} $out/Allsight.svg | |
| cp ${./swoosh.svg} $out/swoosh.svg |
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> {}; | |
| stdenv.mkDerivation { | |
| name = "emojicode-0.6"; | |
| src = fetchFromGitHub { | |
| owner = "emojicode"; | |
| repo = "emojicode"; | |
| sha256 = "0v5r481xhjc3kdk9a49yi9lqnd6gxq5iws4d65dcx43mw3wz38sj"; | |
| rev = "5d655df6b7f7ffa13c4addfc140ef83d695381ca"; | |
| }; |