diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2022-09-13 13:21:37 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2022-09-13 13:29:18 +0200 |
commit | 46177f0b30b7f646c9b5a72eebcc2327357e1e6e (patch) | |
tree | 49dc41e4fd149403c1a1372f17cb4b4fd6c0c1b6 /default.nix | |
parent | c3da181593872cc1af14883d394ee0a01dd43a13 (diff) |
disko: drop dependency on pkgs
This creates less headaches when importing nixos configuration and also
fix some flake use cases.
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/default.nix b/default.nix index 4aa4ef5..98f5213 100644 --- a/default.nix +++ b/default.nix @@ -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; |