Janne Heß
57cd07f3a9
treewide: pkgs.systemd -> config.systemd.package
...
This ensures there is only one systemd package when e.g. testing the
next systemd version.
2 years ago
Milan Svoboda
a5fb565bf5
nixos/auto-upgrade: add persistent option
2 years ago
Jade
e50bc2f36d
nixos/nix-gc, nixos/auto-upgrade: Minor documentation fixes.
...
The gc documentation had some artifacts (presumably being copied from
autoupgrade) and the autoupgrade docs had a typo
2 years ago
R-VdP
39f3eb3004
NixOS/auto-upgrade: offer the possibility to define a reboot window during which the system may be automatically rebooted
...
Some systems should not be rebooted at just any time. If the upgrade process takes too long, for instance because of a
slow internet connection, or if the upgrade service is ran during production hours, we want to allow to define a window
outside of which a reboot will not be performed.
The system will then reboot on the next run of the upgrade service which finishes inside the reboot window.
E.g. we can run the update service twice per week, once during the night and once during the day, but reboots are only
allowed during the night. By doing so, a system that is usually shut down during the night will still receive updates
and systems that are turned on 24/7 can be rebooted outside of production hours.
Co-authored-by: Silvan Mosberger <github@infinisil.com>
2 years ago
Cheng Shao
4cd015e65e
NixOS auto upgrade: add openssh to path
3 years ago
Frederik Rietdijk
5790bb073f
nixos auto-upgrade: remove flag when flake
...
The `--no-build-output` flag that is added by default is only valid
for the old cli, which is not used when flakes are used.
Follow-up to c9daa81eff
.
4 years ago
Finn Behrens
c9daa81eff
nixos/autoUpgrade: add flake support
4 years ago
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
4 years ago
Sean Buckley
9d3aa711fe
NixOS/auto-upgrade: refine option description
4 years ago
Sean Buckley
14a1aa4a3d
NixOS/auto-upgrade: fix wording
...
Co-Authored-By: Pascal Hertleif <killercup@gmail.com>
4 years ago
Sean Buckley
b6cad64ef6
NixOS/auto-upgrade: Add optional randomized delay
4 years ago
Mikhail Klementev
d4e8f7908d
NixOS/auto-upgrade: add gzip to service path
...
Resolves #28527
5 years ago
Daniel Frank
ed86bbad84
system.autoUpgrade: optionally allow rebooting the system on kernel change ( #64267 )
...
* autoUpgrade: optionally allow rebooting the system on kernel change
* system.autoUpgrade: Better documentation and readability
5 years ago
Danylo Hlynskyi
af5909a272
nixos/auto-upgrade: enable service only when it's enabled in options ( #56948 )
...
* nixos/auto-upgrade: enable service only when it's enabled in options
This reduced closure size of `tinyContainer` from 449 MB to 403 MB
5 years ago
Markus Kowalewski
d788874bdb
NixOS/auto-upgrade: add git to service path
...
Resolves https://github.com/NixOS/nixpkgs/issues/54946
where nixos-rebuild can not find git, when executed
from inside the systemd service
5 years ago
zimbatm
7b9a553e21
nixos: move system.autoUpgrade
...
This is not installer-specific
6 years ago
Pascal Bach
322d0c562c
auto-upgrade: add proxy support
...
Add the proxy variables so that auto upgrade works behind a proxy.
7 years ago
Franz Pletz
fb50cde71e
nixos/treewide: systemd.time is in manvolume 7
...
cc #23396
7 years ago
Joachim Fasting
645ff13a4b
nixos autoUpgrade: fix use of startAt
...
`startAt = ""` as in `startAt = optionalString false ...` results
in an invalid timer unit (due to "" being promoted to a singleton
list and not filtered out).
Ref: c9941c4b5e
8 years ago
Tuomas Tynkkynen
1d4b21ef42
treewide: Use correct output of config.nix.package in non-string contexts
8 years ago
Guillaume Maudoux
9f358f809d
Configure a default trust store for openssl
8 years ago
Eelco Dolstra
af6732e503
nixos autoUpgrade: add a 'dates' option
...
(cherry picked from commit 80917d2473d321d7a990cf991c6353547976638c)
Originally merged #11808 to release-15.09 directly. Close #11821 .
9 years ago
Eelco Dolstra
e65b8fcebe
Fix nixos-upgrade
9 years ago
Tuomas Tynkkynen
86919e2ae4
nixos/auto-upgrade: Reference correct xz output
9 years ago
Eelco Dolstra
43c4756090
Add auto update feature
...
You can now keep your system up to date automatically by setting:
system.autoUpgrade.enable = true;
Fixes #7369 .
9 years ago