modules: add home
This makes setting and referring to my home-manager options easier.
This commit is contained in:
parent
f57cfda767
commit
b6fb77fc34
|
@ -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
11
modules/home.nix
Normal 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)
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue