Alyssa Ross
59c4035e58
nixos/spamassassin: allow initPreConf to be a path
...
Supporting a path here is important because it allows e.g. fetching a
configuration from a URL. To do this and provide the configuration as
a string, IFD would be necessary. It's just written into a path
anyway.
2020-01-10 21:49:06 +00:00
elseym
c9214c394b
lib.commitIdFromGitRepo: support git-worktree
...
lib.commitIdFromGitRepo now resolves the refs from the
parent repository in case the supplied path is a file
containing the path to said repository. this adds support
for git-worktree and things alike. see gitrepository-layout(5).
this also:
- adds a new boolean function lib.pathIsRegularFile to
check whether a path is a regular file
- patches lib.revisionWithDefault and
the revision and versionSuffix attributes in
config.system.nixos in order to support git-worktrees
2020-01-10 22:29:48 +01:00
Florian Klink
47e0ce7f1a
Merge pull request #77303 from tfc/port-elk-initdb-kafka
...
Port elk initdb kafka
2020-01-10 17:05:04 +01:00
Silvan Mosberger
5239b328f8
lib/types: Introduce lazyAttrsOf ( #70138 )
...
lib/types: Introduce lazyAttrsOf
2020-01-10 16:35:25 +01:00
Jörg Thalheim
a69d3f33d4
nixos/powertop: wait for hardware to initialize ( #77364 )
...
nixos/powertop: wait for hardware to initialize
2020-01-10 15:25:51 +00:00
Silvan Mosberger
b48717d1eb
lib/types: Introduce lazyAttrsOf
...
The standard attrsOf is strict in its *values*, meaning it's impossible to
access only one attribute value without evaluating all others as well.
lazyAttrsOf is a version that doesn't have that problem, at the expense
of conditional definitions not properly working anymore.
2020-01-10 16:19:55 +01:00
Silvan Mosberger
d5a2922641
nixos/doc: Note that attrsOf is strict in its values
2020-01-10 16:19:54 +01:00
Niklas Hambüchen
902d102c85
Merge pull request #77279 from maralorn/stateVersion-docs
...
Improve documentation for stateVersion
2020-01-10 14:42:27 +01:00
Milan Pässler
fb9645656b
nixos/geary: init
2020-01-10 02:00:08 +01:00
Daniel Fullmer
27b8253655
nixos/zerotierone: prevent systemd from changing MAC address
2020-01-09 17:51:44 -05:00
Jacek Galowicz
abebf8cdb3
nixosTests.initdb: Move code to existing postgres test
2020-01-09 23:21:51 +01:00
Jacek Galowicz
fff1c2867f
nixosTests.postgres: Refactor code
2020-01-09 23:21:08 +01:00
gnidorah
ad8a430a3a
nixos/sway: add programs.sway.extraOptions
2020-01-09 22:25:01 +01:00
Alyssa Ross
65dcd244bc
maintainers/create-azure.sh: run from anywhere
...
I'm not really sure how the line directly after ended up with this,
but this line didn't...
2020-01-09 20:54:28 +00:00
markuskowa
2913973aa7
Merge pull request #76938 from lourkeur/fix_76184_gnunet
...
nixos/gnunet: Add types to the options
2020-01-09 21:33:50 +01:00
markuskowa
59670b0c56
Merge pull request #76939 from lourkeur/fix_76184_tsocks
...
nixos/tsocks: Add types to the options
2020-01-09 21:33:18 +01:00
Florian Klink
2603d15a4d
Merge pull request #77167 from srhb/ceph-14_2_5
...
ceph: 14.2.4 -> 14.2.5
2020-01-09 18:39:05 +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
7167985e34
nixos/documentation: Fix disabledModules being rendered
...
Previously disabledModules would not be disabled for the manual
2020-01-09 17:26:08 +01:00
Florian Klink
5a523d70f6
Merge pull request #77158 from aanderse/mysql
...
nixos/mysql: restart systemd service on abort
2020-01-09 17:04:40 +01:00
Silvan Mosberger
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
Denys Pavlov
90b6823373
nixos/powertop: wait for hardware to initialize
...
We should wait until after `multi-user.target` is triggered to allow
hardware to finish initializing, such as network devices and USB drives.
This ensures `powertop --auto-tune` sets more tunables to "Good".
Fixes #66820
2020-01-09 19:45:41 +08:00
Jörg Thalheim
5121edc703
home-assistant: 0.100.3 -> 0.103.2 ( #76088 )
...
home-assistant: 0.100.3 -> 0.103.2
2020-01-09 11:29:04 +00:00
Florian Klink
959034d8e9
Merge pull request #77355 from andersk/gdm-tmpfiles
...
nixos/gdm: Fix tmpfiles configuration syntax
2020-01-09 12:12:57 +01:00
Oleksii Filonenko
25b75b8fb5
nixosTests.home-assistant: port to python
2020-01-09 10:39:50 +00:00
Jörg Thalheim
283e3e7218
nixos/home-assistant: support for secrets
2020-01-09 10:39:50 +00:00
Jörg Thalheim
ff5ddd04f3
nixos/pam: cleanup services ( #76885 )
...
nixos/pam: cleanup services
2020-01-09 10:09:13 +00:00
Sarah Brofeldt
59233d67b1
nixos/tests/ceph: Use 3 osds, the default minimum
2020-01-09 08:00:19 +01:00
Anders Kaseorg
07ccbc099a
nixos/gdm: Fix tmpfiles configuration syntax
...
Fixes this error from `nixos-rebuild switch` introduced by #75893 :
setting up tmpfiles
[/etc/tmpfiles.d/nixos.conf:7] Invalid age 'yes'.
warning: error(s) occurred while switching to the new configuration
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-08 19:51:32 -08:00
Léo Gaspard
b31660e5bb
Merge branch 'master' into ihatemoney
2020-01-09 03:49:03 +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
Pascal Bach
0319241132
nixos/mxisd: fix empty user name
2020-01-08 23:18:26 +01:00
Pascal Bach
76506ae42f
nixos/matrix-synapse: fix empty user name
2020-01-08 23:18:26 +01:00
Aaron Andersen
336a6f471f
nixos/httpd: symlink apache configuration to /etc/httpd/httpd.conf for use in the apachectl command
2020-01-08 10:37:46 -05:00
worldofpeace
79de730e77
nixos/buildbot: fix eval
...
Fixes https://github.com/NixOS/nixpkgs/issues/77309
2020-01-08 10:06:08 -05:00
worldofpeace
a408bcbe44
Merge pull request #73938 from worldofpeace/port-gnome3-xorg-test
...
nixosTests.gnome3-xorg: port to python/rewrite
2020-01-08 09:38:29 -05:00
Jacek Galowicz
f7b274d957
nixosTests.kafka: port to python
2020-01-08 10:51:57 +01:00
Jacek Galowicz
8ecd07f9e3
nixosTests.elk: port to python
2020-01-08 10:51:57 +01:00
worldofpeace
1c2e27e4d5
nixos/systemd-lib: don't fail on systemd.packages duplicates
...
In some cases like we've noticed in https://github.com/NixOS/nixpkgs/issues/76169 ,
having duplicate packages in systemd.packages like
```
systemd.packages = [ gnome-shell gnome-shell gnome-session ];
```
breaks.
Here we use an associative array to ensure no
duplicate paths when we symlink all the units listed
in systemd.packages.
2020-01-07 21:42:14 -05: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
rnhmjoj
fa3919de5f
nixos/doc: document the loaOf type deprecation
2020-01-08 00:47:59 +01:00
Malte Brandy
c1d7850f85
Improve documentation for stateVersion
...
The meaning of stateVersion often leads to a lot of confusion. This
commit trys to improve that situation.
2020-01-07 22:27:03 +01:00
Jacek Galowicz
c44331dd5d
nixosTests.initdb: port to python
2020-01-07 20:52:24 +01:00
Rickard Nilsson
6edbe844b2
nixos/tests/chromium: Fix nixos-hex.svg hash
2020-01-07 19:42:52 +01:00
Milan Pässler
2a31a6a412
tree-wide: fix errors and warning related to loaOf deprecation
2020-01-07 06:23:28 +01:00
Aaron Andersen
df059f89e6
nixos/mysql: restart systemd service on abort
2020-01-06 20:08:51 -05: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
worldofpeace
c496b1b102
Merge pull request #63103 from rnhmjoj/loaof
...
Deprecate types.loaOf [WIP]
2020-01-06 11:00:17 -05:00