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>
This commit is contained in:
parent
cd5fa69897
commit
33f6419d7e
7 changed files with 66 additions and 78 deletions
5
users/wpcarro/lib/default.nix
Normal file
5
users/wpcarro/lib/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ depot, ... }:
|
||||
|
||||
{
|
||||
usermod = name: depot.path.origSrc + ("/users/wpcarro/nixos/modules/${name}");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue