mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +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:
parent
c3da181593
commit
46177f0b30
2 changed files with 46 additions and 33 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue