tvl-depot/users/wpcarro/lib/default.nix
William Carroll 33f6419d7e refactor(wpcarro/nixos): Define shared nopn.nix module
Shared between `ava` and `tarasco`. Also define `lib/default.nix` to share
utility functions like `usermod` between NixOS configurations.

Change-Id: I65b8d37520426e164c9d5f722bee4731a3c6e641
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5942
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 03:02:21 +00:00

5 lines
102 B
Nix

{ depot, ... }:
{
usermod = name: depot.path.origSrc + ("/users/wpcarro/nixos/modules/${name}");
}