ckie
July 8, 2023, 4:51pm
2411
Hi there, I’ve got a new package for pihole in this PR:
I’ve been running it on a Raspberry Pi and it’s been solid so far. Unfortunately it needs a fair bit of patching to get rid of the nasty self-install/upgrade stuff.
NixOS:master
← williamvds:add_pihole
opened 09:41PM - 05 Apr 23 UTC
###### Description of changes
[Pihole](https://pi-hole.net) describes itself … as "A black hole for Internet advertisements".
It's a suite for running and administrating a DNS sinkhole, which filters queries and caches their results, primarily to block advertisements and other undesirable traffic originating from the LAN.
Built on dnsmasq, the DNS server (called pihole-FTL) can also be used as a DHCP server to automatically configure LAN clients to use pihole's DNS.
The pihole-ftl package is based on #108055 by @JamieMagee (itself based on the work of @nuxeh). The remaining work was done mostly from scratch.
This PR resolves the package request issue #61617.
This PR includes packages for:
* [pihole-ftl](https://github.com/pi-hole/FTL): The DNS server, forked from dnsmasq
* [pihole-adminlte:](https://github.com/pi-hole/AdminLTE) A web server which shows statistics, logs, and allows more advanced configuration of pihole-FTL
* [pihole](https://github.com/pi-hole/pi-hole): A collection of scripts for managing pihole-FTL
The last one needs the heaviest modifications, particularly to excise the reinstallation/upgrade functionality, which is not needed on NixOS.
NixOS modules are provided for pihole-ftl and pihole-adminlte.
pihole-ftl's module is largely a wrapper around the existing dnsmasq one, since they are mostly compatible applications. Some additional options are provided for automatically setting the adlists for pihole to download and apply.
pihole-adminlte's module is rather minimal, with some cosmetic options for temperature units and the web theme.
To do:
- [x] Documentation
- [ ] NixOS tests for AdminLTE and pihole-FTL?
- [ ] Diagnose/resolve a bug where AdminLTE gets "attempt to write to a readonly database" errors until it is restarted.
- This only happens on the first run, when AdminLTE starts before `/etc/pihole/gravity.db` is created
- Could be systemd hardening?
###### Things done
- Built on platform(s)
- [x] x86_64-linux
- [x] aarch64-linux
- [ ] x86_64-darwin
- [ ] aarch64-darwin
- [ ] For non-Linux: Is `sandbox = true` set in `nix.conf`? (See [Nix manual](https://nixos.org/manual/nix/stable/command-ref/conf-file.html))
- [ ] Tested, as applicable:
- [NixOS test(s)](https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests) (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))
- and/or [package tests](https://nixos.org/manual/nixpkgs/unstable/#sec-package-tests)
- or, for functions and "core" functionality, tests in [lib/tests](https://github.com/NixOS/nixpkgs/blob/master/lib/tests) or [pkgs/test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/test)
- made sure NixOS tests are [linked](https://nixos.org/manual/nixpkgs/unstable/#ssec-nixos-tests-linking) to the relevant packages
- [x] Tested compilation of all packages that depend on this change using `nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"`. Note: all changes have to be committed, also see [nixpkgs-review usage](https://github.com/Mic92/nixpkgs-review#usage)
- [x] Tested basic functionality of all binary files (usually in `./result/bin/`)
- [23.05 Release Notes (or backporting 22.11 Release notes)](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#generating-2305-release-notes)
- [ ] (Package updates) Added a release notes entry if the change is major or breaking
- [ ] (Module updates) Added a release notes entry if the change is significant
- [x] (Module addition) Added a release notes entry if adding a new NixOS module
- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).
<!--
To help with the large amounts of pull requests, we would appreciate your
reviews of other pull requests, especially simple package updates. Just leave a
comment describing what you have tested in the relevant package/service.
Reviewing helps to reduce the average time-to-merge for everyone.
Thanks a lot if you do!
List of open PRs: https://github.com/NixOS/nixpkgs/pulls
Reviewing guidelines: https://nixos.org/manual/nixpkgs/unstable/#chap-reviewing-contributions
-->
If anyone could take a look that would be fab, thanks!
4 Likes
simple version update of Odin
NixOS:master
← Astavie:master
opened 11:03AM - 10 Jul 23 UTC
ols: nightly-05-18 -> nightly-07-09
ols should be updated simultaneously as it … is updated in tandem with the odin compiler
###### Description of changes
https://github.com/odin-lang/Odin/releases/tag/dev-2023-07
###### Things done
- Built on platform(s)
- [x] x86_64-linux
- [ ] aarch64-linux
- [ ] x86_64-darwin
- [ ] aarch64-darwin
- [ ] For non-Linux: Is `sandbox = true` set in `nix.conf`? (See [Nix manual](https://nixos.org/manual/nix/stable/command-ref/conf-file.html))
- [ ] Tested, as applicable:
- [NixOS test(s)](https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests) (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))
- and/or [package tests](https://nixos.org/manual/nixpkgs/unstable/#sec-package-tests)
- or, for functions and "core" functionality, tests in [lib/tests](https://github.com/NixOS/nixpkgs/blob/master/lib/tests) or [pkgs/test](https://github.com/NixOS/nixpkgs/blob/master/pkgs/test)
- made sure NixOS tests are [linked](https://nixos.org/manual/nixpkgs/unstable/#ssec-nixos-tests-linking) to the relevant packages
- [ ] Tested compilation of all packages that depend on this change using `nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"`. Note: all changes have to be committed, also see [nixpkgs-review usage](https://github.com/Mic92/nixpkgs-review#usage)
- [ ] Tested basic functionality of all binary files (usually in `./result/bin/`)
- [23.11 Release Notes](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2311.section.md) (or backporting [23.05 Release notes](https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/release-notes/rl-2305.section.md))
- [ ] (Package updates) Added a release notes entry if the change is major or breaking
- [ ] (Module updates) Added a release notes entry if the change is significant
- [ ] (Module addition) Added a release notes entry if adding a new NixOS module
- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).
<!--
To help with the large amounts of pull requests, we would appreciate your
reviews of other pull requests, especially simple package updates. Just leave a
comment describing what you have tested in the relevant package/service.
Reviewing helps to reduce the average time-to-merge for everyone.
Thanks a lot if you do!
List of open PRs: https://github.com/NixOS/nixpkgs/pulls
Reviewing guidelines: https://nixos.org/manual/nixpkgs/unstable/#chap-reviewing-contributions
-->
wineee
July 11, 2023, 9:37am
2415
tni
July 13, 2023, 5:05am
2419
This PR was opened yesterday, but I took it over to shepherd from a PR that’s been open for about a week. Warning: it’s a bit larger than normal because it involves updating various update scripts to keep them working.
https://github.com/NixOS/nixpkgs/pull/243018
dadada
July 13, 2023, 4:57pm
2420
https://github.com/NixOS/nixpkgs/pull/243088
Fixes kaccess’es unability to launch orca screen reader
jmbaur
July 14, 2023, 10:59pm
2424
Fixes u-boot cross compilation for boards that require using some built-time tools with missing dependencies: u-boot: fix cross-compilation by jmbaur · Pull Request #241958 · NixOS/nixpkgs · GitHub
jsoo1
July 14, 2023, 11:57pm
2425
devusb
July 15, 2023, 12:39am
2426
panicgh
July 15, 2023, 10:30am
2427
https://github.com/NixOS/nixpkgs/pull/243696
Already has an approval, just waiting for someone to merge
h7x4
July 18, 2023, 7:19am
2429