my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

generic/packages: use lazyAttrsOf

about a 10% eval speed increase

isabel 627ed20b 10a75338

+2 -2
+2 -2
modules/generic/packages.nix
··· 6 6 }: 7 7 let 8 8 inherit (lib) mkOption mergeAttrsList optionalAttrs; 9 - inherit (lib.types) attrsOf package; 9 + inherit (lib.types) lazyAttrsOf package; 10 10 in 11 11 { 12 12 options.garden.packages = mkOption { 13 - type = attrsOf package; 13 + type = lazyAttrsOf package; 14 14 default = { }; 15 15 description = '' 16 16 A set of packages to install in the garden environment.