mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
disko: drop dependency on pkgs
This creates less headaches when importing nixos configuration and also fix some flake use cases.
This commit is contained in:
1 parent
c3da181593
commit
46177f0b30
2 files changed
+46
-33
No files matched your search
+2
-4
@@ -1,8 +1,6 @@
|
||||
{ lib ? import <nixpkgs/lib>
|
||||
, pkgs ? import <nixpkgs> {}
|
||||
}:
|
||||
{ lib ? import <nixpkgs/lib> }:
|
||||
let
|
||||
types = import ./types.nix { inherit lib pkgs; };
|
||||
types = import ./types.nix { inherit lib; };
|
||||
eval = cfg: lib.evalModules {
|
||||
modules = lib.singleton {
|
||||
# _file = toString input;
|
||||
|
||||
Reference in new issue
Block a user