dotfiles/mbp/configuration.nix
2025-10-02 02:11:54 +03:00

71 lines
1.2 KiB
Nix
Executable file

{ config, lib, pkgs, ... }:
{
nix.enable = false;
homebrew = {
enable = true;
onActivation.autoUpdate = true;
onActivation.upgrade = true;
#onActivation.cleanup = "zap";
casks = [
"bettermouse"
"telegram"
"meta"
"cryptomator"
"citrix-workspace"
"mullvad-vpn"
"vscodium"
"obs"
"arc"
"tailscale-app"
"blender"
"UTM"
"Keka"
"Secretive"
"Obsidian"
"Discord"
"Element"
"IINA"
"ghostty"
"orion"
];
masApps = {
"Bitwarden" = 1352778147;
"DropOver" = 1355679052;
"Yubico Authenticator" = 1497506650;
};
};
system.primaryUser = "duumxh";
users.users.duumxh.home = "/Users/duumxh";
security.pam.services.sudo_local.touchIdAuth = true;
system.stateVersion = 5;
system.defaults = {
screencapture.type = "png";
dock = {
autohide = true;
autohide-delay = 0.0;
mineffect = "scale";
minimize-to-application = true;
mru-spaces = false;
show-recents = false;
tilesize = 40;
};
finder = {
AppleShowAllFiles = true;
AppleShowAllExtensions = true;
ShowPathbar = true;
ShowStatusBar = true;
};
};
nixpkgs.hostPlatform = "aarch64-darwin";
nixpkgs.config.allowUnfree = true;
}