mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
fix(tests): error: The option `fileSystems."/run/media/nixos_k3s".mountOptions' does not exist
This commit is contained in:
@@ -3,9 +3,7 @@
|
|||||||
fileSystems."/run/media/nixos_k3s" = {
|
fileSystems."/run/media/nixos_k3s" = {
|
||||||
device = "/dev/disk/by-label/NIXOS_K3S";
|
device = "/dev/disk/by-label/NIXOS_K3S";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
mountOptions = [
|
options = ["ro"];
|
||||||
"ro"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
outputs,
|
outputs,
|
||||||
}: let
|
}: let
|
||||||
hostsNames = builtins.attrNames outputs.nixosConfigurations;
|
hostsNames = builtins.attrNames outputs.nixosConfigurations;
|
||||||
expected = lib.genAttrs hostsNames (_: "x86-64-linux");
|
expected = lib.genAttrs hostsNames (_: "x86_64-linux");
|
||||||
in
|
in
|
||||||
expected
|
expected
|
||||||
|
|||||||
Reference in New Issue
Block a user