mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
chore: simplify formatting
Ran nix fmt and used built-ins where possible.
This commit is contained in:
parent
c9652f1680
commit
35e390902a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user