fix(tests): error: The option `fileSystems."/run/media/nixos_k3s".mountOptions' does not exist

This commit is contained in:
Ryan Yin
2024-03-25 00:27:35 +08:00
parent e5606b6619
commit d70eaa0b33
2 changed files with 2 additions and 4 deletions

View File

@@ -3,9 +3,7 @@
fileSystems."/run/media/nixos_k3s" = {
device = "/dev/disk/by-label/NIXOS_K3S";
fsType = "vfat";
mountOptions = [
"ro"
];
options = ["ro"];
};
disko.devices = {

View File

@@ -3,6 +3,6 @@
outputs,
}: let
hostsNames = builtins.attrNames outputs.nixosConfigurations;
expected = lib.genAttrs hostsNames (_: "x86-64-linux");
expected = lib.genAttrs hostsNames (_: "x86_64-linux");
in
expected