Something went wrong. Try again.
A Nordic stronghold for declarative computing.
flakes nix nixos nix-darwin
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233{ lib, moduleLocation, ...}:let inherit (lib) mapAttrs mkOption types ;in{ # Currently, there's no nix-darwin module for flake-parts, # so we have to manually add flake.darwinModules. # The flake.darwinConfigurations as already been added to nix-darwin. options.flake.darwinModules = mkOption { type = types.lazyAttrsOf types.deferredModule; default = { }; apply = mapAttrs ( k: v: { _file = "${toString moduleLocation}#darwinModules.${k}"; imports = [ v ]; } ); description = '' nix-darwin modules.
You may use this for reusable pieces of configuration, service modules, etc. ''; };}