From 2fe4f1faade32b8b0f8ade30b3774652978efb46 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 30 May 2021 01:31:05 +0200 Subject: [PATCH] modules: home: use 'username' config value --- modules/home.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home.nix b/modules/home.nix index f5314b9..a6fbc80 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -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 {