Felix Uhl
3b2e19fe7c
disko cli: fix misleading error message
...
Found this while trying to repro #523
2024-10-14 10:36:55 +00:00
lassulus
b6215392ec
Merge pull request #828 from Mipsters/patch-1
...
fixed logo suffix in INDEX.md
2024-10-12 21:10:31 +01:00
Tom
ed8323704a
fixed logo suffix in INDEX.md
2024-10-12 21:22:11 +03:00
Roberto Abdelkader Martínez Pérez
bdbdb725d6
fix: wrong attr path
...
Fixes a wrong attribute path in the documentation.
2024-10-11 23:01:02 +00:00
Felix Uhl
8c1668edec
release: fix wrong push command
2024-10-12 00:49:30 +02:00
Felix Uhl
a361933236
release: reset released flag
2024-10-11 21:02:24 +02:00
Felix Uhl
ff0a471763
release: v1.8.2
2024-10-11 21:02:24 +02:00
Felix Uhl
9788e5d458
release: Fix release script
2024-10-11 20:56:18 +02:00
Felix Uhl
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
aee84b5fb3
disko cli: add --version command
...
Fixes #745
This adds a script to create a release. Running it will create two
commits that would appear like this in `git log --oneline`:
67b5fff (master) release: reset released flag
0b808f3 (tag: v1.8.1) release: v1.8.1
100d2f3 docs: last change before release
It also re-creates the `version.nix` file, which is used by the flake
to determine the final version the disko CLI will print.
If `disko --version` is run from exactly the commit tagged `v1.8.1`, it
will print `1.8.1`. If it is run from any commit past that (like
master), it will print `1.8.1-67b5fff`, and if it is run from a local
folder with uncommitted changes, it will print `1.8.1-67b5fff-dirty`.
2024-10-11 15:14:56 +00:00
Felix Uhl
6af4e02b9c
Fix mergify deprecation warning
2024-10-11 11:13:39 +02:00
Felix Uhl
4c298a031a
Fix issue when config path contains spaces
2024-10-11 08:37:28 +00:00
Felix Uhl
efe7528578
disko cli: remove requirement for leading ./
...
Fixes #536
2024-10-11 08:37:28 +00:00
dependabot[bot]
d39ee33498
build(deps): bump cachix/install-nix-action from 29 to 30
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 29 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v29...v30 )
---
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>
2024-10-07 20:52:56 +00:00
Jörg Thalheim
48ebb57785
docs/interactive-vms: simplify usage to just one nix run
2024-10-05 06:23:52 +00:00
Jörg Thalheim
28c5af1e16
interactive-vm: allow to override virtualisation.memorySize
...
Users might set this value for building images but than need different
values when they run interactive virtual machines.
2024-10-05 06:23:52 +00:00
lassulus
574400001b
Merge pull request #809 from heytcass/patch-1
...
Grammar update on disko-install.md
2024-10-03 18:46:18 +01:00
Tom Cassady
1b17d96ac5
Grammar update on disko-install.md
...
Small typo fix going from "than" --> "then"
2024-10-03 13:32:50 -04:00
dependabot[bot]
568727a884
build(deps): bump cachix/install-nix-action from V28 to 29
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from V28 to 29. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/V28...v29 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 12:34:21 +00:00
Felix Uhl
fa0c181a83
docs: Fix grammar in offline installer
...
Fixes #607
2024-10-02 12:20:33 +00:00
Felix Uhl
da8f49246c
docs: Fix /boot security hole warning in examples
...
The alternative would be to do this automatically if format=="vfat" and
mountpoint=="/boot", but it's better to be upfront about this.
Fixes #527
2024-10-02 08:12:14 +00:00
Felix Uhl
6c5ba9ec9d
Merge pull request #806 from iFreilicht/luks-btrfs-raid-example
...
Luks btrfs raid example
2024-10-01 21:09:40 +02:00
Felix Uhl
b9c99485aa
Fix and comment luks-encrypted btrfs raid example
2024-10-01 19:35:27 +02:00
Felix Uhl
ba436edc9d
Test luks-encrypted btrfs raid
2024-10-01 19:34:46 +02:00
Sk7Str1pe
c312692abe
Create luks-btrfs-raid.nix
2024-10-01 19:34:46 +02:00
Felix Uhl
037be88911
Merge pull request #805 from nix-community/zfs-fix
...
Fix flaky zfs test
2024-10-01 19:34:16 +02:00
Jörg Thalheim
4e30bc7921
zfs-with-vdevs: increase pool import timeout
...
Fix fixes a long-standing test failures we have with the zfs-with-vdevs.
2024-10-01 10:08:10 +02:00
Jörg Thalheim
fc3ba6985f
only set boot.initrd.preDeviceCommands if we boot with script-based stage1
2024-10-01 09:58:39 +02:00
Jörg Thalheim
91cd091669
zpool: fix default value for cache
...
we want an empty list instead of null
2024-10-01 08:55:41 +02:00
Michael Hoang
b709e1cc33
interactive-vm: override forceImportRoot
...
Some users will have `boot.zfs.forceImportRoot = false;` in their
configurations which conflicts with `boot.zfs.forceImportAll = true;`,
so we set it to `true` to match.
2024-09-28 13:50:34 +00:00
Jörg Thalheim
67dc29be30
Merge pull request #716 from beviu/fmt-check
...
Add --check option to formatter in flake
2024-09-26 15:59:51 +02:00
Felix Uhl
72c867c439
Run nix fmt
2024-09-26 15:36:54 +02:00
beviu
4c4c869c2d
flake: add --check option to formatter
...
Add an option to check the formatting without modifying files.
This will be can be used in CI checks.
2024-09-26 12:52:03 +02:00
Felix Uhl
1879e48907
Merge pull request #801 from danjujan/master
...
make-disk-image: use memSize as default build-memory in diskoImagesScript
2024-09-26 12:50:29 +02:00
danjujan
18c5410fdf
make-disk-image: use memSize as default build-memory in diskoImagesScript
2024-09-26 12:28:15 +02:00
Jörg Thalheim
c1c472f4cd
Merge pull request #797 from r-vdp/always-add-dm-snapshot
...
Always add dm-snapshot when LVM is used
2024-09-25 09:39:37 +02:00
r-vdp
1f8e67e945
Always add dm-snapshot when LVM is used
...
The lvm_type is only set on RAID and thinly provisioned LVM volumes, but
regular LVM volumes without a type can also have snapshots.
2024-09-25 09:30:14 +02:00
Jörg Thalheim
6d42596a35
lvm: add missing dm-snapshot
...
Usually this is added by nixos-generate-config.
However now that we run nixos-generate-config before disko or we even
run nixos-facter, we likely not see the LVM block devices anymore.
2024-09-24 16:53:30 +00:00
Felix Uhl
c61e50b63a
Merge pull request #795 from Jayman2000/binlore-for-disko-commands
2024-09-24 07:45:17 +02:00
Jason Yundt
6d2914c62c
Add binlore for disko and disko-install
...
Consider this flake:
{
description = "Helper for reproducing a disko-related problem";
inputs = {
disko.url = "github:nix-community/disko/b1d6bed240abef5f5373e88fc7909f493013e557";
nixpkgs.follows = "disko/nixpkgs";
};
outputs =
{
self,
disko,
nixpkgs,
}:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages."${system}";
in
{
packages."${system}".default =
pkgs.resholve.writeScript "disko-install-binlore-test"
{
inputs = [ disko.packages."${system}".default ];
interpreter = "${pkgs.lib.getExe pkgs.bash}";
}
''
disko --help
disko-install --help
'';
};
}
That flake will fail to build because resholve thinks that disko and
disko-install might be able to execute their arguments. This commit
fixes that problem.
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2024-09-23 17:32:32 -04:00
zerox
b1d6bed240
interactive-vm: use host pkgs in the launcher script.
2024-09-23 13:23:58 +00:00
Jörg Thalheim
430ba34990
Merge pull request #793 from nix-community/joerg-ci
...
add workaround for failing zpool import test
2024-09-23 15:13:27 +02:00
Jörg Thalheim
e72de0702d
add workaround for failing zpool import test
2024-09-23 15:07:20 +02:00
lassulus
49b22d486c
delete old logo
2024-09-23 12:21:55 +02:00
Jörg Thalheim
51994df8ba
imageBuilder: add defaultText
...
otherwise documentation depends on the hostname to be set
2024-09-20 14:23:16 +00:00
Jörg Thalheim
0fe779905f
Merge pull request #785 from nix-community/smaller-fixes
...
Fix shellcheck for mounoptions with commas + escape filesystem args
2024-09-20 15:23:44 +02:00
Jörg Thalheim
9adb48e682
add workaround for flakey zfs tests
2024-09-20 15:16:46 +02:00
Jörg Thalheim
93c1dde419
tests/f2fs: add compression
...
This is a regression test for shellcheck, where we had to disable SC2054
2024-09-20 15:02:37 +02:00
Jörg Thalheim
da8bfaf1d5
shellcheck: also disable SC2054
2024-09-20 14:55:36 +02:00
Jörg Thalheim
bc7fd7238a
filesystem: escape shell args
2024-09-20 14:47:45 +02:00