summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* /lib -> /lassulus2022-08-241-194/+0
|
* Merge pull request #23 from Baitinq/masterLassulus2022-08-241-1/+1
|\
| * Support logical volume sizing in logical extents unitsBaitinq2022-08-241-1/+1
| | | | | | | | | | This allows us to create a lv with size 100%FREE for all the availeable size of the VG, etc.
* | Merge pull request #22 from nix-community/raid2Jörg Thalheim2022-08-241-11/+36
|\ \ | |/ |/| add mdadm support
| * add mdadm supportlassulus2022-08-241-11/+36
| |
* | Support optional keyfile for luks encrypted partitionsBaitinq2022-08-241-3/+3
|/ | | | | | If the keyfile attribute is not present it will omit any keyfile luks configuration and instead will make the user be prompted for any passphrases.
* fix mount.partition by non rehashing already hashed device-idJörg Thalheim2022-08-231-1/+1
|
* use nix at eval time rather grep at runtimeJörg Thalheim2022-08-231-7/+6
|
* use /dev/disk/by-path for better nvme supportlassulus2022-08-231-11/+45
|
* add flag supportJörg Thalheim2022-08-191-0/+3
|
* use findmnt and mount with X-mount.mkdirJörg Thalheim2022-08-171-3/+2
| | | | This feels slightly cleaner and makes the code shorter.
* disko: get rid of impure importsJörg Thalheim2022-08-171-2/+2
| | | | | | This is a backwards-incompatible change but it allows to pin nixpkgs, which is desirable especially in professional environments where reproduciblity is important.
* feat: noop partitionsJairo Llopis2022-07-081-0/+6
| | | | | | | | | | Some deployments just need a raw block device because the app works better when handling those. Examples: Ceph, Longhorn, OpenEBS. The new `noop` type supports that. It just does nothing with the partitions created, whenever applied. @moduon MT-904
* lib.*.lv: /dev/foo/bar -> /dev/mapper/foo-bartv2018-10-071-3/+3
|
* lib.config.filesystem: propagate optionstv2018-10-071-0/+1
|
* lib.config: mergeAttrs -> recursiveUpdatetv2018-10-071-3/+3
|
* lib/default: check for fs instead of luksmakefu2018-09-111-1/+1
|
* optional string bracketsmakefu2018-09-111-3/+3
|
* mount.devices: fix attribute not found errorlassulus2018-09-111-3/+3
|
* mount: prefix with /mntlassulus2018-08-051-3/+3
|
* lib.mount.filesystem: don't mount if already mountedlassulus2018-07-311-2/+4
|
* lib.body.*: don't require initial (unused) statelassulus2018-07-311-26/+33
|
* lib: add mountlassulus2018-07-311-0/+44
|
* add luks.extraArgslassulus2018-07-311-1/+1
|
* layout -> devices, expose bodylassulus2018-07-311-23/+18
|
* rename format -> createlassulus2018-07-241-21/+21
|
* add top-level layout typelassulus2018-07-191-0/+7
|
* generate nixos config from definition, split into format & configlassulus2018-07-191-16/+43
|
* fun.table: remove -a optimaltv2018-07-171-1/+1
|
* lib: add diskolassulus2018-07-171-0/+45