about summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems
Commit message (Collapse)AuthorAge
* nixos/*: automatically convert option descriptionspennae2022-08-31
| | | | | | | | | | | | conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
* nixos/*: literalDocBook -> literalMDpennae2022-08-27
| | | | no change to rendered output
* nixos/*: mark pre-existing markdown descriptions as mdDocpennae2022-08-19
|
* Merge pull request #185474 from pennae/option-docs-mdpennae2022-08-12
|\ | | | | nixos/*: more options md conversion
| * nixos/*: automatically convert option docspennae2022-08-06
| |
| * nixos/*: normalize manpage references to single-line formpennae2022-08-05
| | | | | | | | | | | | | | now nix-doc-munge will not introduce whitespace changes when it replaces manpage references with the MD equivalent. no change to the manpage, changes to the HTML manual are whitespace only.
* | Merge pull request #185763 from srhb/zfs-scrub-synchronouslyFranz Pletz2022-08-10
|\ \ | | | | | | nixos/zfs: scrub synchronously
| * | nixos/zfs: scrub synchronouslySarah Brofeldt2022-08-09
| |/ | | | | | | | | This prevents spurious systemd failures if the timer unit starts a new scrub before a long-running one has finished.
* | fix whitespacePaul Haerle2022-08-06
| |
* | zfs: Make zpool available for zpool-expand-poolsPaul Haerle2022-08-06
|/ | | | | | ...if cfgExpandOnBoot == "all", otherwise it fails during runtime: ``` Aug 06 19:38:05 nixos zpool-expand-pools-start[981]: /nix/store/ka3vivdray82mi9dql12yf258gkw643l-unit-script-zpool-expand-pools-start/bin/zpool-expand-pools-start: line 3: zpool: command not found ```
* treewide: automatically md-convert option descriptionspennae2022-07-30
| | | | | | | | | | | | | | | | | | | | | | the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
* Merge pull request #171401 from klemensn/filesystems-zfsLassulus2022-07-03
|\ | | | | Small ZFS handling improvements
| * nixos/filesystems/zfs: Use proper script modeKlemens Nanni2022-05-03
| | | | | | | | | | | | | | Tell zpool-list(8) to format output rather than modifying it afterwards. Furthermore, pool names may contain spaces and would thus break due to awk(1)'s word splitting.
| * nixos/filesystems/zfs: Escape dataset namesKlemens Nanni2022-05-03
| | | | | | | | | | | | | | Although unlikely, ZFS happily accepts names like 'zroot/foo -r'. Escape names and separate command line options from arguments to avoid any kind of misinterpretation.
* | zfs: Support zfs_force=y on the command line as well.Will Fancher2022-05-04
| |
* | nixos: Don't use grep to request ZFS credentials, and consider keystatusWill Fancher2022-05-03
| |
* | zfs: Update comment for https://github.com/zfsonlinux/zfs/pull/4943Will Fancher2022-05-03
| |
* | zfs: Allow three tries to decrypt datasetsWill Fancher2022-05-03
| |
* | nixos/stage-1-systemd: ZFS supportWill Fancher2022-05-03
|/
* Merge pull request #170123 from ElvishJerricco/systemd-shutdown-ramfs-fixupWill Fancher2022-04-28
|\ | | | | Systemd shutdown ramfs fixup
| * zfs: Sync pools on shutdown.Will Fancher2022-04-28
| |
* | nixos/xfs: Fix evaluation (#170471)Janne Heß2022-04-26
| |
* | nixos/btrfs: Add systemd stage 1 supportJanne Heß2022-04-24
| |
* | nixos/filesystems: Make most simple filesystems compatible with systemdJanne Heß2022-04-24
|/ | | | | | | This includes disabling some features in the initrd by default, this is only done when the new initrd is used. Namely, ext and bcache are disabled by default. bcache gets an own enable option while ext is detected like any other filesystem.
* nixos/zfs: better support auto-expanding partitioned disksGraham Christensen2022-04-07
|
* nixos/apfs: initLuflosi2022-01-27
| | | | Add the final missing pieces for full APFS support.
* treewide: add defaultText for options using other shortcut bindingspennae2021-12-09
|
* treewide: add literalDocBook text to options with complex defaultspennae2021-12-09
| | | | | | | | some options have default that are best described in prose, such as defaults that depend on the system stateVersion, defaults that are derivations specific to the surrounding context, or those where the expression is much longer and harder to understand than a simple text snippet.
* nixos/zfs: replace parentheses with bracesCole Helbling2021-11-03
| | | | | | | | | | | | | | | | | | The parentheses prevent the `continue` line from working by running the enclosed in a subshell -- I noticed that ZFS would start asking me for my password to encrypted child datasets, even though they were not specified in `requestEncryptionCredentials`. The following logs would also be present in the import unit's journal: Oct 31 22:13:17 host systemd[1]: Starting Import ZFS pool "pool"... Oct 31 22:13:44 host zfs-import-pool-start[3711]: importing ZFS pool "pool"... Oct 31 22:13:44 host zfs-import-pool-start[4017]:pool/nix/store/39zij3xcxn4w38v6x8f88bx8y91nv0rm-unit-script-zfs-import-pool-start/bin/zfs-import-pool-start: line 31: continue: only meaningful in a `for', `while', or `until' loop Oct 31 22:13:44 host zfs-import-pool-start[4020]:pool/nix/store/39zij3xcxn4w38v6x8f88bx8y91nv0rm-unit-script-zfs-import-pool-start/bin/zfs-import-pool-start: line 31: continue: only meaningful in a `for', `while', or `until' loop Oct 31 22:15:14 host zfs-import-pool-start[4023]: Failed to query password: Timer expired Oct 31 22:15:14 host zfs-import-pool-start[4024]: Key load error: encryption failure Oct 31 22:15:14 host systemd[1]: zfs-import-pool.service: Main process exited, code=exited, status=255/EXCEPTION Oct 31 22:15:14 host systemd[1]: zfs-import-pool.service: Failed with result 'exit-code'. Oct 31 22:15:14 host systemd[1]: Failed to start Import ZFS pool "pool".
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* nixos: explicitely set security.wrappers ownershiprnhmjoj2021-09-13
| | | | | This is slightly more verbose and inconvenient, but it forces you to think about what the wrapper ownership and permissions will be.
* Merge pull request #128624 from vs49688/exfatSandro2021-08-25
|\
| * nixos/filesystems/exfat: use "exfatprogs" instead of "exfat" if kernel > 5.7Zane van Iperen2021-08-24
| | | | | | | | | | | | | | | | 5.7+ comes with a native exfat implementation, exfatprogs should be used instead. The exfat package puts a "mount.exfat" binary in the path, which causes mount to prefer the FUSE version to the non-fuse one. There's no way to disable the binary, so switch to exfatprogs.
* | services.zfs.expandOnBoot: support expanding pools on bootYour Name2021-08-24
|/ | | | | Either enumerating a list of pools to expand or expanding all pools on boot.
* nixos/btrfs: handle new checksum types in initrd (#126158)Atemu2021-07-06
| | | Can't mount a root formatted with those otherwise
* nixos/zfs: Add defaultText for 'boot.zfs.package'-option (#122002)Jens Nolte2021-05-13
|
* Merge pull request #117071 from mohe2015/hotfix-zfs-grubJörg Thalheim2021-04-17
|\ | | | | nixos/zfs: Fix regression that prevents people to boot from zfs using grub if they didn't add zfs to boot.initrd.supportedFilesystems
| * nixos/zfs: Fix regression that prevents people to boot from zfs using grub ↵Hedtke, Moritz2021-03-20
| | | | | | | | | | | | if they didn't add zfs to boot.initrd.supportedFilesystems See https://github.com/NixOS/nixpkgs/pull/99386
* | nixos/zfs: fix autoScrub.enable descriptionAlyssa Ross2021-04-01
|/ | | | | This was previously "Whether to enable Enables periodic scrubbing of ZFS pools.."
* zfs: disable smartmontools mail functionalityCole Helbling2021-02-06
|
* nixos/zfs: make zed mail optionalCole Helbling2021-02-06
| | | | "zed does not need the ability to send email by default" --Eelco
* zfs: fix invalid package referencesJörg Thalheim2021-02-03
|
* nixos/zfs: fix reference to awkJörg Thalheim2021-02-03
| | | | broken in 648a6c4348f19c5c50bbff20ed683f783194574b
* nixos/lxd: refactor to use zfs.package/enabled propertyJörg Thalheim2021-02-01
|
* nixos/zfs: expose enabled optionJörg Thalheim2021-02-01
|
* nixos/zfs: expose zfs package as readonly attributeJörg Thalheim2021-02-01
|
* treewide: fix double quoted strings in meta.descriptionvolth2021-01-24
| | | | Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
* nixos/zfs: make zpool-trim timer persistentIvan Petkov2021-01-15
| | | | | | | | | | | | If the machine is powered off when the zpool-trim timer is supposed to trigger (usually around midnight) then the timer will be skipped outright in favor of the next instance. For desktop systems which are usually powered off at this time, zpool trimming will never be run which can degrade SSD performance. By marking the timer as `Persistent = yes` we ensure that it will run at the first possible opportunity after the trigger date is reached.
* nixos ISO image: revert another part of 8ca33835baVladimír Čunát2021-01-13
|
* nixos: fixup build of aarch64 minimal ISO (fixes #109252)Vladimír Čunát2021-01-13
| | | | Perhaps it's not pretty nor precise; feel free to improve.