modules: add home

This makes setting and referring to my home-manager options easier.
This commit is contained in:
Bruno BELANYI 2021-04-26 17:22:20 +00:00
parent f57cfda767
commit b6fb77fc34
2 changed files with 12 additions and 0 deletions

11
modules/home.nix Normal file
View file

@ -0,0 +1,11 @@
# Simplify setting home options
{ lib, ... }:
let
actualPath = [ "home-manager" "users" "ambroisie" "my" "home" ];
aliasPath = [ "my" "home" ];
in
{
imports = [
(lib.mkAliasOptionModule aliasPath actualPath)
];
}