move ensureZfsMounts
This commit is contained in:
@@ -2,9 +2,17 @@
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
pkgs.testers.runNixOSTest {
|
||||
let
|
||||
# Create pkgs with ensureZfsMounts overlay
|
||||
testPkgs = import inputs.nixpkgs {
|
||||
system = pkgs.system;
|
||||
overlays = [ (import ../overlays.nix) ];
|
||||
};
|
||||
in
|
||||
testPkgs.testers.runNixOSTest {
|
||||
name = "zfs folder dependency and mounting test";
|
||||
|
||||
nodes.machine =
|
||||
@@ -35,7 +43,7 @@ pkgs.testers.runNixOSTest {
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.parted
|
||||
lib.ensureZfsMounts
|
||||
pkgs.ensureZfsMounts
|
||||
];
|
||||
|
||||
systemd.services.foobar = {
|
||||
|
||||
Reference in New Issue
Block a user