nixpkgs/nixos/modules/tasks
Ricardo M. Correia 6197fdc02d nixos/zfs: Refactor auto-snapshots and make them persistent
If you power off your machine frequently, you could miss the execution
of some snapshots.

This is more troublesome the more infrequently the snapshots are
triggered. For example, monthly snapshots only execute at exactly
midnight on the first day of the month.  If you only have your
machine powered on at that time with probability 50%, then half the
snapshots won't be triggered.

This means that if you wanted to keep 3 monthly snapshots, then instead
of keeping 3 months' worth of snapshotted data as you expected, you would
end up with snapshots spanning back 6 months.

Adding the "Persistent = yes" option to auto-snapshot timer units makes
a missed snapshot execute when booting up the machine.
2015-03-20 04:37:44 +01:00
..
filesystems nixos/zfs: Refactor auto-snapshots and make them persistent 2015-03-20 04:37:44 +01:00
bcache.nix nixos: move bcache udev rule in a new bcache.nix module 2014-11-10 22:19:43 +01:00
cpu-freq.nix Remove non-cpufreq_* modules since they are loaded by udev. 2014-07-14 02:35:09 +02:00
encrypted-devices.nix Get all lib functions from lib, not pkgs.lib, in modules 2014-07-02 12:28:18 -04:00
filesystems.nix nixos: Don't do filesystem checks on ZFS or NFS filesystems 2015-01-21 17:39:53 +01:00
kbd.nix nixos: add a few missing type specifiers under boot.* 2015-02-28 09:19:23 +01:00
lvm.nix Don't enable LVM2 in containers 2014-04-15 23:43:39 +02:00
network-interfaces-scripted.nix nixos/network-interfaces: Fix rstp support 2015-01-14 10:34:28 -08:00
network-interfaces-systemd.nix nixos/networkd: Add an assertion for unsupported rstp 2015-02-24 13:09:34 -08:00
network-interfaces.nix nixos/network-interfaces: Fix rstp support 2015-01-14 10:34:28 -08:00
scsi-link-power-management.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
swraid.nix nixos: Add boot.initrd.extraUdevRulesCommands 2014-11-10 22:19:43 +01:00
trackpoint.nix Add Elanthec PS/2 Trackpoint (Thinkpad L430) 2015-03-15 00:09:04 +01:00
tty-backgrounds-combine.sh Another attempt to eradicate ensureDir 2014-06-30 14:56:10 +02:00