treewide: format with nixpkgs-fmt
This commit is contained in:
parent
3daa990728
commit
be4b612b23
3
extern/default.nix
vendored
3
extern/default.nix
vendored
|
@ -25,6 +25,5 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# passed to all home-manager modules
|
# passed to all home-manager modules
|
||||||
userSpecialArgs = {
|
userSpecialArgs = { };
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
|
Loading…
Reference in a new issue