Jörg Thalheim
c40b0dc031
fix standalone example
2022-08-19 09:47:43 +02:00
Jörg Thalheim
e123b05ff4
use findmnt and mount with X-mount.mkdir
...
This feels slightly cleaner and makes the code shorter.
2022-08-17 15:55:07 +02:00
Jörg Thalheim
f8522774e7
Merge pull request #10 from nix-community/docs
...
README: fix the example
2022-08-17 14:29:02 +01:00
Jörg Thalheim
dc0c387628
README: fix the example
2022-08-17 15:28:24 +02:00
Jörg Thalheim
91efad5326
Merge pull request #8 from nix-community/no-impure
...
No impure
2022-08-17 14:00:19 +01:00
Jörg Thalheim
6b3d6452eb
add flake
2022-08-17 14:53:51 +02:00
Jörg Thalheim
cfd8c7ae13
add gitignore
2022-08-17 14:53:43 +02:00
Jörg Thalheim
20bfa32750
disko: get rid of impure imports
...
This is a backwards-incompatible change but it allows to pin nixpkgs,
which is desirable especially in professional environments where
reproduciblity is important.
2022-08-17 14:53:43 +02:00
lassulus
2fc06462ce
fix: make test work with up2date nixpkgs
2022-07-10 09:41:53 +02:00
Lassulus
7dce65dd28
Merge pull request #6 from moduon/noop
...
feat: noop partitions
2022-07-10 09:41:41 +02:00
Jairo Llopis
9b53ee7b11
feat: noop partitions
...
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
2022-07-08 12:49:58 +01:00
Lassulus
1af856886e
Merge pull request #4 from Mic92/docs
...
Improve documentation
2019-09-16 12:51:00 +02:00
Jörg Thalheim
9385bfb16f
README.md: explain tsp-create/tsp-mount commands.
2019-09-16 10:56:55 +01:00
Jörg Thalheim
ca433fdaff
README: fix incorrect example
2019-09-16 10:56:41 +01:00
Jörg Thalheim
7ed3b9ad79
README.md: put tsp-disk.json before configuration.nix
...
This is imho the more important configuration of this tool.
The configuration.nix is just necessary boiler code.
2019-09-16 10:52:23 +01:00
Jörg Thalheim
1eb200a050
README.md: comment install-to-hd by default out
...
otherwise people might accidentally loose data.
2019-09-16 10:51:13 +01:00
lassulus
beda422c5f
README: fix example syntax
2019-02-02 12:32:10 +01:00
tv
16cd458af0
lib.*.lv: /dev/foo/bar -> /dev/mapper/foo-bar
2018-10-07 11:09:55 +02:00
tv
74703de270
lib.config.filesystem: propagate options
2018-10-07 10:53:47 +02:00
tv
396553d258
lib.config: mergeAttrs -> recursiveUpdate
2018-10-07 10:47:34 +02:00
lassulus
2b6391f1c3
add ci.nix
2018-09-13 21:55:14 +02:00
makefu
9c9b62e15e
lib/default: check for fs instead of luks
2018-09-11 23:23:14 +02:00
makefu
969d4e1f6a
optional string brackets
2018-09-11 22:47:42 +02:00
makefu
60bda6019f
Merge remote-tracking branch 'lass/fix'
2018-09-11 22:37:52 +02:00
lassulus
52b077dabb
mount.devices: fix attribute not found error
2018-09-11 21:14:10 +02:00
makefu
a252f8a57a
add default.nix
2018-09-11 20:52:12 +02:00
makefu
a16b5dfe64
add README,stand-alone example
2018-09-11 20:42:55 +02:00
lassulus
88f56a0b64
add nixos test
2018-08-05 11:45:15 +02:00
lassulus
fab04d2a5e
mount: prefix with /mnt
2018-08-05 11:44:34 +02:00
lassulus
107a37f527
lib.mount.filesystem: don't mount if already mounted
2018-07-31 22:17:39 +02:00
lassulus
348d4f164f
lib.body.*: don't require initial (unused) state
2018-07-31 22:09:14 +02:00
lassulus
9cbf541974
lib: add mount
2018-07-31 21:47:23 +02:00
lassulus
e8f7aa94c2
add luks.extraArgs
2018-07-31 21:39:56 +02:00
lassulus
0e8c5d1e67
layout -> devices, expose body
2018-07-31 21:39:51 +02:00
lassulus
d2f8f4a6cf
rename format -> create
2018-07-24 18:53:51 +02:00
lassulus
7262439401
add top-level layout type
2018-07-19 21:52:11 +02:00
lassulus
6232ab3078
generate nixos config from definition, split into format & config
2018-07-19 21:32:10 +02:00
tv
bff1223462
fun.table: remove -a optimal
2018-07-17 19:47:27 +02:00
lassulus
ced8b1197c
lib: add disko
2018-07-17 19:39:38 +02:00
tv
6fcd7fc2c4
example: sort and remove dead code
2018-07-13 14:21:14 +02:00
tv
c47d8972ad
move disko.nix to example/ and add usage
2018-07-13 13:53:46 +02:00
lassulus
db6151ff06
initial vommit
2018-07-13 11:16:12 +02:00