nixos: normalize eris_rom declaration

This commit is contained in:
Ehmry - 2021-03-28 14:59:32 +02:00
parent 94c73172cb
commit e379d1214e
5 changed files with 10 additions and 13 deletions

View File

@ -19,7 +19,6 @@ in λ(binary : Text) →
, label =
Init.LabelSelector.Type.Partial
{ prefix = Some "nixos -> ", suffix = None Text }
, attributes = toMap { directory = "/eris" }
}
]
}

View File

@ -1 +1,9 @@
{ imports = [ ./rom-fs.nix ./rom-memory.nix ]; }
{ pkgs, ... }: {
imports = [ ./rom-fs.nix ./rom-memory.nix ];
genode.core.children.eris_rom = {
package = pkgs.genodePackages.cached_fs_rom;
configFile = ./cached_fs_rom.dhall;
};
}

View File

@ -25,11 +25,6 @@
'';
};
genode.core.children.eris_rom = {
package = pkgs.genodePackages.cached_fs_rom;
configFile = ./cached_fs_rom.dhall;
};
};
}

View File

@ -26,11 +26,6 @@
'';
};
genode.core.children.eris_rom = {
package = pkgs.genodePackages.cached_fs_rom;
configFile = ./cached_fs_rom.dhall;
};
};
}

View File

@ -18,7 +18,7 @@ in λ(partitionType : Text) →
[ Init.Config.Policy::{
, service = "File_system"
, label = Init.LabelSelector.prefix "eris_rom"
, attributes = toMap { root = "/" }
, attributes = toMap { root = "/eris" }
}
]
}