57 Commits
Author SHA1 Message Date
provokateurin 5be012e917 fix: Apply umask=0077 to /boot partition in all examples 2025-01-06 20:23:33 +01:00
Felix Uhl daca7be309 outputs: make compatible with nix run and package lists
This adds new outpus like `format` and `formatNoDeps` which
are compatible with `nix run` so you can do something like

    nix run .#nixosConfigurations.myhostname.config.system.build.formatNoDeps

as originally intended in #78, or add disko to your configuration like

    environment.systemPackages = [
        config.system.build.format
        config.system.build.mount
        config.system.build.destroyFormatMount
    ];

as mentioned in #454.

Fixes part of #454
Supersedes #78

It also deprecates mode `disko` in favor of the clearer
`destroy,format,mount` and adds `format,mount` to allow easier in-place
updates.
2024-11-06 21:16:18 +01:00
Felix Uhlandmergify[bot] d7d57edb72 docs: Add docs for contributors
Fixes #334
2024-10-16 17:27:36 +00:00
Felix Uhlandmergify[bot] c7ef3964b6 docs: add "latest" tag to flake references
This ensures that people will always use the latest release, not just
whatever the current master is.
2024-10-11 15:14:56 +00:00
Felix Uhl 72c867c439 Run nix fmt 2024-09-26 15:36:54 +02:00
Jörg Thalheim 3646c27805 update project logo
fixes https://github.com/nix-community/disko/issues/781
2024-09-19 21:57:32 +02:00
a7656d4827 Update README.md
Co-authored-by: Paul Haerle <hello@phaer.org>
2024-08-20 17:13:52 +02:00
lassulus 6208b31a73 nix fmt 2024-07-21 16:44:30 +02:00
Jörg ThalheimandGitHub 2540cc069f Merge branch 'master' into patch-1 2024-06-10 10:14:22 +02:00
Jörg Thalheimandmergify[bot] 804ab2de77 treewide: reformat with nix fmt 2024-06-09 06:40:59 +00:00
Jörg ThalheimandGitHub dd378f1d58 README: link to matrix channel 2024-06-09 08:19:24 +02:00
Jörg ThalheimandGitHub 69e5942c9d README: drop numtide contributing guidelines
We don't have anything for disko yet unfortunately.
fixes https://github.com/nix-community/disko/issues/671
2024-06-09 08:15:08 +02:00
ginkogruenandGitHub 3db4bf7771 fix(docs): fixed typo in README.md 2024-06-09 02:11:53 +02:00
Janne Heß 14349830ad README: Use RFC166 formatting 2024-05-22 14:49:00 +02:00
Jörg ThalheimandJörg Thalheim 5eaf747af3 README: link to disko-install and disko-images 2024-04-29 17:43:27 +02:00
Qubasaandmergify[bot] 9f5d4e45cd nix fmt 2024-04-29 14:57:02 +00:00
Joachim Ernstandmergify[bot] 9fd80a030b docs: unify usage of disk-config.nix 2024-04-05 12:06:51 +00:00
Sebastian NeefandGitHub 54274cc65f Update README.md
Rename `/dev/nvme0n1` to `/dev/sda` to match the provided configuration.
2024-02-09 17:38:29 +01:00
Raphael Robatschandmergify[bot] f0a3425a7b docs: mention EF00 partition type in README.md
Otherwise systemd-boot will refuse to install the bootloader.
2024-01-08 19:13:21 +00:00
NAHOandmergify[bot] 1b19111387 docs: uniformly replace 'bash' tags with 'console'
Reverts: 9abffdda130e9e3f27892979e9324baee4c17735
2023-12-25 19:32:46 +00:00
NAHOandmergify[bot] 44e97d4197 docs: uniformly replace 'console' tags with 'bash'
Reverts: ca8e85652de6bd8fb365926f75ee830dc7fb5176
2023-12-25 19:32:46 +00:00
NAHOandmergify[bot] 6095c996e1 docs: uniformly replace 'bash' tags with 'console' 2023-12-25 19:32:46 +00:00
NAHOandmergify[bot] b814f6b555 docs: standardize code blocks 2023-12-25 19:32:46 +00:00
Paul HaerleandGitHub e526d4e653 Update README.md
...and try to make it a bit clearer that the attribute name in disko.devices.disk is quite arbitrary to prevent confusion as in #473
2023-12-21 11:36:17 +00:00
Paul HaerleandJörg Thalheim 3ca75072ad Update README.md
make simple disko config even simpler
2023-12-20 23:54:08 +01:00
Jörg Thalheimandmergify[bot] c7f594c2ab doc: add experimental flags to examples
fixes https://github.com/nix-community/disko/issues/459
2023-12-06 22:51:30 +00:00
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
Jörg Thalheimandmergify[bot] 9ab96378f8 reformat tree 2023-09-17 04:43:25 +00:00
Marijan Petričevićandmergify[bot] 39aa449dbd docs: fix links in README 2023-09-09 13:29:14 +00:00
Valentin Gagarinandmergify[bot] 487a978e34 capitalise NixOS 2023-09-01 09:53:02 +00:00
lassulusandmergify[bot] 5a9bfa9fa6 fix example in README 2023-08-07 15:57:14 +00:00
lassulusandmergify[bot] f6649d69d9 cli/default: refactor to use more code from lib 2023-07-19 19:07:40 +00:00
lassulus 789e93d61c docs: minor fixups 2023-06-05 10:23:08 +02:00
Jillandlassulus 2e548efae3 Add INDEX.md, requirements.md and support_matrix.md 2023-06-05 10:16:44 +02:00
JillThornhillandlassulus 15020a6395 Update README.md
Editing Readme
2023-06-05 10:16:44 +02:00
Jörg Thalheim c7d5aef3f0 README: add project logo 2023-04-16 17:16:17 +02:00
Joachim BreitnerandGitHub 67e9c88cd5 Improve example code in README
It seems the type is not needed anymore.
2023-04-16 14:51:08 +02:00
Jörg Thalheim 8ac50aa153 improve changelog 2023-04-15 16:08:27 +02:00
Glenn McDonaldandGitHub 2e1b918565 Fix typo in README.md 2023-03-10 08:30:04 -05:00
AidenandJörg Thalheim a9e0f9ba44 insert output of the cli --help 2023-02-03 13:29:45 +01:00
Jörg Thalheim 66b265be44 add quickstart guide 2023-02-03 13:22:44 +01:00
Martin Weinelt 189083d355 README: Advertise correct branch name in channel url 2023-01-11 16:31:21 +01:00
MatthewandGitHub 3aef5a5613 Fix typo: "diska" -> "disko" 2022-12-26 15:34:40 -08:00
lassulus 66add2cd9e zap: destroy all mdadm devices if mdadm is in PATH 2022-12-08 21:03:38 +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
zimbatm f82656afbd WIP docs
Based on https://documentation.divio.com/
2022-11-02 18:59:01 +01:00
lassulus 4184cbcd03 add module 2022-10-29 13:23:31 +02:00
Jörg Thalheim 077e6d4f60 README: fix example 2022-09-04 13:12:43 +02:00
Jörg Thalheim dc0c387628 README: fix the example 2022-08-17 15:28:24 +02:00