add config option for username

This commit is contained in:
twoneis 2024-07-20 21:46:24 +02:00
parent 7bb5c421f6
commit 1b3e9b1b34
9 changed files with 13 additions and 13 deletions

View file

@ -3,10 +3,10 @@
useGlobalPkgs = true;
useUserPackages = true;
users.twoneis = {
users.${config.username} = {
home = {
username = "twoneis";
homeDirectory = "/home/twoneis";
homeDirectory = "/home/${config.username}";
stateVersion = config.hmStateVersion;
};