modules: home: use 'username' config value

This commit is contained in:
Bruno BELANYI 2021-05-30 01:31:05 +02:00
parent 4f1f687eea
commit 2fe4f1faad

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
{