feat: multi user

This commit is contained in:
Ryan Yin
2024-08-16 10:33:07 +08:00
parent 42bcfeb47c
commit adc91138c5
9 changed files with 122 additions and 53 deletions

View File

@@ -1,6 +1,7 @@
{
pkgs,
config,
username,
...
}: {
programs = {
@@ -14,7 +15,7 @@
firefox = {
enable = true;
profiles.ryan = {};
profiles.${username} = {};
};
};
}
}

View File

@@ -7,7 +7,6 @@
programs.git = {
enable = true;
userName = "Ryan Yin";
userEmail = "xiaoyin_c@qq.com";
# ... Other options ...
};
}
}