You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
384 B
15 lines
384 B
/**
|
|
* Load a home-manager configuration for a set of active users
|
|
*
|
|
* This loader is not to be exposed to the rest of libkookie,
|
|
* and should only be accessible by harness/lib.
|
|
*/
|
|
|
|
modPath: activeUsers:
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
{ home-manager.users = (listToAttrs (map
|
|
(u: nameValuePair "${u.name}" ({ ... }:
|
|
{ imports = [ modPath ]; })) activeUsers));
|
|
}
|
|
|