about summary refs log tree commit diff
path: root/nixos/modules
AgeCommit message (Collapse)AuthorFilesLines
2020-10-25Merge pull request #101645 from andir/qemu-tests-fixupMaximilian Bosch1-9/+15
nixos/tests: only apply qemu parameters if the options are defined
2020-10-25Merge pull request #79759 from lopsided98/syncoid-no-rootBenjamin Hipple1-4/+48
nixos/syncoid: automatically setup privilege delegation
2020-10-25nixos/tests: only apply qemu parameters if the options are definedAndreas Rammhold1-9/+15
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..
2020-10-25nixos/mosquitto: add passwordFile and hashedPasswordFile optionsFelix Tenley1-2/+34
2020-10-25Merge pull request #101409 from rycee/dbus-warningGabriel Ebner1-8/+18
2020-10-24Merge pull request #100063 from aanderse/nixos/powerdnsAaron Andersen1-21/+19
nixos/powerdns: use upstream systemd unit
2020-10-25Merge pull request #100456 from maralorn/boolToStringAndreas Rammhold7-10/+10
treewide: De-inline uses of lib.boolToString
2020-10-24nixos/dbus: re-add a dummy socketActivated optionRobert Helgesson1-8/+18
If set, then issue a warning instead of an error as previously.
2020-10-24nixos/powerdns: use upstream systemd unitAaron Andersen1-21/+19
2020-10-24Merge pull request #101563 from worldofpeace/fix-pantheon-greeter-brightnessWORLDofPEACE1-0/+1
nixos/lightdm: make lightdm user shell bash
2020-10-24Merge pull request #100199 from worldofpeace/seeded-configWORLDofPEACE4-43/+77
nixos/tools: add desktopConfiguration option (to seed configuration into configuration.nix)
2020-10-24nixos/lightdm: make lightdm user shell bashWORLDofPEACE1-0/+1
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.
2020-10-24Merge pull request #101473 from Ma27/nixos-build-vms-qemuMaximilian Bosch2-2/+7
nixos/nixos-build-vms: use `pkgs.qemu` for virtualisation
2020-10-24Merge pull request #101480 from Flakebi/saltDoron Behar1-1/+1
2020-10-24Merge pull request #93725 from nglen/pipewireJan Tojnar1-4/+68
2020-10-23Merge pull request #96511 from Zopieux/rtl_433_promWilliButz4-0/+102
Add rtl_433 Prometheus exporter
2020-10-23pipewire: cleanup path testingNathaniel Glen1-1/+1
2020-10-23nixos/prometheus-rtl_433-exporter: new moduleAlexandre Macabies2-0/+81
2020-10-23nixos/pipewire: cleanup moduleNathaniel Glen1-30/+23
2020-10-23salt: remove aneeshusa and add Flakebi as maintainerFlakebi1-1/+1
2020-10-23Merge pull request #101274 from worldofpeace/gnome-logout-buttonWORLDofPEACE1-0/+6
nixos/display-managers: add sessionData.desktops to XDG_DATA_DIRS
2020-10-23nixos/nixos-build-vms: use `pkgs.qemu` for virtualisationMaximilian Bosch2-2/+7
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
2020-10-22nixos/ssmtp: minor typo fixJoe Edmonds1-1/+1
2020-10-22nix: 2.3.7 -> 2.3.8Eelco Dolstra1-4/+4
2020-10-22Merge pull request #101222 from omasanori/ssh-kexMaximilian Bosch1-3/+4
nixos/sshd: update kexAlgorithms, fix links
2020-10-22Merge pull request #98973 from Ma27/bump-hydraEelco Dolstra1-31/+2
hydra-unstable: 2020-09-02 -> 2020-10-20
2020-10-22Merge pull request #101246 from rnhmjoj/vm-fixAndreas Rammhold2-2/+14
nixos: fix qemu_test being used in normal VMs
2020-10-21nixos/sslh: fix usage of the now removed ssl probe (#101087)symphorien1-1/+1
and document
2020-10-21nixos/display-managers: add sessionData.desktops to XDG_DATA_DIRSWORLDofPEACE1-0/+6
Fixes #100108 Alternative to https://github.com/NixOS/nixpkgs/pull/100112 which doesn't break stuff.
2020-10-21nixos/hydra: remove hydra-migration upgrade pathMaximilian Bosch1-31/+2
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.
2020-10-21nixos: fix qemu_test being used in normal VMsrnhmjoj2-2/+14
This is an attempt to fixup PR #49403.
2020-10-21Merge pull request #49403 from andir/qemu_test_reduce_closureAndreas Rammhold2-1/+10
qemu_test: disable features that are not needed for tests (closure 641 -> 335.3M)
2020-10-21nixos/sshd: update kexAlgorithms, fix linksMasanori Ogino1-3/+4
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>
2020-10-21Merge pull request #100657 from flokli/network-manager-sstpFlorian Klink2-1/+6
networkmanager-sstp: init at unstable-2020-04-20, bump sstp from 1.0.12 to 1.0.13
2020-10-21nixos/no-x-libs: add networkmanager-sstpFlorian Klink1-1/+2
2020-10-21networkmanager-sstp: init at unstable-2020-04-20Florian Klink1-0/+4
2020-10-20Merge pull request #98176 from minijackson/jellyfin-systemd-securityKevin Cox1-0/+40
nixos/jellyfin: add some systemd security options
2020-10-20nixos/jellyfin: add some systemd security optionsMinijackson1-0/+40
2020-10-20nixos/vagrant-virtualbox-image: init (#101120)Joseph D. Long2-0/+118
Co-authored-by: zimbatm <zimbatm@zimbatm.com> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-10-20Merge pull request #100554 from dnr/feature/pamMountJörg Thalheim2-2/+24
nixos/pam_mount: add pamMount attribute to users
2020-10-19nixos/initrd-network: fix /etc/resolv.conf when multiple dns servers from DHCPMarc 'risson' Schmitt1-2/+2
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2020-10-19Merge pull request #99541 from acelpb/jenkinsJörg Thalheim1-3/+3
nixos/jenkins: switch to openjdk11 as openjdk14 is not supported
2020-10-19nixos/tests: make sure we use the qemu_test package to provide the Guest AgentAndreas Rammhold1-0/+4
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.
2020-10-19nixos/qemu-guest-agent: make the QEMU guest agent package configurableAndreas Rammhold1-1/+6
2020-10-18Merge pull request #100892 from aanderse/pdns-recursorAaron Andersen2-32/+14
nixos/pdns-recursor: use upstream systemd unit
2020-10-18nixos/nvidia: fix optionals usageJonathan Ringer1-1/+1
2020-10-18nixos/nvidia: decouple nvidia_x11.persistencedEdmund Wu1-1/+1
2020-10-18Merge pull request #100708 from fooker/nginx-encodingMartin Weinelt1-1/+0
nixos/nginx: Do not remove headers while proxying
2020-10-18nixos/pdns-recursor: declare module user as system userAaron Andersen2-2/+1
2020-10-18nixos/pdns-recursor: use upstream systemd unitAaron Andersen1-31/+14