remove another instance of hostId

This commit is contained in:
Jörg Thalheim 2023-09-02 19:42:05 +02:00 committed by mergify[bot]
parent a47b0e7599
commit ecfb74e5cf
6 changed files with 7 additions and 5 deletions

View file

@ -167,8 +167,7 @@ let
({ config, ... }: {
boot.supportedFilesystems =
[ "btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs" ] ++
lib.optional (lib.meta.availableOn pkgs.stdenv.hostPlatform config.boot.zfs.package) "zfs";
networking.hostId = "8425e349";
lib.optional (config.networking.hostId != null && lib.meta.availableOn pkgs.stdenv.hostPlatform config.boot.zfs.package) "zfs";
})
(if lib.versionAtLeast (lib.versions.majorMinor lib.version) "23.11" then {

View file

@ -5,6 +5,7 @@ diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "cli";
disko-config = ../example/complex.nix;
extraInstallerConfig.networking.hostId = "8425e349";
extraSystemConfig = {
networking.hostId = "8425e349";
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!

View file

@ -5,6 +5,7 @@ diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "complex";
disko-config = ../example/complex.nix;
extraInstallerConfig.networking.hostId = "8425e349";
extraSystemConfig = {
networking.hostId = "8425e349";
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!

View file

@ -5,6 +5,7 @@ diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "module";
disko-config = ../example/complex.nix;
extraInstallerConfig.networking.hostId = "8425e349";
extraSystemConfig = {
networking.hostId = "8425e349";
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!

View file

@ -4,9 +4,8 @@
diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "zfs-over-legacy";
extraSystemConfig = {
networking.hostId = "8425e349";
};
extraInstallerConfig.networking.hostId = "8425e349";
extraSystemConfig.networking.hostId = "8425e349";
disko-config = ../example/zfs-over-legacy.nix;
extraTestScript = ''
machine.succeed("test -e /zfs_fs");

View file

@ -5,6 +5,7 @@ diskoLib.testLib.makeDiskoTest {
inherit pkgs;
name = "zfs";
disko-config = ../example/zfs.nix;
extraInstallerConfig.networking.hostId = "8425e349";
extraSystemConfig = {
networking.hostId = "8425e349";
fileSystems."/zfs_legacy_fs".options = [ "nofail" ]; # TODO find out why we need this!