2021-04-26 19:22:20 +02:00
|
|
|
# Simplify setting home options
|
2021-05-30 01:31:05 +02:00
|
|
|
{ config, lib, ... }:
|
2021-04-26 19:22:20 +02:00
|
|
|
let
|
2021-05-30 01:31:05 +02:00
|
|
|
actualPath = [ "home-manager" "users" config.my.username "my" "home" ];
|
2021-04-26 19:22:20 +02:00
|
|
|
aliasPath = [ "my" "home" ];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
(lib.mkAliasOptionModule aliasPath actualPath)
|
|
|
|
];
|
|
|
|
}
|