Commit Graph
100 Commits
Author SHA1 Message Date
Silvan Mosberger e3c5d299dc Merge pull request #78373 from serokell/yorickvp/buildkites
nixos/buildkite-agents: support multiple buildkite agents
2020-02-10 14:39:40 +01:00
Silvan Mosberger cb1f1b4260 nixos/sudo: Fix extraRules example rendering 2020-02-10 01:37:07 +01:00
Silvan Mosberger 637bb9fa98 Merge pull request #72060 from lopsided98/sanoid-init
sanoid: add package, NixOS module and test
2020-02-10 01:28:41 +01:00
Silvan Mosberger 6169eef798 Merge pull request #78024 from wamserma/minidlna-interval
minidlna: provide configuration option for announce interval
2020-02-10 01:25:47 +01:00
Silvan Mosberger b9d7f1fe24 Merge pull request #65397 from mmilata/sympa
sympa: init at 6.2.52 + NixOS module
2020-02-10 01:23:45 +01:00
Silvan Mosberger 349b471469 Merge pull request #79297 from arcnmx/pr-firefox-extension-links
firefox: resolve relative nativeMessagingHosts links
2020-02-10 00:15:19 +01:00
Silvan Mosberger 5acd168425 Merge pull request #59827 from oxij/nixos/suppress-systemd-units
nixos/systemd: add an option to suppress system units
2020-02-06 18:11:01 +01:00
Silvan Mosberger 3ab846e34a Merge pull request #35188 from sorki/overlayfs
use overlayfs by default for netboot and iso
2020-02-05 13:46:04 +01:00
Silvan Mosberger c4e912ac79 Merge pull request #79243 from Infinisil/remove-hostresolvconf
nixos/resolvconf: Remove useHostResolvConf option
2020-02-05 00:53:53 +01:00
Silvan Mosberger 97ff64e351 nixos/resolvconf: Remove useHostResolvConf option
Never had any effect
2020-02-05 00:28:32 +01:00
Silvan Mosberger b4cc413928 Merge pull request #77594 from Frostman/fix-grub-extrafiles-mirroredboots
Fix boot.loader.grub.extraFiles when used with mirroredBoots
2020-02-05 00:22:35 +01:00
Silvan Mosberger fc8864b446 Merge pull request #77673 from volth/cpan2nix-2020-01-14
perlPackages: batch update
2020-02-05 00:19:14 +01:00
Silvan Mosberger 5c9198d29e tpm2-pkcs11: init at 1.0.1 (#72374)
tpm2-pkcs11: init at 1.0.1
2020-02-01 18:05:00 +01:00
Silvan Mosberger 0a351c3f65 dockerTools.*: Assertion against building for Darwin (#77952)
dockerTools.*: Assertion against building for Darwin
2020-01-31 21:17:40 +01:00
Silvan Mosberger 8d4509e34d haskell generic-builder: Fix package conf handling
Previously the package conf files were handled without paying attention
to the fact that it's pretty-printed output. One problem was discovered
with GHC 8.8.1 on Darwin, where the dynamic-library-dirs first field
seems to have increased in length, meaning while before it was

    dynamic-library-dirs: some-small-directory-name
                          some-more-directories

Now it is

    dynamic-library-dirs:
        some-larger-directory-name
        some-more-directories

Which breaks the code installed for https://github.com/NixOS/nixpkgs/pull/25537,
because that assumed the former format, resulting in the reoccurence of
the bug in https://github.com/NixOS/nixpkgs/issues/22810, see
https://github.com/Infinisil/all-hies/issues/43

This commit fixes this by "unprettyfying" the package conf files before
processing them.

Closes https://github.com/NixOS/nixpkgs/pull/78738.
2020-01-31 21:05:56 +01:00
Silvan Mosberger 2118cddc82 nixos/freeswitch: init (#76821)
nixos/freeswitch: init
2020-01-30 16:45:47 +01:00
Silvan Mosberger 32718c9992 VictoriaMetrics: init at v1.32.5, add module, tests (#78038)
VictoriaMetrics: init at v1.32.5, add module, tests
2020-01-30 14:02:42 +01:00
Silvan Mosberger 766b78841f Don't set background to black if ~/.background-image not prese… (#78346)
Don't set background to black if ~/.background-image not present
2020-01-28 16:42:44 +01:00
Silvan Mosberger 34f020053d Merge pull request #78307 from blanky0230/nixos-tuxedo-keyboard
Nixos tuxedo keyboard
2020-01-27 18:38:09 +01:00
Silvan Mosberger 80a2740991 Merge pull request #78265 from Synthetica9/https-homepages
treewide: fix redirected urls
2020-01-27 15:00:53 +01:00
Silvan Mosberger 3c5add99f6 Merge pull request #78481 from Infinisil/mumble-celt
mumble: Fix PLUGIN_PATH definition so it can find the CELT library
2020-01-26 15:55:27 +01:00
Silvan Mosberger cae1bf667f mumble: Add infinisil as maintainer 2020-01-25 22:05:14 +01:00
Silvan Mosberger 21160c8965 mumble: Fix PLUGIN_PATH definition so it can find the CELT library 2020-01-25 21:51:35 +01:00
Silvan Mosberger 342bc51089 Merge pull request #78358 from serokell/yorickvp/alertmanager-secret
nixos/alertmanager: add environmentFile, envsubst for secrets
2020-01-24 18:48:59 +01:00
Silvan Mosberger 3a4e550944 nixos/amazon-init.nix: add git/tar/gz, fix AMI configuration (#78363)
nixos/amazon-init.nix: add git/tar/gz, fix AMI configuration
2020-01-23 23:05:27 +01:00
Silvan Mosberger 78d83650df nixos/desktop-manager: Don't fall back to black background
Previously if ~/.background-image wasn't present, the background would
be set to black, which would override what the user could
set in e.g. services.xserver.windowManager.i3.extraSessionCommands
2020-01-23 05:01:39 +01:00
Silvan Mosberger a149202c5a nixos/docs: Fix nixos-install --system command (#77719)
nixos/docs: Fix nixos-install --system command
2020-01-23 03:39:38 +01:00
Silvan Mosberger 7a7b8d904b nixos/desktop-managers: Remove needBGPackages thing
This value isn't used since 71a8dbb956
2020-01-23 02:35:01 +01:00
Silvan Mosberger b785f2a98a Merge pull request #65430 from pasqui23/zbd
zsh-bd:init at 2018-07-04
2020-01-21 16:11:56 +01:00
Silvan Mosberger 774e3d8e48 nixos/lib: Inherit type for doRename options (#78135)
nixos/lib: Inherit type for doRename options
2020-01-20 23:15:24 +01:00
Silvan Mosberger cc6d303c16 lib/attrsets: Fix error in comment for getAttrFromPath (#78136)
lib/attrsets: Fix error in comment for getAttrFromPath
2020-01-20 22:57:08 +01:00
Silvan Mosberger 74775d1d72 lib/attrsets: Fix error in comment for getAttrFromPath 2020-01-20 22:42:38 +01:00
Silvan Mosberger 3929a0fbca nixos/traceroute: init (#77953)
nixos/traceroute: init
2020-01-20 22:32:33 +01:00
Silvan Mosberger b6a9211bf4 dockerTools.*: Assertion against building for darwin
Building a docker image with darwin binaries just yields a confusing
error when ran:

  standard_init_linux.go:211: exec user process caused "exec format error"

This change prevents people from building such images in the first place
2020-01-20 19:14:12 +01:00
Silvan Mosberger 0866527ec1 zfsnap: init at 2.0.0-beta3 (#70234)
zfsnap: init at 2.0.0-beta3
2020-01-17 13:40:44 +01:00
Silvan Mosberger 7869cd26b3 iperf3: fix compilation to support authentication creds (#77592)
iperf3: fix compilation to support authentication creds
2020-01-16 22:20:06 +01:00
Silvan Mosberger 5a003383fb pythonPackages.pyTelegramBotAPI: Init at 3.6.6 (#65509)
pythonPackages.pyTelegramBotAPI: Init at 3.6.6
2020-01-16 17:15:16 +01:00
Silvan Mosberger 3c2e9fa53d Merge pull request #77704 from mayflower/also-submodules
lib.commitIdFromGitRepo: fix support for git-submodule
2020-01-16 00:44:46 +01:00
Silvan Mosberger 67373ae389 seafile-shared: 7.0.2 -> 7.0.5, seafile-client: 6.2.11 -> 7.0.5 (#72656)
seafile-shared: 7.0.2 -> 7.0.5, seafile-client: 6.2.11 -> 7.0.5
2020-01-15 23:45:40 +01:00
Silvan Mosberger 94e35fba8e seafile-client: 6.2.11 -> 7.0.5 2020-01-15 23:02:09 +01:00
Silvan Mosberger c1151c1f88 rambox: fix meta (#77782)
rambox: fix meta
2020-01-15 19:24:16 +01:00
Silvan Mosberger fbbe3f9b7e Merge pull request #75172 from ivan/libimobiledevice-bump
libimobiledevice: 2019-04-04 -> 2019-11-29, usbmuxd: 2019-03-05 -> 2019-11-11
2020-01-15 18:31:41 +01:00
Silvan Mosberger 241e9c10ba nixos/docs: Fix nixos-install --system command 2020-01-15 05:39:12 +01:00
Silvan Mosberger 42cc5c233e lib/types: prioritise coercedType in coercedTo (#77691)
lib/types: prioritise coercedType in coercedTo
2020-01-14 19:47:00 +01:00
Silvan Mosberger 8bc64e2bbb gitstatus: patch fewer characters (#77580)
gitstatus: patch fewer characters
2020-01-13 23:53:39 +01:00
Silvan Mosberger 55b0129a14 Merge pull request #76178 from 0x4A6F/master-xandikos
xandikos: add tests and module
2020-01-13 23:48:22 +01:00
Silvan Mosberger 4814a585de Merge pull request #77566 from Infinisil/fix-usbmuxd-loaOf
nixos/usbmuxd: Fix users.groups assignment
2020-01-12 17:19:14 +01:00
Silvan Mosberger d6ad9ce105 nixos/usbmuxd: Fix users.groups assignment
A mistake was introduced in https://github.com/NixOS/nixpkgs/pull/63103
2020-01-12 16:53:27 +01:00
Silvan Mosberger 5239b328f8 lib/types: Introduce lazyAttrsOf (#70138)
lib/types: Introduce lazyAttrsOf
2020-01-10 16:35:25 +01:00
Silvan MosbergerandRobert Hensing 4268b4f9cf lib/types: Add emptyValue attribute to types
Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
2020-01-10 16:19:54 +01:00
Silvan Mosberger 092107cdc1 lib/tests: Fix module tests
Fix the broken test in https://github.com/NixOS/nixpkgs/pull/77416

Apparently hydra uses `nix-build lib/tests/release.nix` to run all
tests, where IFD isn't allowed. Fortunately we can get around this with
builtins.toFile, which doesn't require IFD, but still can test the
properties we want.
2020-01-10 16:02:36 +01:00
Silvan Mosberger 91da4b3c5d Fix store imports from NixOS modules (#77416)
Fix store imports from NixOS modules
2020-01-10 04:45:33 +01:00
Silvan Mosberger 2955e6bd26 lib/tests: Add test case for imports from derivations 2020-01-10 04:13:28 +01:00
Silvan Mosberger e0ea5f4d9b lib/modules: Fix store imports
This fixes imports from the store not being possible, which was caused by
https://github.com/NixOS/nixpkgs/pull/76857

E.g. such a case:

  imports = [ "${home-manager}/nixos" ];
2020-01-10 04:13:28 +01:00
Silvan Mosberger e9c16ec186 Merge pull request #76857 from Infinisil/recursive-disableModules
Apply `disabledModules` recursively
2020-01-09 18:20:12 +01:00
Silvan Mosberger a6462a4a8b nixos/doc: Extend disabledModules docs to indicate recursive disabling 2020-01-09 17:26:08 +01:00
Silvan Mosberger b89b23b6b2 lib/tests: Add tests for recursive disabledModules 2020-01-09 17:26:08 +01:00
Silvan Mosberger 7167985e34 nixos/documentation: Fix disabledModules being rendered
Previously disabledModules would not be disabled for the manual
2020-01-09 17:26:08 +01:00
Silvan Mosberger de5f73d434 lib/modules: Recursive disabledModules
With this change, disabledModules applies recursively, meaning if you
have a module "foo.nix" with

    imports = [ ./bar.nix ];

then setting

  disabledModules = [ "foo.nix" ];

will disable both "foo.nix" and "bar.nix", whereas previously only
"foo.nix" would be disabled.

This change along with https://github.com/NixOS/nixpkgs/pull/61570 allows
modules to be fully disabled even when they have some `mkRenamedOption`
imports.
2020-01-09 17:26:05 +01:00
Silvan MosbergerandRobert Hensing 9d4b59b549 nixos/doc: Add incompatibility note for either submodule path
Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
2020-01-09 16:47:53 +01:00
Silvan Mosberger 1b28e47ae1 xorg.xf86-video-intel: 2018-12-03 -> 2019-12-09 (#75852)
xorg.xf86-video-intel: 2018-12-03 -> 2019-12-09
2020-01-09 03:44:32 +01:00
Silvan Mosberger 6525da6321 lib/types: Allow paths as submodule values 2020-01-08 23:54:45 +01:00
Silvan Mosberger 228a7b173e nixos/certmgr: Flip either submodule path type
For upcoming allowance of paths as submodules
2020-01-08 23:54:45 +01:00
Silvan Mosberger b46776d14e Clarify error message of 'assigning to top-level attribute' (#76702)
Clarify error message of 'assigning to top-level attribute'
2020-01-08 17:36:43 +01:00
Silvan Mosberger 32104e7c77 nixos/doc: document the loaOf type deprecation (#77109)
nixos/doc: document the loaOf type deprecation
2020-01-08 03:25:51 +01:00
Silvan Mosberger 65872f407e Merge pull request #77133 from Infinisil/fix-path-check
lib/types: Fix path type check
2020-01-07 16:43:50 +01:00
Silvan Mosberger d7a109b59f lib/types: Fix path type check
Previously when this function was called without a value coercible to a
string it would throw an error instead of returning false. Now it does.

As a result this now allows the use of a type like `either path attrs`
without it erroring out when a definition is an attribute set.

The warning about there not being a isPath primop was removed because
this is not the case anymore, there is builtins.isPath. But also there
always was `builtins.typeOf x == "path"` that could've been used
instead. However the path type now stands for more than just path types,
but absolute paths in general.
2020-01-06 22:09:56 +01:00
Silvan Mosberger ff16d17b42 nixos/systemd: Explicitly put default path packages after othe… (#77088)
nixos/systemd: Explicitly put default path packages after others
2020-01-06 21:51:04 +01:00
Silvan Mosberger 9327e1c6ba nixos/systemd: Explicitly put default path packages after others
This fixes the dhcpcd issue in https://github.com/NixOS/nixpkgs/issues/76969,
which was exposed by https://github.com/NixOS/nixpkgs/pull/75031
introducing changes in the module ordering and therefore option ordering
too.

The dhcpcd issue would also be fixable by explicitly putting
dhcpcd's paths before others, however it makes more sense for systemd's
default paths to be after all others by default, since they should only
be a fallback, which is how binary finding will work if they come after.
2020-01-06 15:58:06 +01:00
Silvan Mosberger 4f6f0491a4 Merge pull request #76854 from earksiinni/ersin/prl-tools-no-assert-version
linuxPackages.prl-tools: remove version assertion
2020-01-03 18:59:05 +01:00
Silvan Mosberger be3f887ac4 lib/tests: Temporarily disable submodule path test
Until https://github.com/NixOS/nixpkgs/pull/76861 or so is merged
2020-01-03 06:02:55 +01:00
Silvan Mosberger c7ade6844f Revert "lib/types: Allow paths as submodule values"
This reverts commit eec83d41e3.

This broke hydra evaluation because with this commit submodule values
are allowed to be paths, however the certmgr module uses `either
(submodule ...) path` in its type, meaning it already used paths for
something else which would now be interpreted as a submodule.
2020-01-03 05:21:01 +01:00
Silvan Mosberger cdf79db19d Module system improvements for NixOS as a submodule (#75031)
Module system improvements for NixOS as a submodule
2020-01-02 20:38:45 +01:00
Silvan Mosberger cc81320a46 lib/tests: Add submoduleWith tests 2020-01-02 09:59:35 +01:00
Silvan Mosberger eec83d41e3 lib/types: Allow paths as submodule values 2020-01-02 09:59:35 +01:00
Silvan Mosberger bc42515736 nixos/syncthing: Fix submodule name usage
Module arguments should be taken from the arguments directly. This
allows evalModule's specialArgs to override them if necessary
2020-01-02 09:59:35 +01:00
Silvan Mosberger 90c82bfee7 nixos/docs: Add docs for types.submoduleWith 2020-01-02 09:59:32 +01:00
Silvan Mosberger 286450b335 Bemenu: 0.1.0 -> 0.3.0 (#76676)
Bemenu: 0.1.0 -> 0.3.0
2020-01-01 03:46:06 +01:00
Silvan Mosberger 17a9c0e920 codeowners: Add infinisil to some more paths (#76763)
codeowners: Add infinisil to some more paths
2020-01-01 03:44:41 +01:00
Silvan Mosberger fd7a019c70 nixosTests.haka: port to python (#76707)
nixosTests.haka: port to python
2020-01-01 03:31:11 +01:00
Silvan Mosberger 956820abc1 Merge pull request #66208 from seqizz/g_djangopostnet
django-postgresql-netfields: init at 1.2.2
2020-01-01 03:10:30 +01:00
Silvan Mosberger 587c992958 Merge pull request #76741 from asymmetric/patchwork-3.17.2
ssb-patchwork: 3.17.1 -> 3.17.2
2020-01-01 03:07:39 +01:00
Silvan Mosberger 59207c04b2 Merge pull request #76744 from bdesham/fix-gitstatus-patch
gitstatus: patch fewer lines
2020-01-01 03:06:57 +01:00
Silvan Mosberger 43e1c6e352 codeowners: Add infinisil to some more paths 2020-01-01 03:01:48 +01:00
Silvan Mosberger 5414b4018b lib/modules: Don't pack submodules specially
This has the beneficial side effect of allowing paths to be used as modules in
types.{submodule,submoduleWith}
2020-01-01 01:13:03 +01:00
Silvan Mosberger 5002e6afbc lib/types: Add types.submoduleWith for more flexibility than types.submodule 2020-01-01 01:13:01 +01:00
Silvan Mosberger 4b193d7f7c maintainer-list: Update infinisil 2019-12-26 19:22:31 +01:00
Silvan Mosberger 5dc7050bd6 Merge pull request #75400 from nand0p/ethminer-v18
ethminer: 0.18.0-rc.0 -> 0.18.0
2019-12-25 23:56:24 +01:00
Silvan Mosberger 8c39d6917e Merge pull request #76054 from turboMaCk/imwheel-fixes
services.xserver.imwheel: Fix default extraOptions
2019-12-20 15:43:15 +01:00
Silvan Mosberger d475361ba7 Merge pull request #71473 from rnhmjoj/console
nixos: unify virtual console options
2019-12-20 13:40:05 +01:00
Silvan Mosberger 9888686702 xorg.xf86-video-intel: 2018-12-03 -> 2019-12-09 2019-12-18 04:15:07 +01:00
Silvan Mosberger 89eccbf985 Merge pull request #71052 from turboMaCk/imwheel-service
services.xserver.imwheel: add module
2019-12-13 19:37:59 +01:00
Silvan Mosberger 6b50d50cd9 nixos/unbound: add package option (#75585)
nixos/unbound: add package option
2019-12-13 03:53:28 +01:00
Silvan Mosberger ae94e89232 Move renames to their appropriate places (#61570)
Move renames to their appropriate places
2019-12-10 04:31:52 +01:00
Silvan Mosberger 4ee3e8b21d nixos/treewide: Move rename.nix imports to their respective modules
A centralized list for these renames is not good because:
- It breaks disabledModules for modules that have a rename defined
- Adding/removing renames for a module means having to find them in the
central file
- Merge conflicts due to multiple people editing the central file
2019-12-10 02:51:19 +01:00
Silvan Mosberger 89b1bd1b92 Merge pull request #72734 from nyanloutre/zfs_zed_config_module
nixos/zfs: ZED config module
2019-12-05 07:15:39 +01:00
Silvan Mosberger 3cc77ce756 lib/modules: Make unifyModuleSyntax fully idempotent
Because why not
2019-12-05 05:51:44 +01:00
Silvan Mosberger aa613427b7 lib/modules: file -> _file for a more idempotent unifyModuleSyntax
This will be useful for doing more complicated module evaluations
2019-12-05 05:51:44 +01:00
Silvan Mosberger dce4e72999 Merge pull request #66978 from arcnmx/digital-ocean
nixos/digital-ocean-image: init (rebase)
2019-11-24 17:57:56 +01:00
Silvan Mosberger 9d3911f806 beets: fix absubmit deps (#73608)
beets: fix absubmit deps
2019-11-23 00:46:36 +01:00