chore: simplify formatting

Ran nix fmt and used built-ins where possible.
This commit is contained in:
Donovan Glover 2024-10-11 14:52:33 -04:00
parent c9652f1680
commit 35e390902a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -30,9 +30,8 @@
outputs =
{ self, nixpkgs, ... }:
let
inherit (nixpkgs.lib) nixosSystem genAttrs;
inherit (nixpkgs.lib) nixosSystem genAttrs replaceStrings;
inherit (nixpkgs.lib.filesystem) packagesFromDirectoryRecursive listFilesRecursive;
inherit (builtins) map replaceStrings;
forAllSystems =
function:
@ -57,9 +56,7 @@
name: import ./modules/${name}.nix
);
homeModules = genAttrs (map nameOf (listFilesRecursive ./home)) (
name: import ./home/${name}.nix
);
homeModules = genAttrs (map nameOf (listFilesRecursive ./home)) (name: import ./home/${name}.nix);
overlays = genAttrs (map nameOf (listFilesRecursive ./overlays)) (
name: import ./overlays/${name}.nix