lean & prusa-slicer

This commit is contained in:
2024-05-02 08:43:29 +02:00
parent 45932905cb
commit f1fad8c870
26 changed files with 192 additions and 338 deletions

View File

@@ -1,30 +0,0 @@
{ pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; [ dropbox dropbox-cli ];
networking.firewall = {
allowedTCPPorts = [ 17500 ];
allowedUDPPorts = [ 17500 ];
};
systemd.user.services.dropbox = {
description = "Dropbox";
wantedBy = [ "graphical-session.target" ];
environment = {
QT_PLUGIN_PATH = "/run/current-system/sw/"
+ pkgs.qt5.qtbase.qtPluginPrefix;
QML2_IMPORT_PATH = "/run/current-system/sw/"
+ pkgs.qt5.qtbase.qtQmlPrefix;
};
serviceConfig = {
ExecStart = "${lib.getBin pkgs.dropbox}/bin/dropbox";
ExecReload = "${lib.getBin pkgs.coreutils}/bin/kill -HUP $MAINPID";
KillMode = "control-group"; # upstream recommends process
Restart = "on-failure";
PrivateTmp = true;
ProtectSystem = "full";
Nice = 10;
};
};
}

View File

@@ -0,0 +1,25 @@
{ lib, stdenv, fetchgit, chez, gnumake, which, emacs, texliveFull }:
stdenv.mkDerivation rec {
name = "minlog";
version = "2024-04-14";
src = fetchgit {
url = "http://www.ed.math.lmu.de/m/~minlogit/git/minlog.git";
rev = "92a3f38d4532942016525ebdfb05c0a0791cad97";
hash = "sha256-WWkYjf0vMf6zhSW9zr1hdV8D1W08l5Y0auMghMhFU68=";
};
nativeBuildInputs = [ chez which emacs texliveFull ];
buildInputs = [ chez ];
makeFlags = [ "DESTDIR=$(out)" ];
meta = with lib; {
description = "Minlog is an interactive proof system";
homepage = "https://www.ed.math.lmu.de/m//~logik/minlog/#installation";
maintainers = [ maintainers.einfischy ];
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,6 @@
# Arguments to the overlay function:
{ ... }:
final: prev: {
minlog = prev.callPackage ./minlog.nix { };
}