Commit Graph

359617 Commits

Author SHA1 Message Date
Andreas Rammhold
d67caf3c89 nixos/timesyncd: initialize clock file with current time
When initializing a system (e.g. first boot / livecd) we have no good
reference source for time. systemd-timesyncd however would revert back
to its configured fallback time (in our case 01.01.1980). Since we
probably don't want to hardcode a specific date as fallback we are now
using the current system time (wherever that might have come from) to
initialize the reference clock file.

The only systems that might be remotely affected by this change are
machines that have highly unreliable RTCs or those where the battery
that backs the RTC is running empty.

Historically these systems always had a tough time with anything time
related and likely required manual intervention.

For stateless systems (those that wipe / between reboots or our
installer CDs) this has the consequence that time will always be reset
to whatever the system comes up with on boot. This is likely the correct
time coming from an RTC. No harm done here the situation is likely
unchanged for them.

For stateful systems (those that retain the / partition across reboots)
there shouldn't be a change at all. They'll provide an initial clock
value once on their lifetime (during first boot / after installation).
From then onwards systemd-timesyncd will update the file with the newer
fallback time (that will be picked up on the next boot).
2022-03-05 21:27:45 +01:00
Andreas Rammhold
e6280a6397 systemd: introduce withTests flag
This allows us to make test-only dependencies optional in builds that
aren't running tests (sadly all of our builds).
2022-03-05 21:27:45 +01:00
Andreas Rammhold
0c852e1fa6 systemd: remove unused lvm2 input 2022-03-05 21:27:45 +01:00
Andreas Rammhold
3ceeae830d systemdMinimal: don't set {libfido2,p11-kit,libgcrypt} to null
We don't have to do that as we already set all the feature flags to
null. Setting individual libraries to null instead of disabling their
feature flag will lead with bad example that will cause each of the
features to be disabled with multiple flags in the systemdMinimal
variant.

If a dependency is pulled in via another feature we should disable that
rather than setting it to null. Overriding a given package should be the
last resort.
2022-03-05 21:27:45 +01:00
Andreas Rammhold
3869ce784e systemd: 249.7 -> 250.3 2022-03-05 21:27:44 +01:00
Andreas Rammhold
0423158e10 systemd: reformat code with nixpkgs-fmt 2022-03-05 21:26:05 +01:00
github-actions[bot]
47494ea53c
Merge staging-next into staging 2022-03-05 18:01:48 +00:00
github-actions[bot]
61655037aa
Merge master into staging-next 2022-03-05 18:01:16 +00:00
Átila Saraiva
003478830b oil-buku: improved syntax 2022-03-05 09:01:01 -08:00
Renaud
062a0c5437
Merge pull request #159034 from oxzi/platformio-5.2.5
platformio: 5.2.4 -> 5.2.5
2022-03-05 17:20:37 +01:00
Bobby Rong
3cb36ada9d
Merge pull request #162722 from r-ryantm/auto-update/lucky-commit
lucky-commit: 2.1.0 -> 2.1.1
2022-03-05 23:58:21 +08:00
Bobby Rong
1a965859dc
Merge pull request #162626 from rembo10/sickgear-update
sickgear: 0.25.26 -> 0.25.28
2022-03-05 23:29:49 +08:00
Franz Pletz
eeb0456021
Merge pull request #162900 from symphorien/fts-xapian-update 2022-03-05 16:23:53 +01:00
Bobby Rong
7b87f68d0a
Merge pull request #162848 from r-ryantm/auto-update/ent-go
ent-go: 0.10.0 -> 0.10.1
2022-03-05 23:20:54 +08:00
R. Ryantm
1354f51bdb whois: 5.5.11 -> 5.5.12 2022-03-05 16:19:26 +01:00
Martin Weinelt
5556fc8f8f
Merge pull request #162407 from mweinelt/zigbee2mqtt 2022-03-05 15:33:57 +01:00
Martin Weinelt
72bea7f4c2
Merge pull request #162472 from mweinelt/esphome 2022-03-05 15:33:32 +01:00
Martin Weinelt
84a11cdc0d
Merge pull request #162477 from mweinelt/dddvb 2022-03-05 15:33:14 +01:00
Martin Weinelt
0ef4276619
Merge pull request #162787 from mweinelt/kea 2022-03-05 15:32:49 +01:00
piegames
be4a0e6e40
Merge pull request #158605 from mweinelt/synapse-rfc42
nixos/matrix-synapse: migrate to rfc42 settings and formatter
2022-03-05 15:23:52 +01:00
markuskowa
e408a21683
Merge pull request #161849 from r-ryantm/auto-update/mathlibtools
mathlibtools: 1.1.0 -> 1.1.1
2022-03-05 15:20:04 +01:00
markuskowa
302500b235
Merge pull request #161765 from r-ryantm/auto-update/calamares
calamares: 3.2.44.3 -> 3.2.51
2022-03-05 15:17:50 +01:00
markuskowa
a66a8bd29d
Merge pull request #161680 from r-ryantm/auto-update/openai
openai: 0.14.0 -> 0.15.0
2022-03-05 15:16:30 +01:00
markuskowa
e606118d07
Merge pull request #161685 from r-ryantm/auto-update/mkgmap
mkgmap: 4895 -> 4896
2022-03-05 15:16:05 +01:00
Renaud
6db2b14595
Merge pull request #161204 from r-ryantm/auto-update/i2pd
i2pd: 2.40.0 -> 2.41.0
2022-03-05 15:13:28 +01:00
R. Ryantm
999f1ed5b5 ethtool: 5.15 -> 5.16 2022-03-05 15:12:13 +01:00
markuskowa
57d6ce7dcd
Merge pull request #162453 from r-ryantm/auto-update/pmd
pmd: 6.42.0 -> 6.43.0
2022-03-05 15:11:20 +01:00
markuskowa
0585c105e9
Merge pull request #162156 from r-ryantm/auto-update/erigon
erigon: 2022.02.03 -> 2022.02.04
2022-03-05 15:08:17 +01:00
markuskowa
62ea9ed83e
Merge pull request #162242 from r-ryantm/auto-update/xterm
xterm: 370 -> 371
2022-03-05 15:07:10 +01:00
Guillaume Girol
7df33c6be9
Merge pull request #158048 from symphorien/paperwork-update-script
paperwork: 2.1.0 -> 2.1.1
2022-03-05 14:06:23 +00:00
markuskowa
7c98689bab
Merge pull request #162512 from r-ryantm/auto-update/suitesparse-graphblas
suitesparse-graphblas: 6.2.1 -> 6.2.2
2022-03-05 15:05:57 +01:00
Alexandru Scvortov
f386c42a48 nixos/doc: improve wording in "Options Types" and "Option Declarations" 2022-03-05 13:51:37 +00:00
piegames
cd7e516b26
Merge pull request #156858: nixos/polkit: don't enable by default 2022-03-05 14:48:35 +01:00
markuskowa
36812feb85
Merge pull request #162520 from r-ryantm/auto-update/urh
urh: 2.9.2 -> 2.9.3
2022-03-05 14:48:00 +01:00
Renaud
70a7476e0e
Merge pull request #161340 from nagy/wego-21
wego: unstable-2019-02-11 -> 2.1
2022-03-05 14:45:43 +01:00
Alvar Penning
9b87a77964 platformio: 5.2.4 -> 5.2.5 2022-03-05 14:45:39 +01:00
markuskowa
32c6ddc060
Merge pull request #162756 from r-ryantm/auto-update/minizinc
minizinc: 2.6.0 -> 2.6.1
2022-03-05 14:43:29 +01:00
markuskowa
80d1236ea5
Merge pull request #162838 from r-ryantm/auto-update/babashka
babashka: 0.7.6 -> 0.7.7
2022-03-05 14:42:01 +01:00
Renaud
23ce610123
Merge pull request #161958 from c0bw3b/data/spdx_all_formats
spdx-license-list-data: make all formats available
2022-03-05 14:41:35 +01:00
Martin Weinelt
8a95d9fede
nixos/flatpak: enable polkit
via https://github.com/NixOS/nixpkgs/pull/156858#issuecomment-1022254342
2022-03-05 13:57:30 +01:00
Fabian Affolter
d5e185418d
Merge pull request #162770 from r-ryantm/auto-update/nuclei
nuclei: 2.6.2 -> 2.6.3
2022-03-05 13:46:12 +01:00
Raghav Sood
efff462fd3
Merge pull request #162629 from r-ryantm/auto-update/exodus
exodus: 22.2.11 -> 22.2.25
2022-03-05 20:30:29 +08:00
Raghav Sood
379161e96e
Merge pull request #162805 from r-ryantm/auto-update/stripe-cli
stripe-cli: 1.7.13 -> 1.8.0
2022-03-05 20:30:02 +08:00
github-actions[bot]
fade30f7b2
Merge staging-next into staging 2022-03-05 12:01:44 +00:00
Guillaume Girol
a70ed53891 dovecot_fts_xapian: 1.5.2 -> 1.5.4 2022-03-05 12:00:00 +00:00
Martin Weinelt
1227158d0b Merge remote-tracking branch 'origin/master' into staging-next 2022-03-05 12:56:25 +01:00
Maximilian Bosch
e72e35d655
Merge pull request #162637 from Ma27/bump-grafana
grafana: 8.4.2 -> 8.4.3
2022-03-05 12:46:09 +01:00
rembo10
0e352390e2 sickgear: 0.25.26 -> 0.25.28 2022-03-05 17:02:00 +05:30
Bobby Rong
6a7c7ec68b
Merge pull request #162449 from r-ryantm/auto-update/dnsproxy
dnsproxy: 0.41.2 -> 0.41.3
2022-03-05 18:36:51 +08:00
Fabian Affolter
8ec8259ca3
Merge pull request #162813 from r-ryantm/auto-update/trivy
trivy: 0.24.1 -> 0.24.2
2022-03-05 11:35:36 +01:00