chore: revert function spacing

It turns out that no extra line is used when the function definition
isn't at the beginning of the file.
This commit is contained in:
Donovan Glover 2025-01-27 13:27:01 -05:00
parent 63391b634a
commit 8abd8444f0
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 0 additions and 8 deletions

View File

@ -7,7 +7,6 @@
outputs = outputs =
{ nix-config, ... }@attrs: { nix-config, ... }@attrs:
let let
inherit (nix-config.inputs) nixpkgs; inherit (nix-config.inputs) nixpkgs;
inherit (nixpkgs.lib) nixosSystem optional; inherit (nixpkgs.lib) nixosSystem optional;

View File

@ -24,14 +24,12 @@
outputs = outputs =
{ self, nixpkgs, ... }: { self, nixpkgs, ... }:
let let
inherit (nixpkgs.lib) nixosSystem genAttrs replaceStrings; inherit (nixpkgs.lib) nixosSystem genAttrs replaceStrings;
inherit (nixpkgs.lib.filesystem) packagesFromDirectoryRecursive listFilesRecursive; inherit (nixpkgs.lib.filesystem) packagesFromDirectoryRecursive listFilesRecursive;
forAllSystems = forAllSystems =
function: function:
genAttrs [ genAttrs [
"x86_64-linux" "x86_64-linux"
"aarch64-linux" "aarch64-linux"
@ -42,7 +40,6 @@
{ {
packages = forAllSystems ( packages = forAllSystems (
pkgs: pkgs:
packagesFromDirectoryRecursive { packagesFromDirectoryRecursive {
inherit (pkgs) callPackage; inherit (pkgs) callPackage;
@ -62,10 +59,8 @@
checks = forAllSystems ( checks = forAllSystems (
pkgs: pkgs:
genAttrs (map nameOf (listFilesRecursive ./tests)) ( genAttrs (map nameOf (listFilesRecursive ./tests)) (
name: name:
import ./tests/${name}.nix { import ./tests/${name}.nix {
inherit self pkgs; inherit self pkgs;
} }

View File

@ -58,7 +58,6 @@ in
wine = template // { wine = template // {
config = config =
{ nix-config, pkgs, ... }: { nix-config, pkgs, ... }:
{ {
imports = imports =
with nix-config.nixosModules; with nix-config.nixosModules;

View File

@ -7,7 +7,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
nodes.machine = nodes.machine =
{ nix-config, config, ... }: { nix-config, config, ... }:
{ {
imports = with nix-config.nixosModules; [ imports = with nix-config.nixosModules; [
shell shell