diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2022-08-17 17:52:12 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2022-08-19 09:52:12 +0200 |
commit | fc568cf797fdc4a726e2d961aa41d0dad1bbd004 (patch) | |
tree | 604ac9dbbe507598caf37e4cfb9a7536235b6501 /example/default.nix | |
parent | c40b0dc031f3cb32e86bff1f83760a75fa5c5b44 (diff) |
add flag support
Diffstat (limited to 'example/default.nix')
-rw-r--r-- | example/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/example/default.nix b/example/default.nix index f2826c9..bf8cd43 100644 --- a/example/default.nix +++ b/example/default.nix @@ -3,11 +3,13 @@ let # TODO: get rid of NIX_PATH dependency here pkgs = import <nixpkgs> {}; + cfg = import ./config.nix; + #cfg = import ./config-gpt-bios.nix; in with import ../lib { inherit (pkgs) lib;}; { - config = config (import ./config.nix); - create = create (import ./config.nix); - mount = mount (import ./config.nix); + config = config cfg; + create = create cfg; + mount = mount cfg; } |