+1
-1
CONTRIBUTING.md
+1
-1
CONTRIBUTING.md
···
+4
nixos/doc/manual/release-notes/rl-2311.section.md
+4
nixos/doc/manual/release-notes/rl-2311.section.md
···- [Prometheus MySQL exporter](https://github.com/prometheus/mysqld_exporter), a MySQL server exporter for Prometheus. Available as [services.prometheus.exporters.mysqld](#opt-services.prometheus.exporters.mysqld.enable).+- [LibreNMS](https://www.librenms.org), a auto-discovering PHP/MySQL/SNMP based network monitoring. Available as [services.librenms](#opt-services.librenms.enable).- [sitespeed-io](https://sitespeed.io), a tool that can generate metrics (timings, diagnostics) for websites. Available as [services.sitespeed-io](#opt-services.sitespeed-io.enable).- [stalwart-mail](https://stalw.art), an all-in-one email server (SMTP, IMAP, JMAP). Available as [services.stalwart-mail](#opt-services.stalwart-mail.enable).···+- Package `cloud-sql-proxy` was renamed to `google-cloud-sql-proxy` as it cannot be used with other cloud providers.;- Package `pash` was removed due to being archived upstream. Use `powershell` as an alternative.
+2
nixos/modules/module-list.nix
+2
nixos/modules/module-list.nix
······
+624
nixos/modules/services/monitoring/librenms.nix
+624
nixos/modules/services/monitoring/librenms.nix
···+Configure this LibreNMS instance as a (distributed poller)[https://docs.librenms.org/Extensions/Distributed-Poller/].+All possible options are listed [here](https://github.com/librenms/librenms/blob/master/misc/config_definitions.json).+See https://docs.librenms.org/Extensions/Authentication/ for setting other authentication methods.+message = "The database host must be \"localhost\" if services.librenms.database.createLocally is set to true.";+message = "The LibreNMS instance can't be a distributed poller and a full instance at the same time.";+"distributed_poller_name" = lib.mkIf (cfg.distributedPoller.name != null) cfg.distributedPoller.name;+"rrdcached" = "${cfg.distributedPoller.rrdcachedHost}:${toString cfg.distributedPoller.rrdcachedPort}";+# rrdcached params from https://docs.librenms.org/Extensions/Distributed-Poller/#config-sample+ExecStart = "${pkgs.rrdtool}/bin/rrdcached -l 0:42217 -R -j ${cfg.dataDir}/rrdcached-journal/ -F -b ${cfg.dataDir}/rrd -B -w 1800 -z 900 -p /run/rrdcached/rrdcached.pid";+ExecStartPre = lib.mkIf cfg.database.createLocally [ "!${pkgs.writeShellScript "librenms-db-init" ''+echo "ALTER USER '${cfg.database.username}'@'localhost' IDENTIFIED BY '$DB_PASSWORD';" | ${pkgs.mariadb}/bin/mysql+echo "ALTER USER '${cfg.database.username}'@'%' IDENTIFIED BY '$DB_PASSWORD';" | ${pkgs.mariadb}/bin/mysql+"${if cfg.enableOneMinutePolling then "*" else "*/5"} * * * * ${cfg.user} ${env} ${package}/cronic ${package}/poller-wrapper.py ${toString cfg.pollerThreads}"
+95
nixos/modules/services/security/tang.nix
+95
nixos/modules/services/security/tang.nix
···
+2
nixos/tests/all-tests.nix
+2
nixos/tests/all-tests.nix
······
+108
nixos/tests/librenms.nix
+108
nixos/tests/librenms.nix
···+API_USER_ID=$(${pkgs.mariadb}/bin/mysql -D librenms -N -B -e "SELECT user_id FROM users WHERE username = '$API_USER_NAME';")+${pkgs.mariadb}/bin/mysql -D librenms -e "INSERT INTO api_tokens (user_id, token_hash, description) VALUES ($API_USER_ID, '$API_TOKEN', 'API User')"+librenms.succeed("curl --fail -X POST -d '{\"hostname\":\"snmphost\",\"version\":\"v2c\",\"community\":\"public\"}' -H 'X-Auth-Token: ${api_token}' http://localhost/api/v0/devices")+librenms.wait_until_succeeds("test $(curl -H 'X-Auth-Token: ${api_token}' http://localhost/api/v0/devices/snmphost | jq -Mr .devices[0].last_polled) != 'null'")
+81
nixos/tests/tang.nix
+81
nixos/tests/tang.nix
···+machine.wait_until_succeeds(f"""echo 'Hello World' | clevis encrypt tang '{{ "url": "http://127.0.0.1:7654", "thp":"{key}"}}' > /tmp/encrypted""")+machine.succeed(f"""clevis luks bind -s1 -y -f -d /dev/vdb tang '{{ "url": "http://127.0.0.1:7654", "thp":"{key}" }}' <<< 'password' """)
+1
-1
pkgs/applications/audio/mbrola/default.nix
+1
-1
pkgs/applications/audio/mbrola/default.nix
···
-110
pkgs/applications/misc/simplenote/default.nix
-110
pkgs/applications/misc/simplenote/default.nix
···-url = "https://github.com/Automattic/simplenote-electron/releases/download/v${version}/Simplenote-linux-${version}-amd64.deb";
+23
-1
pkgs/applications/networking/browsers/chromium/common.nix
+23
-1
pkgs/applications/networking/browsers/chromium/common.nix
······url = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz";
+4
-4
pkgs/applications/networking/browsers/chromium/upstream-info.nix
+4
-4
pkgs/applications/networking/browsers/chromium/upstream-info.nix
············
+11
-5
pkgs/build-support/fetchgit/nix-prefetch-git
+11
-5
pkgs/build-support/fetchgit/nix-prefetch-git
·········
+6
-6
pkgs/by-name/wa/waycheck/package.nix
+6
-6
pkgs/by-name/wa/waycheck/package.nix
······
+6
-6
pkgs/data/misc/xorg-rgb/default.nix
+6
-6
pkgs/data/misc/xorg-rgb/default.nix
······
+30
-3
pkgs/development/libraries/speech-tools/default.nix
+30
-3
pkgs/development/libraries/speech-tools/default.nix
······+url = "https://github.com/festvox/speech_tools/commit/06141f69d21bf507a9becb5405265dc362edb0df.patch";···
+2
-2
pkgs/development/python-modules/apprise/default.nix
+2
-2
pkgs/development/python-modules/apprise/default.nix
···
+23
pkgs/development/python-modules/command_runner/default.nix
+23
pkgs/development/python-modules/command_runner/default.nix
···
pkgs/development/python-modules/et_xmlfile/default.nix
pkgs/development/python-modules/et-xmlfile/default.nix
pkgs/development/python-modules/et_xmlfile/default.nix
pkgs/development/python-modules/et-xmlfile/default.nix
+37
pkgs/development/python-modules/guzzle-sphinx-theme/default.nix
+37
pkgs/development/python-modules/guzzle-sphinx-theme/default.nix
···
-22
pkgs/development/python-modules/guzzle_sphinx_theme/default.nix
-22
pkgs/development/python-modules/guzzle_sphinx_theme/default.nix
···
+2
-2
pkgs/development/python-modules/openpyxl/default.nix
+2
-2
pkgs/development/python-modules/openpyxl/default.nix
+3
-2
pkgs/development/python-modules/pythonnet/default.nix
+3
-2
pkgs/development/python-modules/pythonnet/default.nix
······
-30
pkgs/development/tools/guile/guile-lint/default.nix
-30
pkgs/development/tools/guile/guile-lint/default.nix
···
+79
-9
pkgs/servers/monitoring/kapacitor/default.nix
+79
-9
pkgs/servers/monitoring/kapacitor/default.nix
···+url = "https://github.com/influxdata/flux/commit/20ca62138a0669f2760dd469ca41fc333e04b8f2.patch";description = "Open source framework for processing, monitoring, and alerting on time series data";
+18
pkgs/servers/monitoring/librenms/broken-binary-paths.diff
+18
pkgs/servers/monitoring/librenms/broken-binary-paths.diff
···
+116
pkgs/servers/monitoring/librenms/default.nix
+116
pkgs/servers/monitoring/librenms/default.nix
···+--replace '"default": "/usr/bin/snmptranslate",' '"default": "${net-snmp}/bin/snmptranslate",' \+--replace '"default": "/usr/lib/nagios/plugins",' '"default": "${monitoring-plugins}/libexec",' \+substituteInPlace $out/LibreNMS/wrapper.py --replace '/usr/bin/env php' '${phpPackage}/bin/php'+substituteInPlace $out/LibreNMS/__init__.py --replace '"/usr/bin/env", "php"' '"${phpPackage}/bin/php"'+substituteInPlace $out/snmp-scan.py --replace '"/usr/bin/env", "php"' '"${phpPackage}/bin/php"'
+9
-4
pkgs/servers/tang/default.nix
+9
-4
pkgs/servers/tang/default.nix
·········
+1
-1
pkgs/tools/backup/borgbackup/default.nix
+1
-1
pkgs/tools/backup/borgbackup/default.nix
-32
pkgs/tools/misc/cloud-sql-proxy/default.nix
-32
pkgs/tools/misc/cloud-sql-proxy/default.nix
···
+37
pkgs/tools/misc/google-cloud-bigtable-tool/default.nix
+37
pkgs/tools/misc/google-cloud-bigtable-tool/default.nix
···+The cbt CLI is a command-line interface for performing several different operations on Cloud Bigtable.+An overview of its usage can be found in the [Google Cloud docs](https://cloud.google.com/bigtable/docs/cbt-overview).+For information about Bigtable in general, see the [overview of Bigtable](https://cloud.google.com/bigtable/docs/overview).
+40
pkgs/tools/misc/google-cloud-sql-proxy/default.nix
+40
pkgs/tools/misc/google-cloud-sql-proxy/default.nix
···+The Cloud SQL Auth Proxy is a utility for ensuring secure connections to your Cloud SQL instances.+It provides IAM authorization, allowing you to control who can connect to your instance through IAM permissions,+See the [Connecting Overview](https://cloud.google.com/sql/docs/mysql/connect-overview) page for more information+on connecting to a Cloud SQL instance, or the [About the Proxy](https://cloud.google.com/sql/docs/mysql/sql-proxy)
+3
-3
pkgs/tools/networking/sockdump/default.nix
+3
-3
pkgs/tools/networking/sockdump/default.nix
···
+2
pkgs/top-level/aliases.nix
+2
pkgs/top-level/aliases.nix
···gr-rds = throw "'gr-rds' has been renamed to/replaced by 'gnuradio3_7.pkgs.rds'"; # Converted to throw 2023-09-10grub = throw "grub1 was removed after not being maintained upstream for a decade. Please switch to another bootloader"; # Added 2023-04-11+guile-lint = throw "'guile-lint' has been removed, please use 'guild lint' instead"; # Added 2023-10-16···shhgit = throw "shhgit is broken and is no longer maintained. See https://github.com/eth0izzle/shhgit#-shhgit-is-no-longer-maintained-" ; # Added 2023-08-08signumone-ks = throw "signumone-ks has been removed from nixpkgs because the developers stopped offering the binaries"; # Added 2023-08-17+simplenote = throw "'simplenote' has been removed because it is no longer maintained and insecure"; # Added 2023-10-09
+9
-9
pkgs/top-level/all-packages.nix
+9
-9
pkgs/top-level/all-packages.nix
··················
+2
pkgs/top-level/python-aliases.nix
+2
pkgs/top-level/python-aliases.nix
···eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03···graphite_beacon = throw "graphite_beacon was removed, because it is no longer maintained"; # added 2022-07-09
+4
-2
pkgs/top-level/python-packages.nix
+4
-2
pkgs/top-level/python-packages.nix
·········