Merged utils with lib

This commit is contained in:
Julien Malka 2021-12-29 16:41:31 +01:00
parent 35817544b1
commit 9889a415df
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F
3 changed files with 9 additions and 45 deletions

View file

@ -30,10 +30,10 @@
outputs = { self, home-manager, nixpkgs, unstable, sops-nix, neovim-nightly-overlay, nur, ... }@inputs:
let
utils = import ./utils.nix { inherit nixpkgs sops-nix home-manager inputs; nixpkgs-unstable = unstable; };
pkgs = import nixpkgs { system = "x86_64-linux"; };
lib = nixpkgs.lib.extend (import ./lib inputs);
in
with utils;
with lib;
{
nixosModules = builtins.listToAttrs (map
(x: {