2023-11-17 05:38:25 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
users = {
|
|
|
|
knownUsers = ["guanranwang"];
|
|
|
|
users."guanranwang" = {
|
|
|
|
createHome = true;
|
|
|
|
description = "Guanran Wang";
|
|
|
|
home = "/Users/guanranwang";
|
|
|
|
shell = pkgs.fish;
|
|
|
|
uid = 501;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
### Options
|
2023-11-19 05:33:31 +00:00
|
|
|
myFlake.darwin.networking.dns.provider = lib.mkDefault "alidns";
|
2023-11-27 12:31:17 +00:00
|
|
|
|
2023-11-17 05:38:25 +00:00
|
|
|
### Flakes
|
|
|
|
imports = [
|
|
|
|
../../../../../darwin/flake-modules/home-manager.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
### home-manager
|
|
|
|
home-manager.users.guanranwang.imports = map (n: ../../../home-manager/${n}) [
|
|
|
|
"default.nix"
|
|
|
|
"profiles/command-line/darwin"
|
|
|
|
];
|
|
|
|
}
|