Files
nix-flake/hosts/MacBook-Pro-Kirill/configuration.nix
T
2026-07-05 12:03:10 +03:00

71 lines
1.2 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"
];
};
nix.gc = {
automatic = true;
interval = {
Weekday = 0;
Hour = 2;
Minute = 0;
};
options = "--delete-older-than 7d";
};
nix.optimise.automatic = true;
programs.spicetify = let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in {
enable = true;
enabledExtensions = with spicePkgs.extensions; [
adblock
beautiful-lyrics
];
};
nix.settings.experimental-features = "nix-command flakes";
system.primaryUser = "kirill";
system.stateVersion = 6;
nixpkgs.hostPlatform = "aarch64-darwin";
nixpkgs.config.allowUnfree = true;
}