| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Use this as a test of the migration warnings/functionality.
|
|
|
|
|
| |
This offers less helpful warnings, but makes the implementation
considerably more straightforward.
|
| |
|
| |
|
|
|
|
| |
Instead of deprecating, as per PR feedback
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Adding by index could be an issue if the user wanted the data to be
added to a DB other than the first.
|
|
|
|
|
|
|
|
| |
The old slapd.conf is deprecated. Replace with slapd.d, and use this
opportunity to write some structured settings.
Incidentally, this fixes the fact that openldap is reported up before
any checks have completed, by using forking mode.
|
|\
| |
| | |
nixos/malloc: fix Scudo
|
| |
| |
| |
| |
| | |
Fixes segmentation faults.
https://github.com/NixOS/nixpkgs/issues/100799
|
| |
| |
| |
| |
| | |
Single line docstrings should have the """ on a single line according to PEP 8.
It seems support for this landed in the latest version of Black.
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Paperwork 2.0
|
| | | | |
|
| |\ \ \
| | | | |
| | | | | |
nixos/update-user-groups: Fix encoding issues + atomic writes
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Having the .tmp suffix is broken w.r.t. to multiple writers,
as they would overwrite existing files. using the atomic flag
will make write_file to create a unique temporary file it gets renamed
to its target.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The issue here is that updateFile expects a unicode string while
encode_json returns a binary string unlike to_json.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Ideally we would treat everything as bytes however our database is
already utf-8 encoded so we need to stay compatible.
|
| |\ \ \ \
| | | | | |
| | | | | | |
dockerTools: Always cross compile for another arch in the cross example
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The example fails to build on aarch64, so lets cross build for gnu64.
|
| |/ / / / |
|
|\| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
x86_64,aarch64-linux -- exclude i686
|
|\| | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
nixos/release-small: add amazonImage
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
fixup breakage from #104193
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
NixOS EC2 AMI: Support IMDSv2
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
According to Freenode's ##AWS, the metadata server can sometimes
take a few moments to get its shoes on, and the very first boot
of a machine can see failed requests for a few moments.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
AWS's metadata service has two versions. Version 1 allowed plain HTTP
requests to get metadata. However, this was frequently abused when a
user could trick an AWS-hosted server in to proxying requests to the
metadata service. Since the metadata service is frequently used to
generate AWS access keys, this is pretty gnarly. Version two is
identical except it requires the caller to request a token and provide
it on each request.
Today, starting a NixOS AMI in EC2 where the metadata service is
configured to only allow v2 requests fails: the user's SSH key is not
placed, and configuration provided by the user-data is not applied.
The server is useless. This patch addresses that.
Note the dependency on curl is not a joyful one, and it expand the
initrd by 30M. However, see the added comment for more information
about why this is needed. Note the idea of using `echo` and `nc` are
laughable. Don't do that.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
These two APIs have diverged over time and are no longer compatible.
|
| |\ \ \ \ \ \
| | |_|/ / / /
| |/| | | | | |
dockerTools.buildLayeredImage: Fix cross compilation
|
| | | | | | | |
|
|\| | | | | | |
|
| |\ \ \ \ \ \
| | |/ / / / /
| |/| | | | | |
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
fcitx: Add test (Unicode input, table input, m17n)
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
nixos/nfs: add idmapd.settings option
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Co-authored-by: Aaron Andersen <aaron@fosslib.net>
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
it's also not needed given that empty list covers all use cases.
|
|\| | | | | | | |
|