add support for another mountpoint than /mnt

This commit is contained in:
lassulus 2023-01-24 15:57:17 +01:00 committed by lassulus
parent d7e178126f
commit af2da574be
6 changed files with 40 additions and 19 deletions

View file

@ -1,6 +1,8 @@
{ lib ? import <nixpkgs/lib> }:
{ lib ? import <nixpkgs/lib>
, rootMountPoint ? "/mnt"
}:
let
types = import ./types.nix { inherit lib; };
types = import ./types.nix { inherit lib rootMountPoint; };
eval = cfg: lib.evalModules {
modules = lib.singleton {
# _file = toString input;