flake/darwin/profiles/common/core/default.nix
2024-01-17 19:53:00 +08:00

34 lines
655 B
Nix

{
inputs,
pkgs,
...
}: {
### Options
home-manager.users.guanranwang = import ./home;
imports = [
./nix
./anti-features.nix
./networking.nix
inputs.self.darwinModules.default
inputs.home-manager.darwinModules.home-manager
];
users = {
knownUsers = ["guanranwang"];
users."guanranwang" = {
createHome = true;
description = "Guanran Wang";
home = "/Users/guanranwang";
shell = pkgs.fish;
uid = 501;
};
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {inherit inputs;}; # ??? isnt specialArgs imported by default ???
};
}