Files
nix-flake/hosts/MacBook-Pro-Kirill/configuration.nix
T
2026-07-15 14:18:10 +03:00

64 lines
1.0 KiB
Nix

# configuration.nix
{
pkgs,
inputs,
...
}: {
environment.systemPackages = [
pkgs.starship
pkgs.zoxide
pkgs.fzf
pkgs.fastfetch
pkgs.htop
pkgs.btop
pkgs.eza
pkgs.git
];
homebrew = {
enable = true;
onActivation = {
autoUpdate = true;
upgrade = true;
cleanup = "zap";
};
casks = [
"nextcloud"
"google-chrome"
"bitwarden"
"localsend"
"iterm2"
"qbittorrent"
"obsidian"
"visual-studio-code"
"ayugram"
"equinox"
"firefox"
"anydesk"
"windows-app"
"passepartout"
];
};
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;
}