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
| [gcode_macro CARTO_CALIBRATE_TOOL_Z] | |
| description: Macro to calibrate Z offsets for all tools using the cartographer touch probe. | |
| variable_z_offsets: {} | |
| gcode: | |
| {% if printer.toolhead.homed_axes != 'xyz' %} | |
| { action_raise_error("Please home the printer before running this macro.") } | |
| {% endif } | |
| {% set zrp = printer.configfile.bed_mesh.zero_reference_position | tuple | default((50,50))} | |
| {action_respond_info("Calibrating Z offsets for all tools")} |
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.android_sdk.accept_license = true; }; | |
| let | |
| inherit (pkgs) mkShell openjdk; | |
| androidPkgs = androidenv.composeAndroidPackages { | |
| platformVersions = [ "28" ]; | |
| abiVersions = [ "x86" "x86_64"]; | |
| includeEmulator = true; | |
| }; | |
| inherit (androidPkgs) androidsdk; |
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, dpkg | |
| , desktop-file-utils, gnome2, hicolor-icon-theme | |
| , libappindicator-gtk2, libnotify, libXtst, nss | |
| , gtk2, atk, cairo, gdk_pixbuf, glib, freetype, fontconfig | |
| , dbus, libXi, libXcursor, libxcb, libXdamage, libXrandr | |
| , libXcomposite, libXext, libXfixes, libXrender, libX11 | |
| , libXScrnSaver, nspr, alsaLib, cups, expat | |
| }: | |
| let |
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
| { buildFHSUserEnv, stdenv, fetchurl, writeScriptBin, callPackage }: | |
| let | |
| nixGL = callPackage (fetchTarball { | |
| url = "https://github.com/guibou/nixGL/archive/04a6b0833fbb46a0f7e83ab477599c5f3eb60564.tar.gz"; | |
| sha256 = "0z1zafkb02sxng91nsx0gclc7n7sv3d5f23gp80s3mc07p22m1k5"; | |
| }) {}; | |
| firestorm = stdenv.mkDerivation rec { | |
| pname = "firestorm"; | |
| version = "6.0.2.56680"; |
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
| { lib, pkgs, stdenv }: | |
| let | |
| inherit (pkgs) python2Packages fetchurl fetchhg; | |
| llbase = python2Packages.buildPythonApplication rec { | |
| pname = "llbase"; | |
| version = "1.2.2"; | |
| src = python2Packages.fetchPypi { | |
| inherit pname 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
| { lib, stdenv, fetchFromGitHub, glibc, bison, flex }: | |
| stdenv.mkDerivation rec { | |
| pname = "lslint"; | |
| version = "1.2.1"; | |
| src = fetchFromGitHub { | |
| owner = "Makopo"; | |
| repo = "lslint"; | |
| rev = "v${version}"; | |
| sha256 = "1fhkmiznbzld1i6r7lmc7gdyjay82s8kbg9sh9lfd8nfkirkqrxn"; |
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
| { lib, pkgs }: | |
| pkgs.stdenv.mkDerivation rec { | |
| name = "lslint-${version}"; | |
| version = "1.2.1"; | |
| src = pkgs.fetchFromGitHub { | |
| owner = "Makopo"; | |
| repo = "lslint"; | |
| rev = "d9af2b3e9f8b23633a4a1db5f051287e94efeeb4"; | |
| sha256 = "1fhkmiznbzld1i6r7lmc7gdyjay82s8kbg9sh9lfd8nfkirkqrxn"; |
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
| { lib, pkgs }: | |
| pkgs.stdenv.mkDerivation { | |
| name = "lslint"; | |
| buildInputs = with pkgs; [ bison flex ]; | |
| nativeBuildInputs = with pkgs; [ ]; | |
| src = pkgs.fetchFromGitHub { | |
| owner = "Makopo"; | |
| repo = "lslint"; |
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 | |
| inherit (pkgs) mkShell; | |
| in mkShell { | |
| buildInputs = with pkgs; [ | |
| (haskellPackages.ghcWithPackages (self: [ | |
| self.xmonad | |
| self.xmonad-contrib | |
| self.xmonad-extras | |
| self.taffybar |
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> {} }: | |
| let | |
| listDirectory = with builtins; action: dir: | |
| let | |
| list = readDir dir; | |
| in listToAttrs (map | |
| (name: { | |
| name = replaceStrings [".nix"] [""] name; | |
| value = action (dir + ("/" + name)); |
NewerOlder