Age | Commit message (Collapse) | Author | Files | Lines |
|
nixos/tests: only apply qemu parameters if the options are defined
|
|
nixos/syncoid: automatically setup privilege delegation
|
|
This fixes an eval error that occurred on hydra with the small channel
and the `nixos.tests.boot.biosCdrom.x86_64-linux` attribute:
> $ nix-instantiate nixos/release-small.nix -A nixos.tests.boot.biosCdrom.x86_64-linux
> warning: unknown setting 'experimental-features'
> error: The option `virtualisation.qemu' does not exist. Definition values:
> - In `/home/andi/dev/nixos/nixpkgs/nixos/modules/testing/test-instrumentation.nix':
> {
> consoles = [ ];
> package = {
> _type = "override";
> content = <derivation /nix/store/q72h2cdcb9zjgiay5gdgzwddjkbjr7xq-qemu-host-cpu-only-for-vm-tests-5.1.0.drv>;
> ...
> (use '--show-trace' to show detailed location information)
In bc2188b we changed test test-instrumentation to also set the QEMU
package that is being used. That change unfortunately caused us to
always assing values to the virtualisation.qemu.package option even when
the option is not defined. The original code was explicitly testing for
the consoles case but the then newly extended version did not adjust the
check as the intention was probably not clear.
With this commit we are always ensuring the entire virtualisation.qemu
section exists and can thus drop the individual tests for each of the
sections since the QEMU module always defines both the package and the
consoles option when it's root is defined..
|
|
|
|
|
|
nixos/powerdns: use upstream systemd unit
|
|
treewide: De-inline uses of lib.boolToString
|
|
If set, then issue a warning instead of an error as previously.
|
|
|
|
nixos/lightdm: make lightdm user shell bash
|
|
nixos/tools: add desktopConfiguration option (to seed configuration into configuration.nix)
|
|
In https://github.com/NixOS/nixpkgs/issues/100119 pantheon's greeter
has g-s-d running which allows brightness controls via pkexec.
This is changed in newer versions of g-s-d (pantheon uses a fork currently),
but whenever brightness is changed with a shell of `shadow` we get
```
Oct 10 23:51:44 kirXps pkexec[18722]: lightdm: Executing command [USER=root] [TTY=unknown] [CWD=/var/lib/lightdm] [COMMAND=/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight 65587]
```
I'm not sure this should be strictly needed, so we should try to
revert later on when pantheon's g-s-d is updated.
|
|
nixos/nixos-build-vms: use `pkgs.qemu` for virtualisation
|
|
|
|
|
|
Add rtl_433 Prometheus exporter
|
|
|
|
|
|
|
|
|
|
nixos/display-managers: add sessionData.desktops to XDG_DATA_DIRS
|
|
When I test a change e.g. in the module system manually, I usually use
`nixos-build-vms(8)` which also gives me a QEMU window where I can play
around in the freshly built VM.
It seems as this has changed recently when the default package for
non-interactive VM tests using the same framework was switched to
`pkgs.qemu_test` to reduce the closure size. While this is a reasonable
decision for our CI tests, I think that you really want a QEMU window of
the VM by default when using `nixos-build-vms(8)`.
[1] bc2188b083dfbbe749a221023e2960b60d4c8951
|
|
|
|
|
|
nixos/sshd: update kexAlgorithms, fix links
|
|
hydra-unstable: 2020-09-02 -> 2020-10-20
|
|
nixos: fix qemu_test being used in normal VMs
|
|
and document
|
|
Fixes #100108
Alternative to https://github.com/NixOS/nixpkgs/pull/100112 which doesn't break stuff.
|
|
This should NOT be backported to 20.09!
When 21.03 is released, the DB changes are about a year old and
operators had two release cycles for the upgrade. At this point it
should be fair to remove the compat layer to reduce the complexity of
the module itself.
|
|
This is an attempt to fixup PR #49403.
|
|
qemu_test: disable features that are not needed for tests (closure 641 -> 335.3M)
|
|
The `curve25519-sha256` key exchange method is defined in RFC 8731 that
is identical to curve25519-sha256@libssh.org. OpenSSH supports the
method since version 7.4, released on 2016-12-19. It is literally a
violation of the "both in Secure Secure Shell and Mozilla guidelines"
rule, but it provides essentially the same but a future-proof default.
Also, links to the Mozilla OpenSSH guidelines are updated to refer to
the current place.
Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
|
|
networkmanager-sstp: init at unstable-2020-04-20, bump sstp from 1.0.12 to 1.0.13
|
|
|
|
|
|
nixos/jellyfin: add some systemd security options
|
|
|
|
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
|
|
nixos/pam_mount: add pamMount attribute to users
|
|
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
|
|
nixos/jenkins: switch to openjdk11 as openjdk14 is not supported
|
|
This reduces the closure size for the minimal test by a lot since we no
longer have to build the regular QEMU for even the simplest test.
|
|
|
|
nixos/pdns-recursor: use upstream systemd unit
|
|
|
|
|
|
nixos/nginx: Do not remove headers while proxying
|
|
|
|
|