mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
add flag support
This commit is contained in:
1 parent
c40b0dc031
commit
fc568cf797
4 files changed
+42
-3
No files matched your search
+5
-3
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user