[Nix-commits] [NixOS/nixpkgs] a00c4a: nsd: 4.1.14 -> 4.1.15
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: a00c4aea5f84042e9f2bfa056e5eebe83e37befa https://github.com/NixOS/nixpkgs/commit/a00c4aea5f84042e9f2bfa056e5eebe83e37befa Author: Christoph Hrdinka Date: 2017-04-08 (Sat, 08 Apr 2017) Changed paths: M pkgs/servers/dns/nsd/default.nix Log Message: --- nsd: 4.1.14 -> 4.1.15 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 601602: nsd: 4.1.14 -> 4.1.15
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 60160234aac5f594fc64c26bc406c7e85d058e66 https://github.com/NixOS/nixpkgs/commit/60160234aac5f594fc64c26bc406c7e85d058e66 Author: Christoph Hrdinka Date: 2017-04-08 (Sat, 08 Apr 2017) Changed paths: M pkgs/servers/dns/nsd/default.nix Log Message: --- nsd: 4.1.14 -> 4.1.15 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 730d67: retroarch.beetle-saturn: set platforms to x86_64-l...
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 730d675ef3b7cb0613103c27f6cc0bd00abc1cfb https://github.com/NixOS/nixpkgs/commit/730d675ef3b7cb0613103c27f6cc0bd00abc1cfb Author: Christoph Hrdinka Date: 2017-03-01 (Wed, 01 Mar 2017) Changed paths: M pkgs/misc/emulators/retroarch/cores.nix Log Message: --- retroarch.beetle-saturn: set platforms to x86_64-linux cc #23253. Signed-off-by: Christoph Hrdinka ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] c4eee0: retroarch.beetle-saturn: set platforms to x86_64-l...
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: c4eee0c4f14f8a539515b9e78f1d3eba7addc310 https://github.com/NixOS/nixpkgs/commit/c4eee0c4f14f8a539515b9e78f1d3eba7addc310 Author: Christoph Hrdinka Date: 2017-02-28 (Tue, 28 Feb 2017) Changed paths: M pkgs/misc/emulators/retroarch/cores.nix Log Message: --- retroarch.beetle-saturn: set platforms to x86_64-linux cc #23253. Signed-off-by: Christoph Hrdinka ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] a7ca11: libretro: add mGBA core
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a7ca11454533b0b2f2d9fb4c481e9db5f3313486 https://github.com/NixOS/nixpkgs/commit/a7ca11454533b0b2f2d9fb4c481e9db5f3313486 Author: Christoph Hrdinka Date: 2017-02-12 (Sun, 12 Feb 2017) Changed paths: M pkgs/misc/emulators/retroarch/cores.nix M pkgs/top-level/all-packages.nix Log Message: --- libretro: add mGBA core Closes #22618. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 498b5c: nsd: 4.1.13 -> 4.1.14
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: 498b5c8119f1e8ab793cf8ab142ba8a462f00e62 https://github.com/NixOS/nixpkgs/commit/498b5c8119f1e8ab793cf8ab142ba8a462f00e62 Author: Christoph Hrdinka Date: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M pkgs/servers/dns/nsd/default.nix Log Message: --- nsd: 4.1.13 -> 4.1.14 * Fix #1132 for SERVFAIL zones perform backoff, and remembers the timeout on next startup. * Fix null memcpy for radixtree with single link element. * Robust fix against missing master in tcp_open for xfrd. * Fix wildcards in include: config statements with chroot enabled. * suppress compile warning in lex files. * Fix to try every master once, then wait for timeout or notify. * Save backoff timeout into xfrd.state file, this file has a higher version number now. Old files are skipped silently (causes refresh) and created as new files upon exit. * Fix restart of zone transfers when new config becomes available. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 3047bb: nsd: 4.1.13 -> 4.1.14
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3047bb2e9c514e51286aac8d421e0f549cc82239 https://github.com/NixOS/nixpkgs/commit/3047bb2e9c514e51286aac8d421e0f549cc82239 Author: Christoph Hrdinka Date: 2017-02-10 (Fri, 10 Feb 2017) Changed paths: M pkgs/servers/dns/nsd/default.nix Log Message: --- nsd: 4.1.13 -> 4.1.14 * Fix #1132 for SERVFAIL zones perform backoff, and remembers the timeout on next startup. * Fix null memcpy for radixtree with single link element. * Robust fix against missing master in tcp_open for xfrd. * Fix wildcards in include: config statements with chroot enabled. * suppress compile warning in lex files. * Fix to try every master once, then wait for timeout or notify. * Save backoff timeout into xfrd.state file, this file has a higher version number now. Old files are skipped silently (causes refresh) and created as new files upon exit. * Fix restart of zone transfers when new config becomes available. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] ab7b62: python-mapnik: fae6388 -> git-2016-08-30
Branch: refs/heads/release-16.09 Home: https://github.com/NixOS/nixpkgs Commit: ab7b62114eef592ababa60072c10bbd3cba268ed https://github.com/NixOS/nixpkgs/commit/ab7b62114eef592ababa60072c10bbd3cba268ed Author: Christoph Hrdinka Date: 2016-12-07 (Wed, 07 Dec 2016) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- python-mapnik: fae6388 -> git-2016-08-30 Commit: 0016d362fa9455e7a5ee03e7e4d374de477a18dc https://github.com/NixOS/nixpkgs/commit/0016d362fa9455e7a5ee03e7e4d374de477a18dc Author: Christoph Hrdinka Date: 2016-12-07 (Wed, 07 Dec 2016) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- python-mapnik: add cairo to buildInputs Compare: https://github.com/NixOS/nixpkgs/compare/7a95c502bb61...0016d362fa94___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 797a78: python-mapnik: add cairo to buildInputs
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 797a784d6f45e26e11e970d3668a763621bf1b3c https://github.com/NixOS/nixpkgs/commit/797a784d6f45e26e11e970d3668a763621bf1b3c Author: Christoph Hrdinka Date: 2016-12-07 (Wed, 07 Dec 2016) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- python-mapnik: add cairo to buildInputs ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 24d2dd: mapnik: 3.0.10 -> 3.0.12
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 24d2ddfb1dd3419448909f89a9e011b7837b0542 https://github.com/NixOS/nixpkgs/commit/24d2ddfb1dd3419448909f89a9e011b7837b0542 Author: Christoph Hrdinka Date: 2016-09-27 (Tue, 27 Sep 2016) Changed paths: M pkgs/development/libraries/mapnik/default.nix Log Message: --- mapnik: 3.0.10 -> 3.0.12 Commit: deb32ec23fa34b354f683256f4a8f082f9987515 https://github.com/NixOS/nixpkgs/commit/deb32ec23fa34b354f683256f4a8f082f9987515 Author: Christoph Hrdinka Date: 2016-09-27 (Tue, 27 Sep 2016) Changed paths: M pkgs/top-level/python-packages.nix Log Message: --- python-mapnik: fae6388 -> git-2016-08-30 Compare: https://github.com/NixOS/nixpkgs/compare/74434e4ab115...deb32ec23fa3___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 553a32: nsd: 4.1.9 -> 4.1.12
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 553a3295c126fd9e73635bcde7dc1714a230c3f2 https://github.com/NixOS/nixpkgs/commit/553a3295c126fd9e73635bcde7dc1714a230c3f2 Author: Christoph Hrdinka Date: 2016-09-27 (Tue, 27 Sep 2016) Changed paths: M nixos/modules/services/networking/nsd.nix M pkgs/servers/dns/nsd/default.nix Log Message: --- nsd: 4.1.9 -> 4.1.12 4.1.12 == Bugfixes Fix malformed edns query assertion failure, reported by Michal Kepien (NASK). 4.1.11 == Features * When tcp is more than half full, use short timeout for tcp session. * Patch for {max,min}-{refresh,retry}-time from YAMAGUCHI Takanori. * Fix #790: size-limit-xfr can stop NSD from downloading infinite zone transfer data size, from Toshifumi Sakaguchi. Fixes CVE-2016-6173 JVN#63359718 JPCERT#91251865. Bugfixes * Fix build without IPv6, patch from Zdenek Kaspar. * Fix #783: Trying to run a root server without having configured it silently gives wrong answers. * Fix #782: Serve DS record but parent zone has no NS record. * Fix nsec3 missing for nsec3 signed parent and child for DS at zonecut. 4.1.10 == Features * ip-freebind: yesno option in nsd.conf sets IP_FREEBIND socket option for Linux, binds to interfaces and addresses that are down. * NSD includes before A for queries over IPV6 (in delegations). And TC is set if no glue can be provided with a delegation because of packet size. * print notice that nsd is starting before taking off. Bugfixes * Fix for openssl 1.1.0, HMAC_CTX size not exported from openssl. * Fix #751: NSD fails to occlude names below a DNAME. * If set without nsd.db print "" as the default in the man pages. * Fix #755: NSD spins after a zone update and a lot of TCP queries. * Fix for NSEC3 with zone signed without exact match for empty nonterminals, the answer for that domain gets closest encloser. * #772 Document that recvmmsg has IPv6 problems on some linux kernels. 4.1.9 = Bugfixes * Change the nsd.db file version because of nanosecond precision fix. ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] bc0a7e: Fixed libcommuni build.
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: bc0a7e7d44cea69fc57680f490cfa7c5494a367a https://github.com/NixOS/nixpkgs/commit/bc0a7e7d44cea69fc57680f490cfa7c5494a367a Author: Meyer S. Jacobs Date: 2016-06-30 (Thu, 30 Jun 2016) Changed paths: M pkgs/development/libraries/libcommuni/default.nix Log Message: --- Fixed libcommuni build. Commit: 42f52792bc3bf0c5e4508b04a11fb3c418d34994 https://github.com/NixOS/nixpkgs/commit/42f52792bc3bf0c5e4508b04a11fb3c418d34994 Author: Meyer S. Jacobs Date: 2016-06-30 (Thu, 30 Jun 2016) Changed paths: M pkgs/development/libraries/libcommuni/default.nix Log Message: --- libcommuni: enabled doCheck Closes #16612. Commit: 0630771674745cb8c943a0f87ae7bfc2f2d629f1 https://github.com/NixOS/nixpkgs/commit/0630771674745cb8c943a0f87ae7bfc2f2d629f1 Author: Christoph Hrdinka Date: 2016-06-30 (Thu, 30 Jun 2016) Changed paths: M pkgs/development/libraries/libcommuni/default.nix Log Message: --- libcommuni: 2016-01-02 -> 2016-03-23 Compare: https://github.com/NixOS/nixpkgs/compare/c4b346a53906...063077167474___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
[Nix-commits] [NixOS/nixpkgs] 17dc0a: mapnik: 3.0.9 -> 3.0.10
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 17dc0a544c1343227e6143c23c579951b14e788a https://github.com/NixOS/nixpkgs/commit/17dc0a544c1343227e6143c23c579951b14e788a Author: Christoph Hrdinka Date: 2016-06-13 (Mon, 13 Jun 2016) Changed paths: M pkgs/development/libraries/mapnik/default.nix Log Message: --- mapnik: 3.0.9 -> 3.0.10 ___ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits
Re: [Nix-dev] Systemd User Timers: timerConfig section?
Hi Sergiu, systemd timers are defined via systemd.timers. (systemwide) or systemd.user.timers. (per user) and not within *.services.*. systemd.timers.timerConfig will be used as verbatim systemd timer config as of: https://www.freedesktop.org/software/systemd/man/systemd.timer.html Here is an example configuration: systemd.user.timers.my-task = { description = "run my-task every 5 minutes"; wantedBy = [ "timers.target" ]; # enable it & auto start it timerConfig = { OnCalendar = "*-*-* *:*/5:00"; }; }; This timer will start my-task.service every 5mins. This means you have to add a service as well: systemd.user.services.my-task = { description = "My Task"; script = "echo hello world"; }; Now systemd will trigger my-task every 5mins. This is however not always what you want. Another way of doing this is to tell systemd to start the unit, wait for its completion and then start it again after 5mins. systemd.user.timers.my-task = { description = "run my-task every 5 minutes"; wantedBy = [ "timers.target" ]; # enable it & auto start it timerConfig = { OnBootSec = "5m"; # first run 5min after boot up OnUnitInactiveSec = "5m"; # run 5min after my-task has finished }; }; This timer will trigger reruns 5mins after the last run ended. A service of type "simple" (default) will be set to inactive immediately after start. If you set it to "oneshot" its activation will last as long as the run does: systemd.user.services.my-task = { description = "My Task"; script = "echo hello world"; serviceConfig.Type = "oneshot"; }; You can test this by running `systemctl start my-task`. With "simple" it will return immedialtely, with "oneshot" it will return when the script exits. You can also mix the service/timer units of the above examples to get different behaviours. Best regards, Christoph. On Fri, 19 Feb 2016 12:11:14 +0100 Sergiu Ivanov wrote: > Hello, > > I am trying to set up a (custom) systemd timer running a task every > 5 minutes. From what I can see, relying on > system.user.services.myTimer might be the way to go, but I can only > see the option startAt available, which starts my unit at a given > date/time and therefore does not really fit my needs. > > Is there a way to define other timer attributes? > > (I looked for timerConfig, which would be similar to serviceConfig or > unitConfig, but it doesn't seem to exist.) > > What is the recommended way to go for such periodic tasks under NixOS? > Do you guys all prefer cron? > ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] How do you manage bare-metal local servers with nixops
Hi Rohit! You can use nixops to deploy to any server running ssh. All you have to do is install a basic NixOS system with opensshd enabled on your target server. Then tell nixops the hostname/ip address of the new server via `deployment.targetHost`. Nixops will evaluate any nix expression you give it. If you supply multiple files these will be merged. Your nix expression must yield an attribute set of the following form: { someMachineName = { config, lib, pkgs, ... }: { deployment.targetHost = "hostname or ip"; # your usual nixos configuration file # ... } anotherMachine = {} } Every machine described in there will be deployed according to your configuation. Since it is a normal nix expression you can use any way to produce it. You can have basic templates that will be merged and overwritten by more specific ones, write everything in one file, spread it over hundret files or write a configuration syntax from which nix will derive all actual server configs. For what exactly do you need PXE? Is it for the initial NixOS install or do you want to use it because it worked for you till now with other systems? If you want it because of less configuration work it may be the wrong tool for a NixOS setup. Nixops is much better suited for this job than any PXE setup could ever be. It is made for simple deployment of hundrets of machines. You might also want to have a look at disnix/disnixos. Regards, Christoph Hrdinka. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev