lassulus changed the topic of #nixos-de to: Willkommen im deutschen NixOS Channel. | camp! https://hackmd.shackspace.de/camp2019# | T-Shirts: https://codi.lassul.us/1ApEfpzOQf6tGXZT0Pusdw?both#NixOS
mbrgm_ has joined #nixos-de
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
h0m1 has quit [Ping timeout: 276 seconds]
h0m1 has joined #nixos-de
<foxit> manveru: danke, werde es dann mal mit home-manager versuchen :)
Guanin has quit [Ping timeout: 240 seconds]
<foxit> Damit ich Mails von einer Maschine versenden kann, verwende ich gerne "dma" - DragonFly Mail Agent. Leider ist der nicht in NixOS enthalten. Was habe ich jetzt für Optionen? https://github.com/corecode/dma
<foxit> Einen fetten Postfix oder Opensmtpd wollte ich eigentlich nicht installieren. Gibt es eine Chance, DMA in NixOS zu integrieren?
palo1 has joined #nixos-de
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<lassulus> klar, einfach paketieren
<foxit> lassulus: ja klar aber 1) bin ich kein developer und 2) nutze ich nixos erst seit ein paar monaten
<lassulus> najut, paket bauen ist nicht so hart, einfach mit ner einfachen mkDerivation und src anfagen und dann so lange abhängigkeiten hinzufügen bis es tut. das hier sollte für den start reichen http://p.krebsco.de/0nvlli7
<lassulus> einfach als default.nix irgendwo abspeichern, dann kann man bearbeiten und bauen bis es tut, testen geht mit: `nix-build -E 'with import <nixpkgs> {}; callPackage ./dma.nix {}'`
<lassulus> statt dma.nix natürlich default.nix
<foxit> lassulus: danke werde ich mal testen
<lassulus> kannst auch gerne fragen wenn du nicht mehr weiter weisst, aber ich würde mich freuen wenn du das dann später in nixpkgs dafür maintainer bist
<foxit> ich komme gerne auf dich zurück, danke! und ja ich wäre für alles offen
<foxit> also ich habe jetzt das hier mal versucht: https://hastebin.com/doxuwihafi.pl
<foxit> die erste frage: sha256 stimmt nicht überein mit dem tar.gz file, welches ich runter geladen habe
<foxit> und das zweite: kompilieren geht aber dann will er "install" machen und das geht natürlich nicht nach /usr
fionera has quit [*.net *.split]
jonge has quit [*.net *.split]
ajs124 has quit [*.net *.split]
Scriptkiddi has quit [*.net *.split]
{^_^} has quit [*.net *.split]
sphalerite_ has quit [*.net *.split]
blitzclone_ has quit [*.net *.split]
lassulus has quit [*.net *.split]
ctp has quit [*.net *.split]
fpletz has quit [*.net *.split]
nwspk has quit [*.net *.split]
tazjin has quit [*.net *.split]
nervengift has quit [*.net *.split]
flokli has quit [*.net *.split]
tokudan has quit [*.net *.split]
hexa- has quit [*.net *.split]
wucke13 has quit [*.net *.split]
Mic92 has quit [*.net *.split]
hax404 has quit [*.net *.split]
makefu has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
tazjin has joined #nixos-de
fpletz has joined #nixos-de
{^_^} has joined #nixos-de
sphalerite_ has joined #nixos-de
lassulus has joined #nixos-de
ctp has joined #nixos-de
blitzclone_ has joined #nixos-de
nwspk has joined #nixos-de
nervengift has joined #nixos-de
{^_^} has quit [*.net *.split]
sphalerite_ has quit [*.net *.split]
blitzclone_ has quit [*.net *.split]
lassulus has quit [*.net *.split]
ctp has quit [*.net *.split]
fpletz has quit [*.net *.split]
nwspk has quit [*.net *.split]
tazjin has quit [*.net *.split]
tazjin has joined #nixos-de
fpletz has joined #nixos-de
nwspk has joined #nixos-de
ctp has joined #nixos-de
lassulus has joined #nixos-de
blitzclone_ has joined #nixos-de
sphalerite_ has joined #nixos-de
{^_^} has joined #nixos-de
Scriptkiddi has joined #nixos-de
ajs124 has joined #nixos-de
<lassulus> installFlags = "PREFIX=$(out)";
<lassulus> Mit highlight antworte ich vl auch schneller :D
jonge has joined #nixos-de
fionera has joined #nixos-de
Ox4A6F has joined #nixos-de
makefu has joined #nixos-de
hax404 has joined #nixos-de
Mic92 has joined #nixos-de
wucke13 has joined #nixos-de
hexa- has joined #nixos-de
tokudan has joined #nixos-de
flokli has joined #nixos-de
hexa- has quit [Max SendQ exceeded]
hexa- has joined #nixos-de
<foxit> lassulus: nru kein stress ;)
<foxit> lassulus: install: invalid group 'mail'
<foxit> jetzt will er noch eine mail gruppe
<lassulus> Huh. Gleich mal ins makefile schauen
<foxit> ich weiss halt nicht, was da die richtlinien von nix sind
<lassulus> Naja. Gruppen im build geht nicht. Weil is ja in ner sandbox
<lassulus> Ich hab noch paar termine bis 15:00 dann schau ichs mir nochma an
<foxit> lassulus: klar danke
Guanin has joined #nixos-de
<lassulus> foxit: http://p.krebsco.de/14a16xs du musst die installPhase wohl überschreiben weil er gruppen und setuid dinge tut die nicht gehen
<foxit> lassulus: mhh ok. wenn ich das teil jetzt aber starten möchte, kommt: dma: user 'mail' not found.
<lassulus> ich teste mal weiter :D
<foxit> wie ist den das bei exim oder postfix? wir da kein default user "mail" angelegt?
<foxit> lassulus: ich mache dir hier wieder arbeit, sorry
<lassulus> nop, das paket alleine macht keine user oder so, dafür ist der service zuständig
<lassulus> kein problem
<foxit> lassulus: ok und der normale weg wäre jetzt einen service zu definieren, der einen mail user anlegt und die config von /etc/dma/dma.conf anlegt?
<lassulus> joa, so ungefähr, finds ja etwas weird, dass er implizit den user ändern will
<lassulus> ah, ok, der macht das nur falls er als root startet
<lassulus> jo, dann jetzt nen service bauen, ich such mal ne vorlage
<lassulus> 127 - 148 ist egal, den rest kann man eigentlich abändern
<lassulus> bei options reicht ja erstmal nur ein enable
<lassulus> uid kannste auch erstmal leer lassen
<foxit> ok danke. schaue ich mir heute abend an
fendor has joined #nixos-de
fendor has quit [Quit: Leaving]
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos-de