refactor: make username global variable
This commit is contained in:
parent
a5b3e2a175
commit
5d9230d64f
14 changed files with 25 additions and 79 deletions
|
@ -2,6 +2,7 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
@ -15,8 +16,8 @@
|
|||
programs.home-manager.enable = true;
|
||||
|
||||
home = {
|
||||
username = "rafiq";
|
||||
homeDirectory = "/home/rafiq";
|
||||
username = "${username}";
|
||||
homeDirectory = "/home/${username}";
|
||||
|
||||
# This defines the version home-manager
|
||||
# was originally bulit against on this system.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue