mirror of
https://github.com/divnix/digga.git
synced 2024-12-24 00:21:47 +03:00
format with nixpkgs#nixpkgs-fmt
This commit is contained in:
parent
ddb256725e
commit
da6e3fee94
@ -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
|
||||
|
@ -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)
|
||||
|
@ -89,8 +89,7 @@ in
|
||||
(
|
||||
[
|
||||
"${pkgs.any-nix-shell}/bin/any-nix-shell zsh --info-right | source /dev/stdin"
|
||||
] ++
|
||||
source
|
||||
] ++ source
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user