2024-07-18 14:16:04 +00:00
|
|
|
{ self, config, ... }:
|
|
|
|
{
|
2023-10-26 02:37:42 +00:00
|
|
|
flake.darwinModules = {
|
2024-07-18 14:16:04 +00:00
|
|
|
home =
|
|
|
|
let
|
2024-07-20 00:59:11 +00:00
|
|
|
inherit (config.me) username;
|
2024-07-18 14:16:04 +00:00
|
|
|
in
|
|
|
|
{
|
2024-07-20 00:59:11 +00:00
|
|
|
home-manager.users.${username} = {
|
2024-07-18 14:16:04 +00:00
|
|
|
imports = [ self.homeModules.darwin ];
|
|
|
|
};
|
2024-07-20 00:59:11 +00:00
|
|
|
users.users.${username} = {
|
|
|
|
name = username;
|
|
|
|
home = "/Users/${username}";
|
2024-07-18 14:16:04 +00:00
|
|
|
};
|
2023-10-26 02:37:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
default.imports = [
|
2023-11-03 04:12:17 +00:00
|
|
|
self.darwinModules_.home-manager
|
|
|
|
self.darwinModules.home
|
2023-10-26 02:37:42 +00:00
|
|
|
self.nixosModules.common
|
|
|
|
./fish.nix
|
|
|
|
./fonts.nix
|
|
|
|
./homebrew.nix
|
|
|
|
./system-defaults.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|