about summary refs log tree commit diff
path: root/nixos/modules
AgeCommit message (Collapse)AuthorFilesLines
2018-12-27Merge pull request #51294 from eadwu/nvidia_x11/legacy_390Dmitry Kalinkin1-0/+2
nvidia: expose nvidia_x11_legacy390
2018-12-27nixos/security/misc: expose SMT control optionJoachim Fasting2-0/+32
For the hardened profile disable symmetric multi threading. There seems to be no *proven* method of exploiting cache sharing between threads on the same CPU core, so this may be considered quite paranoid, considering the perf cost. SMT can be controlled at runtime, however. This is in keeping with OpenBSD defaults. TODO: since SMT is left to be controlled at runtime, changing the option definition should take effect on system activation. Write to /sys/devices/system/cpu/smt/control
2018-12-27nixos/security/misc: expose l1tf mitigation optionJoachim Fasting2-0/+41
For the hardened profile enable flushing whenever the hypervisor enters the guest, but otherwise leave at kernel default (conditional flushing as of writing).
2018-12-27nixos/security/misc: factor out protectKernelImageJoachim Fasting2-6/+17
Introduces the option security.protectKernelImage that is intended to control various mitigations to protect the integrity of the running kernel image (i.e., prevent replacing it without rebooting). This makes sense as a dedicated module as it is otherwise somewhat difficult to override for hardened profile users who want e.g., hibernation to work.
2018-12-27nixos/security/misc: use mkMerge for easier extensionJoachim Fasting1-11/+13
2018-12-26nixos/sd-image-aarch64-new-kernel: Added to releaseSamuel Dionne-Riel1-0/+7
This, paired with the previous commit, ensures the channel won't be held back from a kernel upgrade and a non-building sd image, while still having a new-kernel variant available.
2018-12-26nixos/sd-image-aarch64: Configures it to use the default kernelSamuel Dionne-Riel1-1/+0
2018-12-25Merge pull request #52592 from worldofpeace/geoclue/correct-sysconfworldofpeace1-0/+2
geoclue2: correct sysconfdir
2018-12-25geoclue2: correct sysconfdirworldofpeace1-0/+2
2018-12-24Merge pull request #50596 from svanderburg/mobile-updatesSander van der Burg1-2/+1
Mobile updates
2018-12-24Merge pull request #51566 from adisbladis/google-osloginzimbatm5-30/+105
GCE OSLogin module: init
2018-12-23nixos/vdr: don't delete recordingsJörg Thalheim1-1/+1
2018-12-23Merge pull request #52686 from Mic92/vdrJörg Thalheim2-0/+72
vdr: revisited version of https://github.com/NixOS/nixpkgs/pull/32050
2018-12-22Add IPFS warningEmery Hemingway1-1/+1
2018-12-22nixos/vdr: create video directory automaticallyJörg Thalheim1-1/+5
2018-12-22vdr: initial at 2.4.0 and nixos moduleChristian Kögler2-0/+68
used same plugin mechanism as kodi does
2018-12-22nixos/displayManager: only install wayland sessions if they exist in ↵worldofpeace1-2/+5
extraSessionFilePackages Not everyone is using wayland just yet.
2018-12-21nixos/modules/virtualisation/google-compute-config.nix: remove ↵Florian Klink1-27/+1
google-accounts-daemon Use googleOsLogin for login instead. This allows setting users.mutableUsers back to false, and to strip the security.sudo.extraConfig. security.sudo.enable is default anyhow, so we can remove that as well.
2018-12-21config.nsswitch: load cache_oslogin and oslogin nss modules if ↵Florian Klink1-3/+5
config.security.googleOsLogin.enable is set
2018-12-21config.security.googleOsLogin: add moduleFlorian Klink2-0/+69
The OS Login package enables the following components: AuthorizedKeysCommand to query valid SSH keys from the user's OS Login profile during ssh authentication phase. NSS Module to provide user and group information PAM Module for the sshd service, providing authorization and authentication support, allowing the system to use data stored in Google Cloud IAM permissions to control both, the ability to log into an instance, and to perform operations as root (sudo).
2018-12-21security.pam.services.<name?>.: add ↵Florian Klink1-0/+30
googleOsLogin(AccountVerification|Authentication)
2018-12-21security.pam: make pam_unix.so required, not sufficientFlorian Klink1-1/+1
Having pam_unix set to "sufficient" means early-succeeding account management group, as soon as pam_unix.so is succeeding. This is not sufficient. For example, nixos modules might install nss modules for user lookup, so pam_unix.so succeeds, and we end the stack successfully, even though other pam account modules might want to do more extensive checks. Other distros seem to set pam_unix.so to 'required', so if there are other pam modules in that management group, they get a chance to do some validation too. For SSSD, @PsyanticY already added a workaround knob in https://github.com/NixOS/nixpkgs/pull/31969, while stating this should be the default anyway. I did some thinking in what could break - after this commit, we require pam_unix to succeed, means we require `getent passwd $username` to return something. This is the case for all local users due to the passwd nss module, and also the case for all modules installing their nss module to nsswitch.conf - true for ldap (if not explicitly disabled) and sssd. I'm not so sure about krb5, cc @eqyiel for opinions. Is there some nss module loaded? Should the pam account module be placed before pam_unix? We don't drop the `security.pam.services.<name?>.sssdStrictAccess` option, as it's also used some lines below to tweak error behaviour inside the pam sssd module itself (by changing it's 'control' field). This is also required to get admin login for Google OS Login working (#51566), as their pam_oslogin_admin accounts module takes care of sudo configuration.
2018-12-20Merge pull request #51813 from samueldr/aarch64/disable-non-arm-builds-part-1Samuel Dionne-Riel1-0/+1
aarch64: ZHF for aarch64 (1/??)
2018-12-20Remove relatedPackages to fix ofborg evaluationSander van der Burg1-1/+0
2018-12-20Merge pull request #52345 from r-ryantm/auto-update/clickhouseMaximilian Bosch1-0/+5
clickhouse: 18.14.9 -> 18.14.18
2018-12-20clickhouse: fix module and package runtimeMaximilian Bosch1-0/+5
Although the package itself builds fine, the module fails because it tries to log into a non-existant file in `/var/log` which breaks the service. Patching to default config to log to stdout by default fixes the issue. Additionally this is the better solution as NixOS heavily relies on systemd (and thus journald) for logging. Also, the runtime relies on `/etc/localtime` to start, as it's not required by the module system we set UTC as sensitive default when using the module. To ensure that the service's basic functionality is available, a simple NixOS test has been added.
2018-12-19shairport-sync: don't daemonizeJeremy Apthorp1-1/+1
This flag causes the shairport-sync server to attempt to daemonize, but it looks like systemd is already handling that. With the `-d` argument, shairport-sync immediately exits—it seems that something (systemd I'm guessing?) is sending it SIGINT or SIGTERM. The [upstream systemd unit](https://github.com/mikebrady/shairport-sync/blob/master/scripts/shairport-sync.service.in#L10) doesn't pass `-d`.
2018-12-18Merge pull request #52485 from pablode/masterMaximilian Bosch1-4/+4
nixos/oh-my-zsh: fix wrong manual information
2018-12-18Fix adb program moduleSander van der Burg1-2/+2
2018-12-18nixos/oh-my-zsh: fix wrong manual informationPablo Delgado Krämer1-4/+4
Manual still refers to 'programs.ohMyZsh' although it should be 'programs.zsh.ohMyZsh'.
2018-12-18Merge pull request #52458 from tadfisher/emacs-bash-promptJörg Thalheim1-1/+6
nixos/bash: Fix prompt regression in Emacs term mode
2018-12-18Merge pull request #47297 from greydot/bladerfmarkuskowa2-0/+29
Introduce hardware/bladeRF module
2018-12-18nixos/hardware/bladeRF: init at 2.0.2Lana Black2-0/+29
This allows to easily enable bladerf-related udev rules with nixos configuration.
2018-12-17Merge pull request #51397 from samueldr/feature/aarch64-uefiSamuel Dionne-Riel1-26/+52
installer: Adds AArch64 UEFI installer support. (Work towards SBBR and EBBR support)
2018-12-17nixos/bash: Fix prompt regression in Emacs term modeTad Fisher1-1/+6
2018-12-18nixos: add XDG sounds moduleMichael Peyton Jones2-0/+23
2018-12-18Merge pull request #51520 from michaelpj/imp/appstreamJan Tojnar2-0/+26
nixos: add AppStream module
2018-12-17Merge pull request #52168 from cdepillabout/add-bluezFull-packageSilvan Mosberger1-1/+6
Add bluez full package
2018-12-17prosody service: set cafileSatoshi Shishiku1-0/+1
Fix s2s_secure_auth.
2018-12-16owncloud: remove serverFlorian Klink1-608/+0
pkgs.owncloud still pointed to owncloud 7.0.15 (from May 13 2016) Last owncloud server update in nixpkgs was in Jun 2016. At the same time Nextcloud forked away from it, indicating users switched over to that. cc @matej (original maintainer)
2018-12-16apache-httpd/limesurvey.nix: fix copypasta from owncloudFlorian Klink1-1/+1
2018-12-16Merge pull request #51053 from Ma27/draft-nextcloud-module-docsFlorian Klink2-0/+101
nixos/nextcloud: add basic module documentation and warn about current upgrading issues
2018-12-15nixos/nm-setup-hostsdir: RemainAfterExist -> RemainAfterExitRickard Nilsson1-1/+1
2018-12-15Add explanation of using the bluezFull package in nixos documentation.(cdep)illabout1-1/+6
2018-12-14Merge pull request #51624 from dasJ/slapd-logFlorian Klink1-1/+8
nixos/openldap: Support configuring the log level
2018-12-13nixos/lightdm: Fix spelling of option in docsElis Hirwing1-1/+1
2018-12-13nixos/sddm: Fix spelling of option in docsElis Hirwing1-1/+1
2018-12-13nixos/openldap: Support configuring the log levelJanne Heß1-1/+8
2018-12-12installer: Adds AArch64 UEFI installer support.Samuel Dionne-Riel1-26/+52
2018-12-12Merge pull request #50316 from arianvp/fix-dynamic-userJörg Thalheim3-42/+29
Disable nscd caching