dotfiles.nix/darwin/default.nix

29 lines
548 B
Nix
Raw Normal View History

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
inherit (config.users) me;
in
{
home-manager.users.${me} = {
imports = [ self.homeModules.darwin ];
};
users.users.${me} = {
name = me;
home = "/Users/${me}";
};
2023-10-26 02:37:42 +00:00
};
default.imports = [
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
];
};
}