Jörg Thalheim
a6a7ccbc9b
add shellcheck to flake instead
2023-01-10 08:05:45 +01:00
Jörg Thalheim
1c7467f163
add github action to keep flakes up-to-date
2023-01-04 15:04:45 +01:00
Jörg Thalheim
dcc80387d2
add bors.toml
2023-01-04 09:57:53 +01:00
Jörg Thalheim
eca7cb9132
bcachefs support
2023-01-04 09:57:53 +01:00
Jörg Thalheim
cb5748f03a
mount filesystems with the correct type flag
2022-12-29 18:54:28 +01:00
Jörg Thalheim
8b30cb1823
mdadm: add single-disk raid support
2022-12-23 17:30:25 +01:00
Jörg Thalheim
236e08da9c
pin nixpkgs again
2022-12-23 17:25:47 +01:00
Jörg Thalheim
17d17217d8
use stdenvNoCC instead of barebone derivation
2022-12-09 14:34:12 +01:00
Jörg Thalheim
9e2c9d06f5
expose disko for non x86
2022-12-09 14:34:12 +01:00
Jörg Thalheim
67f991e2bc
drop environment.systemPackages
...
Those packages are only used for installation and are not used
afterwards. system.build outputs can be used to get them in an installer
included.
2022-11-29 15:00:25 +01:00
Jörg Thalheim
6c3e0d22e4
remove dependency on bash
2022-11-29 13:08:24 +01:00
Jörg Thalheim
fb771318d1
add disko output variant without package list
...
for netboot or kexec based installer we may want to avoid uploading too
many dependencies because the target could go out-of-memory.
2022-11-27 16:50:46 +01:00
Jörg Thalheim
6bbdafce48
zapCreateMount: stop mdraids
2022-11-25 17:36:40 +01:00
Jörg Thalheim
a3bef46beb
README: fold installation methods
2022-11-15 19:38:18 +01:00
Jörg Thalheim
107b0ed59f
make flake the current installation recommendation
2022-11-15 19:33:15 +01:00
Jörg Thalheim
d0fd785c93
make device matching regexes a bit stricter
2022-11-15 19:30:09 +01:00
Jörg Thalheim
5cbe8fbb48
simplify deviceNumbering function
2022-11-15 19:28:28 +01:00
Jörg Thalheim
386e463cfc
fix standalone example
2022-09-13 13:32:28 +02:00
Jörg Thalheim
46177f0b30
disko: drop dependency on pkgs
...
This creates less headaches when importing nixos configuration and also
fix some flake use cases.
2022-09-13 13:29:18 +02:00
Jörg Thalheim
088b2a31d0
config: add zfsutil to zfs datasets as appropriate
2022-09-05 17:26:48 +02:00
Jörg Thalheim
55197cfc55
config: fix fsType for zfs
2022-09-05 17:23:17 +02:00
Jörg Thalheim
11d708dc31
fix nvme device names
2022-09-05 14:34:54 +02:00
Jörg Thalheim
380fcb3026
fix example/default.nix
2022-09-05 14:11:32 +02:00
Jörg Thalheim
077e6d4f60
README: fix example
2022-09-04 13:12:43 +02:00
Jörg Thalheim
68f950bf20
add test for standalone nixos config
2022-09-04 13:09:10 +02:00
Jörg Thalheim
65bd5a97f8
add test for lvm example
2022-09-04 12:52:19 +02:00
Jörg Thalheim
3e48d1fd85
name on partition is no longer optional
2022-09-04 12:27:59 +02:00
Jörg Thalheim
fd2de4ddd4
fix gpt-bios-compat example and test it.
2022-09-04 12:27:59 +02:00
Jörg Thalheim
e0de34c07d
make error message nicer if type is ommitted
2022-09-04 12:12:09 +02:00
Jörg Thalheim
722dde361c
zfs: support for root dataset mountpoint and mountpoint=none
2022-08-26 10:29:49 +02:00
Jörg Thalheim
57b7c5506a
also test zfs filesystem options
2022-08-26 09:12:40 +02:00
Jörg Thalheim
05a90d4227
tests: use mountpoint program to check for mountpoints
2022-08-26 08:51:21 +02:00
Jörg Thalheim
69f1337980
fix inconsistent indentation with nixpkgs-fmt
2022-08-26 08:41:58 +02:00
Jörg Thalheim
5643130fbb
fix mount.partition by non rehashing already hashed device-id
2022-08-23 20:37:22 +02:00
Jörg Thalheim
e9d1f151a2
use nix at eval time rather grep at runtime
2022-08-23 20:37:00 +02:00
Jörg Thalheim
fc568cf797
add flag support
2022-08-19 09:52:12 +02:00
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
dc0c387628
README: fix the example
2022-08-17 15:28:24 +02: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
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