Commit Graph

777 Commits

Author SHA1 Message Date
lassulus
0d39ae5a5b types luks: add password prompt 2023-10-02 16:57:23 +00:00
Kai Norman Clasen
f02d818e55
Fix example in README.md (#410)
* Fix example in README.md

The minimal example was missing the wrapping `disko.devices` attributes which resulted in the following error message:

```
error: attribute 'disko' missing

       at /nix/store/1lvj5ry4y5qyis40qcch1csf8h86z8bk-disko/share/disko/default.nix:10:49:

            9|       # _file = toString input;
           10|       imports = lib.singleton { disko.devices = cfg.disko.devices; };
             |                                                 ^
           11|       options = {
       Did you mean disk?
```

* Increase ESP size

From 100M to 500M

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

---------

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-10-02 17:52:49 +01:00
github-actions[bot]
19b6232466 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e12483116b3b51a185a33a272bf351e357ba9a99' (2023-09-21)
  → 'github:NixOS/nixpkgs/f3dab3509afca932f3f4fd0908957709bb1c1f57' (2023-09-27)
2023-09-28 01:21:32 +00:00
Jörg Thalheim
78fba3983d make boot large enough in tests
100M is not enough and I see people just copying examples without putting in any extra thoughts
https://github.com/TUM-DSE/doctor-cluster-config/pull/368
2023-09-27 06:19:07 +00:00
Jörg Thalheim
2b523b58e6 use M instead MiB suffix everywhere
This seems to do better alignment
2023-09-27 06:02:50 +00:00
Jörg Thalheim
b18f43a9c2 luks: don't leak secret in debug logs 2023-09-27 05:52:36 +00:00
cvoges12
0b178c0554 b/c DOS and Windows don't like lowercase labels 2023-09-26 20:26:41 +00:00
cvoges12
34dcdbbd64 boot -> Boot for change of order 2023-09-26 20:26:41 +00:00
cvoges12
07dd3af980 simple-efi example in HowTo.md to new disko API 2023-09-26 14:09:43 +00:00
lassulus
2bf4fc166b flake: deprecate .lib.lib 2023-09-26 14:00:14 +00:00
cvoges12
c2bdc227e4 docs: removed ESP label file
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-09-26 13:32:10 +00:00
cvoges12
a299a35962 removed deprecated name file from luks-btrfs-subvolumes example
I think this is the last name field in the examples.
2023-09-26 13:32:10 +00:00
lassulus
d48930701c lib.makeDiskImages: also execute postVM 2023-09-26 13:29:13 +00:00
Janik H
fbfd7567c2 make-disk-image: allow secrets-pre-install but after portioning 2023-09-25 16:45:37 +00:00
cvoges12
4a4d77a9ae added raid5 and raid6 to lvm 2023-09-25 14:09:47 +00:00
cvoges12
d60860e4cd Removed deprecated name field 2023-09-25 14:03:31 +00:00
Sam Hug
a14a3fb0a8 zfs_volume: fix /dev/zvol/ symlink race 2023-09-25 08:57:40 +00:00
github-actions[bot]
021f2a6fbe flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5148520bfab61f99fd25fb9ff7bfbb50dad3c9db' (2023-09-17)
  → 'github:NixOS/nixpkgs/e12483116b3b51a185a33a272bf351e357ba9a99' (2023-09-21)
2023-09-25 01:21:04 +00:00
lassulus
98a6ab9b52 make-disk-image: fix pre/post files with empty glob 2023-09-22 10:56:30 +00:00
Gerg-L
dd142cd8a2 fix: unquoted flake ref 2023-09-22 09:24:51 +00:00
Jörg Thalheim
f43f106e91 disko: also support -h 2023-09-20 10:13:12 +00:00
lassulus
9f29cedac7 rename makeDiskImage -> makeDiskImages 2023-09-18 12:16:33 +00:00
lassulus
56e6cad143 module: add images to system.build 2023-09-18 12:16:33 +00:00
Lassulus
10fb975003
Merge pull request #372 from maralorn/patch-1
Fix reference link quickstart.md
2023-09-18 14:11:54 +02:00
maralorn
999f80f315
Fix reference link quickstart.md 2023-09-18 13:05:43 +02:00
github-actions[bot]
7548ad9469 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1697b7d480449b01111e352021f46e5879e47643' (2023-09-13)
  → 'github:NixOS/nixpkgs/5148520bfab61f99fd25fb9ff7bfbb50dad3c9db' (2023-09-17)
2023-09-18 01:20:28 +00:00
Jörg Thalheim
9ab96378f8 reformat tree 2023-09-17 04:43:25 +00:00
Jörg Thalheim
1be23d771f replace statix with deadnix
statix does sometimes weird stuff while deadnix is even better at finding deadcode
2023-09-17 04:43:25 +00:00
Jörg Thalheim
4ec801c317 add deno to formatters 2023-09-17 04:43:25 +00:00
Jörg Thalheim
ea3e29fe7d update command line reference 2023-09-17 04:43:25 +00:00
David Arnold
0faae8adf6 fix: avoid external probing effects from other devices 2023-09-15 20:04:52 +00:00
Rudolf Vesely
8aa6ec5ff2 Changing how to open LUKS. 2023-09-15 07:39:16 +00:00
David Arnold
e52fd722dd docs: actually no-deps has a broder use case
e.g. when disk is run as recommended via nix run from github
2023-09-14 21:19:11 +00:00
David Arnold
6674809437 docs: document no-deps and what it's good for 2023-09-14 21:19:11 +00:00
David Arnold
dc47122688 docs: clarify the default root mountpoint 2023-09-14 21:19:11 +00:00
David Arnold
fbb51cc6d3 docs: add nixos module discovery to the usage string 2023-09-14 21:19:11 +00:00
David Arnold
e7b26f6220 fix: usage string for flakes 2023-09-14 21:19:11 +00:00
David Arnold
3dbb24d731 fix: unbound variables are forbidden 2023-09-14 21:19:11 +00:00
Rudolf Vesely
91af5b4a53 Add extra args into swap. 2023-09-14 17:02:49 +00:00
github-actions[bot]
6133a16d68 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/78058d810644f5ed276804ce7ea9e82d92bee293' (2023-09-10)
  → 'github:NixOS/nixpkgs/1697b7d480449b01111e352021f46e5879e47643' (2023-09-13)
2023-09-14 01:19:34 +00:00
lassulus
689873ae4f types *: run udevadm settle after partprobe 2023-09-13 22:07:35 +00:00
Rudolf Vesely
38daf3c84a Specify alignment for sgdisk. 2023-09-13 21:53:35 +00:00
lassulus
be98cffef0 example: add mdadm-raid0 2023-09-12 09:45:57 +00:00
lassulus
79785c1cfc add pkgs.parted where partprobe is needed 2023-09-12 09:45:57 +00:00
lassulus
7304727801 disk-deactivate: support all raid types 2023-09-12 08:41:56 +00:00
lassulus
7036bb8b30 disk-deactivate: execute directly instead of echoing script 2023-09-12 08:41:56 +00:00
Rudolf Vesely
fc6f863fe1 Fix problem with missing part. labels. 2023-09-11 19:42:40 +00:00
github-actions[bot]
b54e2dc988 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3c15feef7770eb5500a4b8792623e2d6f598c9c1' (2023-09-04)
  → 'github:NixOS/nixpkgs/78058d810644f5ed276804ce7ea9e82d92bee293' (2023-09-10)
2023-09-11 01:22:34 +00:00
lassulus
f9907fcf6d module: add extraTestConfig 2023-09-09 13:32:33 +00:00
Marijan Petričević
39aa449dbd docs: fix links in README 2023-09-09 13:29:14 +00:00