nix-config/modules/home.nix
Bruno BELANYI 0f17123d09 modules: change username configuration option
It makes more sense to have a `my.user` option.
2021-06-25 20:45:36 +02:00

12 lines
241 B
Nix

# Simplify setting home options
{ config, lib, ... }:
let
actualPath = [ "home-manager" "users" config.my.user.name "my" "home" ];
aliasPath = [ "my" "home" ];
in
{
imports = [
(lib.mkAliasOptionModule aliasPath actualPath)
];
}