A32NGEIBDOOKELILD6YPAGDCEDVVSYBSNJNS4RDXB7SHBQNIVNPQC
passwordCommand =
"${pkgs.gnome3.libsecret}/bin/secret-tool lookup email ${email}";
passwordCommand = if pkgs.stdenv.hostPlatform.isLinux then
"${pkgs.gnome3.libsecret}/bin/secret-tool lookup email ${email}"
else
"security find-generic-password -a christophercummings -s ${email} -w";
{ config, pkgs, ... }:
{
system.defaults.dock.autohide = true;
system.defaults.dock.mru-spaces = false;
system.defaults.dock.orientation = "left";
system.defaults.dock.showhidden = true;
services.yabai.enable = true;
services.yabai.package = pkgs.yabai;
services.skhd.enable = true;
services.skhd.package = pkgs.skhd;
launchd.user.agents.syncemail = {
command = "${pkgs.isync}/bin/mbsync -a && mu ${pkgs.mu}/bin/mu index";
serviceConfig.StartInterval = 60 * 5;
};
}
{ config, pkgs, ... }:
{
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [ git stow ];
nix.allowedUsers = [ "*" ];
# Use a custom configuration.nix location.
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix";
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
nix.package = pkgs.nix;
# Create /etc/zprofile that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 4;
}