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

View file

@ -5,6 +5,7 @@
imports = [ imports = [
./documentation.nix ./documentation.nix
./ergodox.nix ./ergodox.nix
./home.nix
./language.nix ./language.nix
./media.nix ./media.nix
./networking.nix ./networking.nix

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)
];
}