modules: add home
This makes setting and referring to my home-manager options easier.
This commit is contained in:
parent
f57cfda767
commit
b6fb77fc34
2 changed files with 12 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue