From 049028e55ae1ce8ee3f0d9732ad8e8a30350affe Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Mon, 20 Feb 2023 18:19:47 +0100 Subject: [PATCH] Make some home-manager settings pull from system config --- home/jopejoe1.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/jopejoe1.nix b/home/jopejoe1.nix index 8616ce9..f384a95 100644 --- a/home/jopejoe1.nix +++ b/home/jopejoe1.nix @@ -3,8 +3,8 @@ { home = { # Basic information for home-manager - username = "jopejoe1"; - homeDirectory = "/home/${config.home.username}"; + username = config.users.users.jopejoe1.name; + homeDirectory = config.users.users.jopejoe1.home; # Enviroment variables sessionVariables = {