treewide: format with nixpkgs-fmt

This commit is contained in:
Timothy DeHerrera 2021-04-09 19:22:08 -06:00
parent 3daa990728
commit be4b612b23
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
9 changed files with 48 additions and 43 deletions

3
extern/default.nix vendored
View file

@ -25,6 +25,5 @@
]; ];
# passed to all home-manager modules # passed to all home-manager modules
userSpecialArgs = { userSpecialArgs = { };
};
} }

View file

@ -32,7 +32,8 @@
let let
lib = import ./lib { inherit self nixos inputs; }; lib = import ./lib { inherit self nixos inputs; };
in in
lib.mkFlake { lib.mkFlake
{
inherit self; inherit self;
hosts = ./hosts; hosts = ./hosts;
packages = import ./pkgs; packages = import ./pkgs;

View file

@ -43,7 +43,8 @@ let
tests = nixos.lib.optionalAttrs (system == "x86_64-linux") tests = nixos.lib.optionalAttrs (system == "x86_64-linux")
(import "${self}/tests" { inherit self pkgs; }); (import "${self}/tests" { inherit self pkgs; });
deployHosts = nixos.lib.filterAttrs deployHosts = nixos.lib.filterAttrs
(n: _: self.nixosConfigurations.${n}.config.nixpkgs.system == system) self.deploy.nodes; (n: _: self.nixosConfigurations.${n}.config.nixpkgs.system == system)
self.deploy.nodes;
deployChecks = deploy.lib.${system}.deployChecks { nodes = deployHosts; }; deployChecks = deploy.lib.${system}.deployChecks { nodes = deployHosts; };
in in
nixos.lib.recursiveUpdate tests deployChecks; nixos.lib.recursiveUpdate tests deployChecks;

View file

@ -107,8 +107,11 @@ let
extern = extern =
let let
defaults = { defaults = {
modules = []; overlays = []; specialArgs = {}; modules = [ ];
userModules = []; userSpecialArgs = {}; overlays = [ ];
specialArgs = { };
userModules = [ ];
userSpecialArgs = { };
}; };
in in
mkOption { mkOption {

View file

@ -0,0 +1 @@