2022-06-02 17:21:54 -04:00
|
|
|
{ config, lib, pkgs, dotfiles, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./homebrew.nix
|
2022-06-06 23:39:53 -04:00
|
|
|
|
|
|
|
../../modules/base/darwin.nix
|
2022-09-06 22:05:40 -04:00
|
|
|
../../modules/dev
|
2022-06-02 17:21:54 -04:00
|
|
|
../../modules/builder
|
|
|
|
];
|
|
|
|
|
2022-07-19 20:40:10 -04:00
|
|
|
nixpkgs.config.allowBroken = true;
|
|
|
|
|
2022-06-02 17:21:54 -04:00
|
|
|
# List packages installed in system profile. To search by name, run:
|
|
|
|
# $ nix-env -qaP | grep wget
|
2022-08-27 12:02:49 -04:00
|
|
|
environment.systemPackages = with pkgs; [ emacs ];
|
2022-06-02 17:21:54 -04:00
|
|
|
|
|
|
|
# Auto upgrade nix package and the daemon service.
|
|
|
|
services.nix-daemon.enable = true;
|
|
|
|
|
|
|
|
users.users.walkah = {
|
|
|
|
home = "/Users/walkah";
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
};
|
|
|
|
|
2022-09-19 22:42:10 -04:00
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2022-06-02 17:21:54 -04:00
|
|
|
home-manager.users.walkah = import "${dotfiles}/home.nix";
|
|
|
|
|
|
|
|
services.lorri.enable = true;
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
zsh = {
|
|
|
|
enable = true;
|
|
|
|
promptInit = "";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
system = {
|
|
|
|
defaults = {
|
|
|
|
dock = {
|
|
|
|
autohide = true;
|
|
|
|
orientation = "left";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
|
|
# $ darwin-rebuild changelog
|
|
|
|
system.stateVersion = 4;
|
|
|
|
}
|