about summary refs log tree commit diff
path: root/nixos
Commit message (Collapse)AuthorAge
* Merge pull request #34350 from Ma27/fix-powermanagement-defaultFranz Pletz2018-01-28
|\ | | | | nixos/powerManagement: set `cpuFreqGovernor` with `mkOptionDefault`
| * nixos/powerManagement: set `cpuFreqGovernor` with `mkOptionDefault`Maximilian Bosch2018-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `nixos-generate-config` detects the `cpuFreqGovernor` suited best for my machine, e.g. `powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";`. However the `powerManagement` module sets a sensitive default for `cpuFreqGovernor` using `mkDefault` to avoid breackage with older setups. Since 140ac2f1 the `hardware-configuration.nix` sets the gorvernor with `mkDefault` as well which causes evaluation errors if the powermanagement module is enabled: ``` error: The unique option `powerManagement.cpuFreqGovernor' is defined multiple times, in `/home/ma27/Projects/nixos-config/hardware-configuration.nix' and `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/config/power-management.nix'. ``` Using `mkOptionDefault` rather than `mkDefault` in the powermanagement module fixes this issue as it decreases the priority of the module and prefers the value set in `hardware-configuration.nix`. I have confirmed the change using the following VM declaration: ``` { cpuFreq = { lib, ... }: { powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.enable = true; }; } ```
* | nixos/containers: Enable use of the network.useHostResolvConf option (#34354)Jesper2018-01-28
|/
* samba4/sambaMaster: Modify services to align with Samba project usageLuke Adams2018-01-26
|
* nixos/tests: Fix statsd test evaluationTuomas Tynkkynen2018-01-26
| | | | | | Fixes: error: anonymous function at nixos/tests/statsd.nix:1:25 called with unexpected argument ‘system’, at nixos/tests/make-test.nix:5:41
* Merge pull request #34060 from WilliButz/fix-postfix-moduleFranz Pletz2018-01-26
|\ | | | | nixos/postfix: fix default postfix config
| * release notes: mention the postfix config option fixFranz Pletz2018-01-26
| | | | | | | | cc #34060
| * nixos/postfix: separate list option elements with commasFranz Pletz2018-01-26
| |
| * nixos/postfix: fix default postfix configWilliButz2018-01-24
| | | | | | | | | | | | | | `services.postfix.config` is now correctly merged with the default attrset specified in the module. Some options that are lists in postfix also have to be lists in nix to be merged correctly. Other default options are now set with `mkDefault` so they can be overridden via the module system.
* | addPassthru: fix argument orderOrivej Desh2018-01-24
|/ | | | | | addPassthru became unused in #33057, but its signature was changed at the same time. This commit restores the original signature and updates the warning and the changelog.
* nixos/sd-image-*.nix: Bring back high consoleLogLevelTuomas Tynkkynen2018-01-24
| | | | | 3d040f93051866 removed it from installation-device.nix, but the default loglevel is just too low for ARM and the like.
* nixos/sd-image-aarch64.nix: Set avoid_warnings in RPi config.txtTuomas Tynkkynen2018-01-24
| | | | Also add some comments on the existing config settings as well.
* nixos/release.nix: Use callSubTestsOnTheseSystems for ec2 testsTuomas Tynkkynen2018-01-23
|
* nixos/release.nix: Introduce callSubTestsOnTheseSystemsTuomas Tynkkynen2018-01-23
| | | | | | | | | | | | | | | | | | | The existing callSubTests seems to already have special-cased code to allow enabling subtests on a single specific system by looking at the `system` attribute in the test arguments. Replace it with a new version similar to the callTestOnTheseSystems because: - It's consistent with the existing functions for creating system-specific tests (though admittedly, the callSubTests special case for `system` predates them) - This approach allows limiting to multiple system types, the previous one inherently allows only one system type. - This also fixes the problem that if you pass in e.g. supportedSystems = [ "aarch64-linux" ], you end up with a tests.chromium job that silently runs on x86_64-linux. - Finally, this causes renames of the jobs like: tests.chromium -> tests.chromium.x86_64-linux to be consistent with the rest of the tests.
* Merge pull request #34052 from volth/patch-86Jörg Thalheim2018-01-22
|\ | | | | nixos/libvirtd: add qemu-img to $PATH of the daemon
| * nixos/libvirtd: add qemu-img to $PATH of the daemonvolth2018-01-19
| | | | | | ...because daemon's $PATH does not include "/run/current-system/sw/bin"
* | nixos/initrd: Don't include some x86-specific modules unconditionallyTuomas Tynkkynen2018-01-22
| |
* | nixos/make-disk-image.nix: Support EFI imagesTuomas Tynkkynen2018-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a new parameter `imageType` that can specify either "efi" or "legacy" (the default which should see no change in behaviour by this patch). - EFI images get a GPT partition table (instead of msdos) with a mandatory ESP partition (so we add an assert that `partitioned` is true). - Use the partx tool from util-linux to determine exact start + size of the root partition. This is required because GPT stores a secondary partition table at the end of the disk, so we can't just have mkfs.ext4 create the filesystem until the end of the disk. - (Unrelated to any EFI changes) Since we're depending on the `-E offset=X` option to mkfs which is only supported by e2fsprogs, disallow any attempts of creating partitioned disk images where the root filesystem is not ext4.
* | nixos manual: fix typoRommel Martinez2018-01-22
| |
* | Merge pull request #34128 from teto/doc_simpleGraham Christensen2018-01-21
|\ \ | | | | | | Doc: simple precisions
| * | doc: add wpa_supplicant command to connect to wifiMatthieu Coudron2018-01-22
| | | | | | | | | | | | | | | | | | New thin laptops don't have an ethernet port and so rely on wifi to get access. With the minimal installer, setup wpa_supplicant can be hard if it is the first time so here we provide an example.
| * | environment.variables: give an exampleMatthieu Coudron2018-01-22
| | |
| * | zsh doc: precise environment.shellAliasesMatthieu Coudron2018-01-22
| | |
* | | nixos/initrd-network: fix docbook syntaxJörg Thalheim2018-01-22
| | |
* | | initrd-network: Document the need for modulesSvein Ove Aas2018-01-21
| | |
* | | nixos/stunnel: add module (#33151)Leon Schuermann2018-01-21
| | |
* | | Merge pull request #33842 from mimadrid/fix/resilio-syncSarah Brofeldt2018-01-21
|\ \ \ | |/ / |/| | resilio-sync: fixed typo knownHosts -> entry.knownHosts
| * | resilio-sync: fixed typo knownHosts -> entry.knownHostsMiguel Madrid Mencía2018-01-13
| | |
* | | Merge #33600: xfce: cleanup, hyphenate attributesVladimír Čunát2018-01-21
|\ \ \
| * | | nixos/xfce: clean up, use hyphenated attributesYegor Timoshenko2018-01-08
| | | |
* | | | Merge pull request #33331 from cransom/netdata-moduleJörg Thalheim2018-01-19
|\ \ \ \ | |_|_|/ |/| | | netdata service: fix permissions for apps.plugin
| * | | netdata service: fix permissions for apps.pluginCasey Ransom2018-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apps.plugin requires capabilities for full process monitoring. with 1.9.0, netdata allows multiple directories to search for plugins and the setuid directory can be specified here. the module is backwards compatible with older configs. a test is included that verifies data gathering for the elevated privileges. one additional attribute is added to make configuration more generic than including configuration in string form.
* | | | Merge pull request #28882 from jtojnar/chrome-gnome-shellJan Tojnar2018-01-19
|\ \ \ \ | | | | | | | | | | chrome-gnome-shell: refactor
| * | | | nixos/chrome-gnome-shell: initJan Tojnar2018-01-13
| | | | |
* | | | | nixos/release.nix: More refactoring for multi-archTuomas Tynkkynen2018-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, even if you pass supportedSystems = [ "aarch64-linux" ] you end up with e.g. `nixos.tests.docker` which actually silently runs on x86_64-linux. Using the new callTestOnTheseSystems fixes that. As a side-effect, this also causes a rename of `nixos.tests.docker` -> `nixos.tests.docker.x86_64-linux`, which is IMHO a good thing since it's makes them consistent with the rest of the tests.
* | | | | nixos/release.nix: Add preferLocalBuild to makeNetboot resultTuomas Tynkkynen2018-01-19
| | | | |
* | | | | nixos/release.nix: Clean some syntaxTuomas Tynkkynen2018-01-19
| | | | |
* | | | | sshd: provide option to disable firewall alteringLeon Schuermann2018-01-18
| | | | |
* | | | | Merge pull request #33423 from AmineChikhaoui/gce-ssh-keysRob Vermaas2018-01-18
|\ \ \ \ \ | | | | | | | | | | | | Fix ssh keys retrieval in GCE instances
| * | | | | Fixes https://github.com/NixOS/nixops/issues/756.AmineChikhaoui2018-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seems the google compute metadata service behavior changed a bit recently which caused this issue ? see: https://cloud.google.com/compute/docs/storing-retrieving-metadata
* | | | | | sudo: define extra rules in Nix language (#33905)Leon Schuermann2018-01-17
| | | | | |
* | | | | | nixos/mighttpd2: initFrancesco Gazzetta2018-01-16
| | | | | |
* | | | | | oh-my-zsh module: reword & fix manual buildRobin Gloster2018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docbook interpreted this as a tag and this sounded as if the option defaulted to putting the cached directory into the nix store. cc @Ma27 @fpletz
* | | | | | Merge pull request #33749 from dezgeg/release-refactor-1John Ericson2018-01-16
|\ \ \ \ \ \ | | | | | | | | | | | | | | nixos/release.nix: Refactoring for better multi-system support
| * | | | | | nixos/release.nix: Use forTheseSystems from release-libTuomas Tynkkynen2018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, even if you pass `supportedSystems = [ "aarch64-linux" ]` you end up with e.g. `nixos.iso_graphical.x86_64-linux` job. Using forTheseSystems from release-lib avoids that. This shouldn't affect the usual x86 trunk-combined jobset.
| * | | | | | nixos/release.nix: Move forAllSystems to release-libTuomas Tynkkynen2018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's already a similar forTheseSystems in release-lib, so be more consistent.
* | | | | | | programs.zsh.ohMyZsh: add `cacheDir` option (#33150)Maximilian Bosch2018-01-16
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | The default cache directory set by oh-my-zsh is $ohMyZsh/cache which lives in the Nix store in our case. This causes issues with several completion plugins provided by oh-my-zsh.
* | | | | | Merge pull request #33915 from lheckemann/remove-amd-hybrid-graphicsJörg Thalheim2018-01-16
|\ \ \ \ \ \ | | | | | | | | | | | | | | amd-hybrid-graphics module: remove
| * | | | | | amd-hybrid-graphics module: removeLinus Heckemann2018-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was only applicable to very specific hardware, and the only person with an apparent interest in maintaining it (me) no longer uses the hardware in question.
* | | | | | | Merge pull request #33890 from lschuermann/openvpn-auth-user-passJörg Thalheim2018-01-16
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | openvpn: add option to store credentials