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
userSpecialArgs = {
};
userSpecialArgs = { };
}

View file

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

View file

@ -43,7 +43,8 @@ let
tests = nixos.lib.optionalAttrs (system == "x86_64-linux")
(import "${self}/tests" { inherit self pkgs; });
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; };
in
nixos.lib.recursiveUpdate tests deployChecks;

View file

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

View file

@ -0,0 +1 @@