This file contains 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> {}; | |
{ | |
webcore = callPackage ./webcore.nix {}; | |
webapp1 = callPackage ./webapp1.nix {}; | |
} |
This file contains 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
nix-build root.nix --arg input ./output.json -A everything.mekanism |
This file contains 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
nixpkgs.config = { | |
sqlite.interactive = true; | |
packageOverrides = (import ./overrides.nix).packageOverrides; | |
}; |
This file contains 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
/* | |
Copyright (c) 2012, Broadcom Europe Ltd | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
* Redistributions of source code must retain the above copyright | |
notice, this list of conditions and the following disclaimer. | |
* Redistributions in binary form must reproduce the above copyright | |
notice, this list of conditions and the following disclaimer in the |
This file contains 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
{ | |
allowUnfree = true; | |
pulseaudio = true; | |
packageOverrides = pkgs: rec { | |
mystuff = with pkgs; buildEnv { | |
name = "mystuff"; | |
paths = [ | |
#ffmpeg-full | |
wireshark iperf bind tigervnc (pkgs.callPackage ./multimc.nix {}) ]; | |
}; |
This file contains 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, cmake, pkgconfig, libbsd, nasm, udev, fetchFromGitHub, clang, gnustepbase }: | |
stdenv.mkDerivation { | |
name = "libobjc2"; | |
src = fetchFromGitHub { | |
owner = "gnustep"; | |
repo = "libobjc2"; | |
rev = "2ea11117a392646d960f1e861494e2f27873b15b"; | |
sha256 = "0blbl4k94ll10qq1c0p35dqgr5029ap9kca5h6zx5ws1pg6p35v1"; | |
}; |
This file contains 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
https://github.com/NixOS/nixpkgs/blob/master/pkgs/shells/bash/default.nix | |
-DDEFAULT_PATH_VALUE="/no-such-path" | |
bash source: | |
/* Now make our own defaults in case the vars that we think are | |
important are missing. */ | |
temp_var = set_if_not ("PATH", DEFAULT_PATH_VALUE); |
This file contains 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, ... }: | |
{ | |
services.udev.extraRules = '' | |
SUBSYSTEM!="sound", GOTO="pulseaudio_end" | |
ACTION!="change", GOTO="pulseaudio_end" | |
KERNEL!="card*", GOTO="pulseaudio_end" | |
SUBSYSTEMS=="pci", RESULT=="?*", ATTRS{vendor}=="0x1002", ATTRS{device}=="0x4383", ENV{PULSE_PROFILE_SET}="formula-z.conf" |
This file contains 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 | |
pixfix = if (builtins.currentSystem == "armv6l-linux") then | |
[ ./pixman.nix ] | |
else | |
[]; | |
passwords = import ./passwords.nix; | |
keys = import ./keys.nix; | |
in |
This file contains 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
{ ... }: | |
{ | |
imports = [ ./tgt_service.nix ]; | |
services = { | |
atftpd.enable = true; | |
atftpd.root = "/tftproot"; | |
tgtd = { | |
enable = true; | |
targets = { |