Age | Commit message (Collapse) | Author | Files | Lines |
|
zpool-auto-expand-partitions: init at 0.1.0, update auto-expand service
|
|
keycloak: 16.1.0 -> 17.0.1
|
|
|
|
nixos/envoy: init
|
|
|
|
|
|
We are not supposed to enable the use of unfree packages in Nixpkgs.
|
|
Always sanitize derivation name
|
|
See errors in these three jobs:
https://hydra.nixos.org/eval/1753111#tabs-still-fail
It's a bit unpleasant that a single run of each test takes
almost an hour for me (half an hour on Hydra in some cases).
|
|
(k)vdo: init
|
|
|
|
nixos/vaultwarden: fix test
|
|
The accept policies checkbox is no longer present on the user creation
screen.
|
|
`pkgs.system` is an alias
|
|
|
|
|
|
pgadimin4: 6.5 -> 6.7
|
|
|
|
nixos/tests/boot: fix after aa0f27abb06ca66a1dc99493ada65e2bbd6000c9
|
|
by removing duplicate `nodes`
|
|
|
|
this is necessary to override the global option Interval.
If set after the plugins, it has no effect.
|
|
ElvishJerricco/systemd-initrd-reuse-systemd-module
initrd: Opt-in bare bones systemd-based initrd
|
|
nixos/stage-2-init: Clean up legacy commands
|
|
|
|
Adds a fully fledged NixOS VM integration test which uses jmtpfs and
gvfs to test the functionality of MTP inside of NixOS. It uses USB
device emulation in QEMU to create MTP device(s) which can be tested
against.
|
|
Installs Java into the Jenkins agent and allows specifying the JDK/JRE package to use. This is necessary as Jenkins verifies if the agent contains Java installed through the java -fullversion command, which if not, the connection will fail.
|
|
|
|
|
|
the build-time check is not safe (e.g. doesn't protect from bad users or nomissingok
paths missing), so add a new unit for configuration switch time check
|
|
Now the service no longer starts immediately,
check if the config we generated makes sense as soon as possible.
The check isn't perfect because logrotate --debug wants to check
users required, there are two problems:
- /etc/passwd and /etc/group are sandboxed and we don't have
visibility of system users
- the check phase runs as nixbld which cannot su to other users
and logrotate fails on this
Until these two problems can be addressed, users-related checks
are filtered out, it's still much better than no check.
The check can be disabled with services.logrotate.checkConfig
if required
(bird also has a preCheck param, to prepare the environment
before check, but we can add it if it becomes necessary)
Since this makes for very verbose builds, we only show errors:
There is no way to control log level, but logrotate hardcodes
'error:' at common log level, so we can use grep, taking care
to keep error codes
Some manual tests:
───────┬──────────────────────────────────────────
│ File: valid-config.conf
───────┼──────────────────────────────────────────
1 │ missingok
───────┴──────────────────────────────────────────
logrotate --debug ok
grep ok
───────┬──────────────────────────────────────────
│ File: postrotate-no-end.conf
───────┼──────────────────────────────────────────
1 │ missingok
2 │ /file {
3 │ postrotate
4 │ test
5 │ }
───────┴──────────────────────────────────────────
error: postrotate-no-end.conf:prerotate, postrotate or preremove without endscript
───────┬──────────────────────────────────────────
│ File: missing-file.conf
───────┼──────────────────────────────────────────
1 │ "test" { daily }
───────┴──────────────────────────────────────────
error: stat of test failed: No such file or directory
───────┬──────────────────────────────────────────
│ File: unknown-option.conf
───────┼──────────────────────────────────────────
1 │ some syntax error
───────┴──────────────────────────────────────────
logrotate --debug ok
error: unknown-option.conf:1 unknown option 'some' -- ignoring line
───────┬──────────────────────────────────────────
│ File: unknown-user.conf
───────┼──────────────────────────────────────────
1 │ su notauser notagroup
───────┴──────────────────────────────────────────
error: unknown-user.conf:1 unknown user 'notauser'
In particular note that logrotate would not error on unknown option
(it just ignores the line) but this change makes the check fail.
|
|
using freeform is the new standard way of using modules and should replace
extraConfig.
In particular, this will allow us to place a condition on mails
|
|
having pkgs.logrotate depend on mailutils brings in quite a bit of dependencies
through mailutil itself and recursive dependency to guile when most people
do not need it.
Remove mailutils dependency from the package, and conditionally add it to the
service if the user specify the mail option either at top level or in a path
Fixes #162001
|
|
|
|
cURL always exits with `0` even when the HTTP response codes are above
400, leading to false-positive test results.
|
|
Gitlab automatically creates a repository, taking away the project
id=1.
|
|
Due to an incorrect shell escape the Authorization Bearer Token was not
present in the cURL request headers.
|
|
nixosTest: remove `machine` syntax sugar
|
|
helsinki-systems/feat/systemd-manager-environment
nixos/systemd: Switch to ManagerEnvironment=
|
|
botamusique: use nodejs-14_x
|
|
|
|
This accomplishes multiple things:
- Allows us to start systemd without stage-2-init.sh. This was not
possible before because the environment would have been wrong
- `systemctl daemon-reexec` also changes the environment, giving us
newer tools for the fs packages
- Starts systemd in a fully clean environment, making everything more
consistent and pure
|
|
Since pyradio 1.0 the library does a DNS lookup on import, so we add the
required hostname into /etc/hosts to satisfy that lookup.
|
|
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
|
|
|
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
|
|
|
|
|
|
GNOME Terminal is no longer installed by default,
breaking the tests that depend on it.
Let’s re-add it for now to unbreak them.
|
|
We can perform most of the mkdir/ln/rm using systemd-tmpfiles
instead which cleans up the script.
/bin and /home are created by their activation script snippets
usbfs is deprecated and unused.
hwclock seems to be automatically executed by systemd on startup.
The mkswap to prevent hibernation cycles seems to be executed by systemd
as well since the provided regression tests succeeds.
|