From 739de7a8fa0ca6c990fd9e7608f69c809cd6f352 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 23 Mar 2022 20:45:38 +0100 Subject: ... --- flake.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index a218d2fe..bf412444 100644 --- a/flake.nix +++ b/flake.nix @@ -36,6 +36,13 @@ ref = "master"; inputs.nixpkgs.follows = "nixpkgs"; }; + flake-compat = { + type = "github"; + owner = "edolstra"; + repo = "flake-compat"; + ref = "master"; + flake = false; + }; }; outputs = { self, nixpkgs, home-manager, sops-nix, deploy-rs, nvfetcher, ... }@inputs: @@ -166,9 +173,6 @@ homeConfigurations = listToAttrs (concatLists (mapAttrsToList (hostname: nixosConfig: mapAttrsToList (username: configuration: nameValuePair "${username}@${hostname}" { inherit (configuration.home) activationPackage; }) nixosConfig.config.home-manager.users) self.nixosConfigurations)); overlays = mapAttrs (_name: path: mkOverlay path) overlayPaths; - overlays-path = forAllSystems (system: systemPkgs: systemPkgs.writeText "overlays.nix" '' - map import (builtins.attrValues (builtins.fromJSON ${escapeNixString (toJSON overlayPaths)})) - ''); packages = mapAttrs (_name: filterAttrs (_name: isDerivation)) packages; packages' = mapAttrs (_name: filterAttrs (_name: value: !(isDerivation value))) packages; -- cgit v1.2.3