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 ca48df5674
commit 864e78bc61
2 changed files with 12 additions and 0 deletions

View file

@ -5,6 +5,7 @@
imports = [
./documentation.nix
./ergodox.nix
./home.nix
./language.nix
./media.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)
];
}