flake/users/guanranwang/darwin/profiles/core/default.nix

31 lines
585 B
Nix
Raw Normal View History

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
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"
];
}