Make some home-manager settings pull from system config

This commit is contained in:
Johannes Jöns 2023-02-20 18:19:47 +01:00
parent 156808d004
commit 049028e55a

View file

@ -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 = {