mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Use the pipe operator when applicable
This commit is contained in:
parent
61083d4359
commit
cd4e3ab2c1
2 changed files with 17 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{ self, lib, ... }:
|
||||
let
|
||||
modulesOf = dir: builtins.filter (lib.hasSuffix ".nix") (lib.filesystem.listFilesRecursive dir);
|
||||
modulesOf = dir: dir |> lib.filesystem.listFilesRecursive |> builtins.filter (lib.hasSuffix ".nix");
|
||||
in
|
||||
{
|
||||
flake = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue