Timo Kaufmann
4843eab3a1
Merge pull request #84135 from symphorien/btrfs-scrub-success
...
nixos/btrfs autoScrub: don't fail when scrub finishes successfully
2020-06-19 22:55:19 +02:00
datafoo
431106a17e
nixos/zfs: add missing dependendy nettools
...
Fix #87823
2020-05-18 11:25:00 +02:00
Jörg Thalheim
5fb2a9d8c7
Merge pull request #79828 from Mic92/zed
...
nixos/zfs: populate PATH with needed programs for zed
2020-04-02 13:42:01 +01:00
Symphorien Gibol
55d16d5334
nixos/btrfs autoScrub: don't fail when scrub finishes successfully
2020-04-02 12:00:00 +00:00
Peter Hoeg
8a31cf1459
zfs: document systemd-udev-settle dependency
2020-03-21 11:15:06 +08:00
Léo Gaspard
26b1ef1506
Merge pull request #80141 from symphorien/scrub
...
nixos/btrfs: make autoScrub not prevent shutdown or suspend
2020-03-12 22:39:34 +01:00
Jörg Thalheim
8f543ed80d
nixos/zfs: continue trimming also if one pool fails
...
fixes https://github.com/NixOS/nixpkgs/issues/81602
2020-03-03 11:22:07 +00:00
Symphorien Gibol
5359d90b15
nixos/btrfs: make autoScrub not prevent shutdown or suspend
...
Fixes : #79086 #79017
2020-02-14 12:00:00 +00:00
Jörg Thalheim
92bede3102
nixos/zfs: populate PATH with needed programs for zed
2020-02-11 14:01:22 +00:00
Kai Wohlfahrt
b1c10bc8b2
nfs: set up request-key for id mapping
...
A patch is necessary upstream to support multiple configs via symlinks
in /etc/request-key.d
Once that is done, we can add support for CIFS as well
2019-12-12 15:42:44 +00: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
nyanloutre
c082e13ecb
nixos/zfs: Adding ZED configuration options
...
Co-authored-by: sjau <github.com@sjau.ch>
2019-12-04 20:29:19 +01:00
Jörg Thalheim
faa7ce3ee5
Merge pull request #70240 from woffs/pr-etc-zpool.d
...
nixos module zfs: provide /etc/zfs/zpool.d
2019-10-15 11:45:52 +01:00
Jörg Thalheim
9a89467606
nixos/zfs: simplify logic for scrub/autosnapshot service
...
This makes them consistent with the way zfs.trim is enabled
and allow to enable them by default in future.
2019-10-14 10:30:57 +01:00
Jörg Thalheim
692656daf8
nixos/zfs: avoid script derivation for trim service
...
Since we only have a single pipe we can save the overhead of building a derivation
when creating the zfs trim service file when building the system.
2019-10-08 11:11:06 +01:00
Jörg Thalheim
a412d90e10
nixos/zfs: only enable trim if zfs is enabled
...
Also don't fail the service if there are no pools yet.
This might happen on installation ISOs.
2019-10-07 10:44:56 +01:00
Frank Doepper
3065d00d74
nixos module zfs: provide /etc/zfs/zpool.d
...
The scripts for zpool iostat -c and zpool status -c are located in
/etc/zfs/zpool.d
2019-10-02 12:34:09 +02:00
Svein Ove Aas
e4f975765f
nixos/zfs: Enable trim by default
2019-09-27 18:35:03 +01:00
volth
35d68ef143
treewide: remove redundant quotes
2019-08-26 21:40:19 +00:00
Frederik Rietdijk
7560e2d64f
Merge pull request #65376 from abbradar/mdadm-upstream
...
Use upstream units for mdadm
2019-08-03 08:06:07 +02:00
Nikolay Amiantov
717b8b3219
systemd service: remove generator-packages option
...
Use systemd.packages instead, it's less error prone and more in line with
what's expected.
2019-08-01 00:55:35 +03:00
Nikolay Amiantov
fd405dab3e
systemd service: rename generator-packages
2019-08-01 00:55:35 +03:00
Janne Heß
ae608faa85
nixos/xfs: Add xfs_repair to the initrd
...
Closes #8820
2019-07-30 09:28:34 +02:00
Jörg Thalheim
1d86714a2b
nixos/zfs: add trim service
...
Introduces a trim timer similar to the fstrim service.
According to zpool(8) for consumer hardware periodic manual TRIM
is preferred over automatic TRIM that ZFS implements.
The period of one week is based on recommendations of fstrim.
2019-07-25 12:47:43 +01:00
Ivan Jager
a38449f159
nixos/zfs: enable requestEncryptionCredentials by default
...
Since zfsStable now supports encryption, it no longer makes sense to set
the default based on whether we're using zfsUnstable
2019-07-04 16:11:52 -05:00
Silvan Mosberger
852fe410fc
nixos/zfs: Remove requestEncryptionCredentials assertion
...
zfs >= 0.8 supporting encryption is now stable
2019-06-21 03:33:09 +02:00
Jörg Thalheim
11b8a5f20e
zfs: 0.7.13 -> 0.8.0
...
Same as zfsUnstable for the moment.
We still keep the zfsUnstable expression as we likely
need it in the near future again.
Also remove spl since it is no longer needed.
2019-06-06 10:07:43 +01:00
Aaron Andersen
4a11ce7f26
cleanup redundant text in modules utilizing mkEnableOption
...
Closes #59911
2019-04-20 14:44:02 +02:00
Symphorien Gibol
a915b33315
nixos: add preferLocalBuild=true; on derivations for config files
2019-02-22 20:11:27 +01:00
Jörg Thalheim
859ce47b02
Merge pull request #53965 from mayflower/zfs-autoscrub-fix
...
nixos/zfs: autoscrub only after boot is complete
2019-01-22 10:48:17 +00:00
Jörg Thalheim
a6b97bd1bb
Merge pull request #42183 from kisik21/master
...
nixos/stage-1, nixos/f2fs: added F2FS resizing
2019-01-17 07:42:32 +00:00
Linus Heckemann
783f2c84e8
nixos/zfs: autoscrub only after boot is complete
...
Fixes #53583
2019-01-14 21:00:20 +01:00
hyperfekt
95b2b6f541
nixos/bcachefs: enable encrypted root
...
Enables automatic decryption for bcachefs-formatted filesystems needed during boot.
2018-11-06 09:26:35 +01:00
hyperfekt
482228919c
nixos/bcachefs: remove superfluous fsck from initrd
...
bcachefs checks the filesystem at mount time, therefore no separate fsck binary is needed in initrd.
2018-11-03 18:07:32 +01:00
Andrew Dunham
c3e004799c
Hide useless errors when waiting for zpool to be ready
2018-10-16 02:45:25 -07:00
Jörg Thalheim
4360a87c45
linuxPackages.zfsUnstable: 2018-05-22 -> 2018-08-13
...
spl was merged into zfs master
2018-08-14 14:12:07 +02:00
Jörg Thalheim
43595c7884
zfsLegacyCrypto: remove
...
This package was only mandatory for migration for people on zfsUnstable
in nixos unstable.
2018-08-13 19:53:50 +02:00
volth
2e979e8ceb
[bot] nixos/*: remove unused arguments in lambdas
2018-07-20 20:56:59 +00:00
volth
87f5930c3f
[bot]: remove unreferenced code
2018-07-20 18:48:37 +00:00
Svein Ove Aas
cfd8c4ee88
zfs: Improve import handling
2018-07-02 21:14:45 +01:00
Frank Doepper
c5da007af5
nixos/zfs: load encryption keys for all pools ( #41846 )
...
fixes #41838
At the moment it works fine for "file://" keys, but does not work for
dataPools with "prompt" keys, because the passphrase cannot be entered
(yet).
2018-06-28 11:04:30 +01:00
Victor Shlein
62d21f2511
nixos/f2fs: fixed autoresize check
2018-06-19 14:31:06 +03:00
Victor Shlein
4fa88fcecb
nixos/stage-1, nixos/f2fs: moved f2fs resizing tools include in f2fs module
2018-06-19 14:27:36 +03:00
Frank Doepper
673ecfcbaa
nixos/zfs: mount AFTER import
2018-06-15 20:58:43 +02:00
Frank Doepper
bea4323acf
nixos/zfs: enable zfs services
2018-06-13 16:31:05 +02:00
Svein Ove Aas
deb6c6e052
zfs: Fix "zfs-sync" for modern systemd
2018-06-09 01:17:04 +01:00
Jörg Thalheim
7663de114a
lxd: 2.16 -> 3.0.0
2018-04-14 11:02:24 +01:00
volth
49ed1229b6
exfat-utils, fuse_exfat -> exfat
...
`exfat-utils' and `fuse_exfat' are both aliases of `exfat'
2018-04-12 11:23:52 +00:00
Benjamin Andresen
96f10e7e49
zfs.autoSnapshot: make frequent
run every 15 mins
...
fixes bug that there is 30 minutes between hh:45 and hh:15 every hour.
2018-04-11 16:45:00 +02:00
Jörg Thalheim
b6bcba6537
nixos/zfs: fix typo in enableLegacyCrypto description
2018-02-08 10:24:47 +00:00