format with nixpkgs#nixpkgs-fmt

This commit is contained in:
Timothy DeHerrera 2019-12-15 01:08:22 -07:00
parent ddb256725e
commit da6e3fee94
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
4 changed files with 46 additions and 51 deletions

View file

@ -15,16 +15,12 @@ let
global = {
_module.args.utils = utils;
system.configurationRevision = flake.rev;
networking.hostName = self;
nix.package = nix.defaultPackage."${system}";
system.configurationRevision = flake.rev;
};
local = vimport ./. "${self}.nix";
in
[
core
@ -34,4 +30,4 @@ let
};
in
reqImport { dir = ./.; _import = config; }
reqImport { dir = ./.; _import = config; }

View file

@ -26,9 +26,9 @@ rec {
vimport = path: name: import (path + "/${name}");
reqImport = {
dir,
_import ? base: vimport dir (base + ".nix")
reqImport =
{ dir
, _import ? base: vimport dir (base + ".nix")
}:
mapFilterAttrs
(_: v: v != null)

View file

@ -89,8 +89,7 @@ in
(
[
"${pkgs.any-nix-shell}/bin/any-nix-shell zsh --info-right | source /dev/stdin"
] ++
source
] ++ source
);