nut
nixpkgs
nut | nixpkgs | |
---|---|---|
192 | 975 | |
1,571 | 15,656 | |
8.6% | 5.3% | |
9.9 | 10.0 | |
5 days ago | 6 days ago | |
C | Nix | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nut
-
Tell HN: Laptop Runs Without Battery
> what software do you recommend for gnu/linux to take input from the UPS to tell the laptop to shutdown?
https://networkupstools.org/
- Network Ups Tools
-
UPS - USB not recognized
The Synology software is based on N.U.T. https://networkupstools.org and the Plus 1100 (listed on NUT as the Easy Power 1200) is supported in the native package with the 'blazer' driver. If you have the skills, I would SSH into the NAS and see if the device is 'noticed' or better yet recognised by the USB sub-system when you plug it it. (Normal Linux would use the lsusb command to see devices but I have no NAS handy to see if this is valid on the Synology)
- I have to Restart my UDM SE every 2 days 😞
- Choosing the Best UPS : Comparing APC Back-UPS Pro 1500 vs. APC Smart-UPS
-
What UPS are you using?
Others have answered the hardware part of your question. I have not seen much mention about the software to control graceful shutdowns. For this I suggest you look at the ”Network UPS Tool” (NUT for short) project (https://networkupstools.org/). It is mostly manufacturer agnostic with clients for a vast array of hardware components.
-
Power outage automation
You're looking for NUT.
-
APC Smart Connect
Network UPS Tools is one option: https://networkupstools.org/
-
PSA: APC has updated it's terms for the PowerChute management software. It now requires a licence
APC is giving me pre-nut clarity.
-
Cyberpower UPS issue
So no, the NAS does not monitor the battery level. The UPS does that. The NAS just acts on the messages it receives from the UPS via Synology's version of NUT - Network UPS Tools (https://networkupstools.org/). The NAS will first receive the ON_BATTERY/POWERFAIL signal. Then, eventually the BATTERY_LOW signal at which time the UPS will shutdown. So you really need to set a time for it to shut down *BEFORE* you get BATTERY_LOW.
nixpkgs
-
Nix: The Breaking Point
I don't think so. The article is probably intended for the Nix community, so the author doesn't need to convince HN that something is going on. If as an outsider you are interested then you need to look into it yourself, the community has no obligation to make their internal conflicts legible to the outside world.
As an outsider myself, it certainly looks like something is going on as more than 20 Nixpkg maintainers left in a week: https://github.com/NixOS/nixpkgs/issues?q=label%3A%228.has%3...
- Maintainers Leaving
-
Air Force picks Anduril, General Atomics to develop unmanned fighter jets
https://github.com/NixOS/nixpkgs/commits?author=neon-sunset
-
Eelco Dolstra's leadership is corrosive to the Nix project
I see two signers in the top 6 displayed on https://github.com/NixOS/nixpkgs/graphs/contributors
-
3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup
For a single file script, nix can make the package management quite easy: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-f...
For example,
```
- NixOS/nixpkgs: There isn't a clear canonical way to refer to a specific package
-
NixOS Is Not Reproducible
Yes, Nix doesn't actually ensure that the builds are deterministic. In fact it works just fine if they aren't. There are packages in nixpkgs that aren't reproducible: https://github.com/NixOS/nixpkgs/issues?q=is%3Aopen+is%3Aiss...
-
The xz attack shell script
I'm not familiar with Bazel, but Nix in it's current form wouldn't have solved this attack. First of all, the standard mkDerivation function calls the same configure; make; make install process that made this attack possible. Nixpkgs regularly pulls in external resources (fetchUrl and friends) that are equally vulnerable to a poisoned release tarball. Checkout the comment on the current xz entry in nixpkgs https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/comp...
-
Debian Git Monorepo
NixOS uses a monorepo and I think everyone's love it.
I love being able to easily grep through all the packages source code and there's regularly PRs that harmonizes conventions across many packages.
Nixpkgs doesn't include the packaged software source code, so it's a lot more practical than what Debian is doing.
https://github.com/NixOS/nixpkgs
-
From xz to ibus: more questionable tarballs
In this specific case, nix uses fetchFromGitHub to download the source archive, which are generated by GitHub for the specified revision[1]. Arch seems to just download the tarball from the releases page[2].
[1]: https://github.com/NixOS/nixpkgs/blob/3c2fdd0a4e6396fc310a6e...
[2]: https://gitlab.archlinux.org/archlinux/packaging/packages/ib...
What are some alternatives?
prtg-ups-monitor - Network monitoring via PRTG for non-networked UPS battery backups.
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
MagicMirror - MagicMirror² is an open source modular smart mirror platform. With a growing list of installable modules, the MagicMirror² allows you to convert your hallway or bathroom mirror into your personal assistant.
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
webNUT - Web interface for Network UPS Tools servers.
git-lfs - Git extension for versioning large files
snmp_exporter - SNMP Exporter for Prometheus
easyeffects - Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
webNUT - Web interface for Network UPS Tools servers.
waydroid - Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.