Commit graph

15 commits

Author SHA1 Message Date
Chris Scutcher
08435eec4b
style: Apply nixpkgs-fmt and fix
Apply standard formatting and some statix conventions using;

```sh
nixpkgs-fmt **.nix && statix fix .
```

With the intent of making contribution a bit easier and reducing mental
load in hand formatting (in the same vein as [black]).

[black]: https://github.com/psf/black#the-uncompromising-code-formatter
2023-02-06 14:24:34 +00:00
lassulus
33f93c658e tests zfs: add crypted 2022-12-26 21:13:34 +01:00
lassulus
a3e511d3c8 tests: change passphrase to secretsecret
this is needed for zfs
2022-12-26 21:13:34 +01:00
lassulus
17da9b0708 init disk-deactivate for cleaning up the disk 2022-12-24 20:53:56 +01:00
Jörg Thalheim
9e2c9d06f5 expose disko for non x86 2022-12-09 14:34:12 +01:00
lassulus
dfb7bd89e1 tests swap: get jq from systemPackages 2022-12-02 12:54:42 +01:00
lassulus
0f21bc31fe tests module: test system.build output instead of systemPackages 2022-12-01 20:11:22 +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
lassulus
c5973aed4e tests: add testBoot parameter to disable boot tests 2022-11-10 09:46:06 +01:00
lassulus
fec0b14fb5 add tests for module and cli 2022-11-01 20:05:10 +01:00
lassulus
8666475b74 tests: pass lib to examples 2022-10-23 11:34:39 +02:00
lassulus
9f7f23abdb add nixos tests for disko.config, extend/fix existing tests 2022-10-02 16:41:02 +02:00
lassulus
dcb0c42857 reimplement disko using the nixos type system
This should make the code cleaner, more robust and errors should be
clearer. we also changed the configuration format a bit.
2022-09-02 11:14:58 +02:00
Jörg Thalheim
69f1337980 fix inconsistent indentation with nixpkgs-fmt 2022-08-26 08:41:58 +02:00
lassulus
1ac0e76b15 tests: add lib, autoimport tests 2022-08-25 23:31:05 +02:00