Commit Graph

143 Commits

Author SHA1 Message Date
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
lassulus
7a4c85b53e module: put disko scripts in system.build for better reference 2022-11-25 17:36:40 +01:00
lassulus
9cf4f170ae add zapCreateMount script for idempodents install from iso/kexec 2022-11-25 17:36:40 +01:00
lassulus
417ad31ca5 types: fix negative relative disk size 2022-11-25 08:38:47 +01:00
Lassulus
1668efc14a
Merge pull request #57 from a-kenji/fix-typos
fix: typos
2022-11-21 12:17:57 +01:00
a-kenji
581870a444 fix: typos 2022-11-21 12:00:45 +01:00
Lassulus
c60f20ceff
Merge pull request #56 from nix-community/cleanup 2022-11-15 20:27:44 +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
f22e2fa834
Merge pull request #55 from therishidesai/rdesai/add-mmcblk-support
add support for mmc blk devices
2022-11-15 19:21:14 +01:00
Rishi Desai
117292f5d6 add support for mmc blk devices 2022-11-15 18:12:39 +00:00
lassulus
d7e25ced8a disko: add --debug 2022-11-10 13:04:50 +01:00
lassulus
90178d4391 disko: enable flakes if flake was given 2022-11-10 12:34:45 +01:00
lassulus
d61fd1522b add regression test for #52 2022-11-10 09:46:55 +01:00
lassulus
c5973aed4e tests: add testBoot parameter to disable boot tests 2022-11-10 09:46:06 +01:00
lassulus
78d9448fcf types: make deviceDependencies optional 2022-11-10 09:36:31 +01:00
lassulus
c6152351f8 disko: add flake usage 2022-11-10 09:35:59 +01:00
lassulus
17d2392468 disko: don't create result links 2022-11-09 23:44:10 +01:00
lassulus
5fd29dfeb3 disko: support nixos-install style flake syntax 2022-11-09 23:36:46 +01:00
lassulus
7e52500078 disko: don't fail in flake mode 2022-11-09 16:43:46 +01:00
Lassulus
45ef21831e
Merge pull request #48 from nix-community/module 2022-11-09 13:26:43 +01:00
David Arnold
0af2a7c206 feat: allow to declare disko-config relative to flake 2022-11-09 12:30:06 +01:00
David Arnold
a023d391a0 feat: reuse the pre-installed channel 2022-11-09 12:28:18 +01:00
David Arnold
fa17cfe878 feat: trim the build to the minimum
on a slow finicky target machine, no time to pull gcc
2022-11-09 12:23:34 +01:00
David Arnold
15b62fd7a1 fix: expect normal disko-config module files 2022-11-09 12:21:45 +01:00
David Arnold
2a59af78a8 fix: add package build and fix disko 2022-11-09 12:21:24 +01:00
zimbatm
f82656afbd
WIP docs
Based on https://documentation.divio.com/
2022-11-02 18:59:01 +01:00
lassulus
1ddeb716b6 types: add more packages 2022-11-01 20:05:10 +01:00
lassulus
fec0b14fb5 add tests for module and cli 2022-11-01 20:05:10 +01:00
lassulus
f1531fb4f3 add disko cli 2022-11-01 20:05:10 +01:00
lassulus
324a8d5347 disko: add scripts with pkgs 2022-10-29 13:23:31 +02:00
lassulus
4184cbcd03 add module 2022-10-29 13:23:31 +02:00
lassulus
c777d1ca4f tests: add simple-efi 2022-10-23 12:29:13 +02:00
lassulus
87e93073ac example complex: fix default value 2022-10-23 11:36:56 +02:00
lassulus
3c4cc93007 export config list in types 2022-10-23 11:36:56 +02:00
lassulus
5aa3ebcb99 types: refactor topLevel into devices, move output generators to lib 2022-10-23 11:36:56 +02:00
lassulus
271b00593f types: add packages output 2022-10-23 11:34:39 +02:00
lassulus
89cc8978eb types: meta.dependencies -> meta.deviceDependencies 2022-10-23 11:34:39 +02:00
lassulus
8666475b74 tests: pass lib to examples 2022-10-23 11:34:39 +02:00
Jörg Thalheim
c96ccd7d9f
Merge pull request #43 from nix-community/test-config
add nixos tests for disko.config
2022-10-04 11:30:22 +02:00
Lassulus
60b5f5e749
Merge pull request #46 from nix-community/add-license-1 2022-10-02 22:33:46 +02:00
Lassulus
fed4b4d5a5
Create LICENSE 2022-10-02 22:31:39 +02:00
lassulus
9f7f23abdb add nixos tests for disko.config, extend/fix existing tests 2022-10-02 16:41:02 +02:00
lassulus
a215a19759 _config: use lists to merge config via nixos' imports = 2022-10-02 13:06:59 +02:00
lassulus
fba7b03a21 types mdadm: add metadata option 2022-10-02 13:06:59 +02:00