dotfiles init

This commit is contained in:
Den Afanasyev 2025-06-15 07:14:24 +03:00
commit 5edf0f15fc
5 changed files with 381 additions and 0 deletions

87
mbp.nix Normal file
View file

@ -0,0 +1,87 @@
{ config, lib, pkgs, ... }:
{
homebrew = {
enable = true;
onActivation.autoUpdate = true;
onActivation.upgrade = true;
#onActivation.cleanup = "zap";
casks = [
"telegram"
"blip"
"meta"
"doppler"
"steam"
"logi-options+"
"cryptomator"
"crossover"
"clone-hero"
"mullvadvpn"
"vscodium"
"obs"
"qbittorrent@lt20"
"krita"
"arc"
"tailscale"
"blender"
"UTM"
"Keka"
"Secretive"
"Loop"
"HiddenBar"
"Obsidian"
"RayCast"
"Discord"
"Element"
"IINA"
"appcleaner"
"wireshark"
"ghostty"
"nvidia-geforce-now"
"teamspeak-client@beta"
"mac-mouse-fix"
"firefox"
"prismlauncher"
"orion"
];
masApps = {
"Bitwarden" = 1352778147;
"DropOver" = 1355679052;
};
};
system.primaryUser = "duumxh";
users.users.duumxh.home = "/Users/duumxh";
nix.settings.experimental-features = "nix-command flakes";
programs.zsh.enable = true;
programs.gnupg.agent.enable = true;
security.pam.services.sudo_local.touchIdAuth = true;
system.stateVersion = 5;
system.defaults = {
screencapture.type = "png";
dock = {
autohide = true;
mineffect = "scale";
minimize-to-application = true;
mru-spaces = false;
show-recents = false;
tilesize = 48;
};
finder = {
AppleShowAllFiles = true;
AppleShowAllExtensions = true;
ShowPathbar = true;
ShowStatusBar = true;
};
};
nixpkgs.hostPlatform = "aarch64-darwin";
nixpkgs.config.allowUnfree = true;
}