Commit Graph

801 Commits

Author SHA1 Message Date
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
lassulus
7bee8de8e6 disk-deactivate: return correct bash script 2023-09-07 06:48:47 +00:00
github-actions[bot]
ec8b802c2d flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d816b5ab44187a2dd84806630ce77a733724f95f' (2023-09-03)
  → 'github:NixOS/nixpkgs/3c15feef7770eb5500a4b8792623e2d6f598c9c1' (2023-09-04)
2023-09-07 01:25:18 +00:00
lassulus
b2ea7d6258 disk-deactivate: show disk layout before and after running 2023-09-05 09:23:03 +00:00
dependabot[bot]
22e6e78e06 build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 06:12:22 +00:00
dependabot[bot]
3d7a95faf7 build(deps): bump cachix/install-nix-action from 22 to 23
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 06:09:06 +00:00
Jörg Thalheim
b1389282b9
Merge pull request #348 from DavHau/dave
improve examples and zpool mode type
2023-09-05 08:04:11 +02:00
DavHau
321d75becb types/zpool: use enum type for mode 2023-09-04 23:02:33 +02:00
DavHau
b755564539 examples: use zstd compression as default 2023-09-04 23:02:07 +02:00
github-actions[bot]
1c38664f59 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a63a64b593dcf2fe05f7c5d666eb395950f36bc9' (2023-08-30)
  → 'github:NixOS/nixpkgs/d816b5ab44187a2dd84806630ce77a733724f95f' (2023-09-03)
2023-09-04 01:38:35 +00:00
dependabot[bot]
06481a9836 build(deps): bump DeterminateSystems/update-flake-lock from 19 to 20
Bumps [DeterminateSystems/update-flake-lock](https://github.com/determinatesystems/update-flake-lock) from 19 to 20.
- [Release notes](https://github.com/determinatesystems/update-flake-lock/releases)
- [Commits](https://github.com/determinatesystems/update-flake-lock/compare/v19...v20)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02 17:58:57 +00:00
Jörg Thalheim
ecfb74e5cf remove another instance of hostId 2023-09-02 17:55:49 +00:00
github-actions[bot]
a47b0e7599 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cddebdb60de376c1bdb7a4e6ee3d98355453fe56' (2023-08-27)
  → 'github:NixOS/nixpkgs/a63a64b593dcf2fe05f7c5d666eb395950f36bc9' (2023-08-30)
2023-09-02 17:00:21 +00:00
Jörg Thalheim
44bfe24a8e
Merge pull request #343 from nix-community/quick-start-update
grub: drop version 2 from docs
2023-09-02 18:52:42 +02:00
Jörg Thalheim
3133097918 grub: drop version 2 from docs 2023-09-02 18:45:50 +02:00
Jörg Thalheim
a4bf32f6f0
Merge pull request #341 from nix-community/zfs-hostid
do not set networking.hostId in vm tests by default
2023-09-02 18:41:18 +02:00
Jörg Thalheim
0eb913fe20
Merge pull request #342 from nix-community/platform-fixes
disable shellcheck for x86_32 and riscv64 in one place
2023-09-02 18:41:03 +02:00
Jörg Thalheim
76d301bc94 tests/complex: also mark zfs_fs dataset as non-fail
Reason is probably same as zfs_legacy_fs
2023-09-02 18:37:01 +02:00
Jörg Thalheim
c4f2de908d fix evaluation of checks on non-x86_64-linux
run nix fmt
2023-09-02 18:37:01 +02:00
Jörg Thalheim
9de99e174c run nix-fmt 2023-09-02 18:08:41 +02:00
Jörg Thalheim
78856a26b6 mergify: switch to buildbot 2023-09-02 14:18:17 +02:00
Jörg Thalheim
de50df482e do not set networking.hostId in vm tests by default
This will conflict with the user defaults otherwise
2023-09-02 14:16:18 +02:00
lassulus
dd5cdd852c module: add tests.extraChecks 2023-09-02 10:14:48 +00:00
Valentin Gagarin
487a978e34 capitalise NixOS 2023-09-01 09:53:02 +00:00
lassulus
d53cd437d3 module: fix legacy aliases 2023-08-31 10:00:56 +00:00
github-actions[bot]
00169fe4a6 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f0451844bbdf545f696f029d1448de4906c7f753' (2023-08-12)
  → 'github:NixOS/nixpkgs/cddebdb60de376c1bdb7a4e6ee3d98355453fe56' (2023-08-27)
2023-08-28 02:19:48 +00:00
lassulus
4eed2457b0 tests luks-interactive: do luks unlock manually 2023-08-16 15:19:21 +00:00