Files
nix-flake/hosts/MacBook-Pro-Kirill/configuration.nix
T
2026-11-06 21:00:32 +03:00

81 lines
1.3 KiB
Nix

# configuration.nix
{
pkgs,
inputs,
...
}: {
environment.systemPackages = [
pkgs.starship
pkgs.zoxide
pkgs.fzf
pkgs.fastfetch
pkgs.htop
pkgs.btop
pkgs.eza
pkgs.git
pkgs.screen
pkgs.android-tools
(pkgs.python3.withPackages (ps:
with ps; [
pip
]))
pkgs.uv
];
homebrew = {
enable = true;
enableZshIntegration = true;
onActivation = {
autoUpdate = true;
upgrade = true;
cleanup = "zap";
};
brews = [
"opencode"
];
casks = [
"nextcloud"
"google-chrome"
"bitwarden"
"localsend"
"iterm2"
"qbittorrent"
"obsidian"
"visual-studio-code"
"ayugram"
"equinox"
"firefox"
"anydesk"
"windows-app"
"passepartout"
"autodesk-fusion"
"obsidian"
"teddychan/tap/ice-2"
"keepingyouawake"
"vlc"
];
};
nix.gc = {
automatic = true;
interval = {
Weekday = 0;
Hour = 2;
Minute = 0;
};
options = "--delete-older-than 7d";
};
nix.optimise.automatic = true;
nix.settings.experimental-features = "nix-command flakes";
system.primaryUser = "kirill";
system.stateVersion = 6;
nixpkgs.hostPlatform = "aarch64-darwin";
nixpkgs.config.allowUnfree = true;
}