dotfiles.nix/darwin/default.nix

29 lines
575 B
Nix

{ self, config, ... }:
{
flake.darwinModules = {
home =
let
inherit (config.me) username;
in
{
home-manager.users.${username} = {
imports = [ self.homeModules.darwin ];
};
users.users.${username} = {
name = username;
home = "/Users/${username}";
};
};
default.imports = [
self.darwinModules_.home-manager
self.darwinModules.home
self.nixosModules.common
./fish.nix
./fonts.nix
./homebrew.nix
./system-defaults.nix
];
};
}