lean & prusa-slicer
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
25
program-packages/minlog.nix
Normal file
25
program-packages/minlog.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
||||
6
program-packages/overlay.nix
Normal file
6
program-packages/overlay.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
# Arguments to the overlay function:
|
||||
{ ... }:
|
||||
final: prev: {
|
||||
minlog = prev.callPackage ./minlog.nix { };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user