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
| { ... }: | |
| { | |
| 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
| { 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
| 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
| # ... | |
| 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
| 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
| 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
| { pkgs ? import <nixpkgs> {} }: | |
| # Based on nixpkgs/pkgs/applications/graphics/darktable/default.nix | |
| let stdenv = pkgs.stdenv; | |
| #assert stdenv ? glibc; | |
| in stdenv.mkDerivation rec { | |
| name = "darktable-git"; | |
| src = pkgs.lib.cleanSource ./.; |
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, ... }: | |
| let | |
| simgrid2 = pkgs.stdenv.mkDerivation { | |
| name = "simgrid2"; | |
| buildInputs = with pkgs; [ simgrid ]; | |
| }; | |
| in { | |
| imports = [ | |
| ./hardware-configuration.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
| with import <nixpkgs> {}; | |
| let vendorgl = (linuxPackages.nvidia_x11.override { | |
| libsOnly = true; | |
| kernel = null; | |
| }).overrideAttrs (oldAttrs: rec { | |
| name = "nvidia-x11-367.27-${pkgs.linuxPackages.kernel.version}"; | |
| src = fetchurl { | |
| url = "http://download.nvidia.com/XFree86/Linux-x86_64/367.27/NVIDIA-Linux-x86_64-367.27.run"; | |
| sha256 = "0000000000000000000000000000000000000000000000000000"; |