modules: home: use 'username' config value

This commit is contained in:
Bruno BELANYI 2021-05-30 01:31:05 +02:00
parent ba15ad9674
commit 9d96899065

View file

@ -1,7 +1,7 @@
# Simplify setting home options
{ lib, ... }:
{ config, lib, ... }:
let
actualPath = [ "home-manager" "users" "ambroisie" "my" "home" ];
actualPath = [ "home-manager" "users" config.my.username "my" "home" ];
aliasPath = [ "my" "home" ];
in
{