mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 17:28:49 +02:00
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:
parent
63391b634a
commit
8abd8444f0
@ -7,7 +7,6 @@
|
||||
|
||||
outputs =
|
||||
{ nix-config, ... }@attrs:
|
||||
|
||||
let
|
||||
inherit (nix-config.inputs) nixpkgs;
|
||||
inherit (nixpkgs.lib) nixosSystem optional;
|
||||
|
@ -24,14 +24,12 @@
|
||||
|
||||
outputs =
|
||||
{ self, nixpkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (nixpkgs.lib) nixosSystem genAttrs replaceStrings;
|
||||
inherit (nixpkgs.lib.filesystem) packagesFromDirectoryRecursive listFilesRecursive;
|
||||
|
||||
forAllSystems =
|
||||
function:
|
||||
|
||||
genAttrs [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
@ -42,7 +40,6 @@
|
||||
{
|
||||
packages = forAllSystems (
|
||||
pkgs:
|
||||
|
||||
packagesFromDirectoryRecursive {
|
||||
inherit (pkgs) callPackage;
|
||||
|
||||
@ -62,10 +59,8 @@
|
||||
|
||||
checks = forAllSystems (
|
||||
pkgs:
|
||||
|
||||
genAttrs (map nameOf (listFilesRecursive ./tests)) (
|
||||
name:
|
||||
|
||||
import ./tests/${name}.nix {
|
||||
inherit self pkgs;
|
||||
}
|
||||
|
@ -58,7 +58,6 @@ in
|
||||
wine = template // {
|
||||
config =
|
||||
{ nix-config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
with nix-config.nixosModules;
|
||||
|
@ -7,7 +7,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
|
||||
|
||||
nodes.machine =
|
||||
{ nix-config, config, ... }:
|
||||
|
||||
{
|
||||
imports = with nix-config.nixosModules; [
|
||||
shell
|
||||
|
Loading…
x
Reference in New Issue
Block a user