From 5f8b3d97f55b0eecca4923382fc5f87cf7c2c36c Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sun, 14 Aug 2022 17:23:30 -0400 Subject: [PATCH] Formatting --- flake.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index a692c18..34fb3f6 100644 --- a/flake.nix +++ b/flake.nix @@ -4,34 +4,39 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.1"; - home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; - nur = { url = "github:nix-community/NUR"; inputs.nixpkgs.follows = "nixpkgs"; }; - nixos-hardware = { url = "github:NixOS/nixos-hardware/master"; inputs.nixpkgs.follows = "nixpkgs"; }; - emacs-overlay = { url = "github:nix-community/emacs-overlay"; inputs.nixpkgs.follows = "nixpkgs"; }; }; - outputs = inputs@{ self, utils, nixpkgs, nixos-hardware, nur, home-manager - , emacs-overlay, ... }: + outputs = + inputs@{ self + , emacs-overlay + , home-manager + , nixos-hardware + , nixpkgs + , nur + , utils + , ... + }: let inherit (utils.lib) mkFlake; inherit (self.lib.my) mapModules mapModulesRec'; - in mkFlake { + in + mkFlake { lib = nixpkgs.lib.extend (self: super: { my = import ./lib { inherit inputs;