47 lines
1013 B
Nix
47 lines
1013 B
Nix
{ pkgs, inputs, ... }: {
|
|
nixpkgs.config.allowUnfree = true;
|
|
ids.gids.nixbld = 350;
|
|
security.pam.services.sudo_local.touchIdAuth = true;
|
|
|
|
# Set vim as default editor
|
|
environment.variables.EDITOR = "vim";
|
|
environment.variables.VISUAL = "vim";
|
|
environment.variables.GIT_EDITOR = "vim";
|
|
|
|
# Add Homebrew to PATH
|
|
environment.systemPath = [ "/opt/homebrew/bin" "/opt/homebrew/sbin" ];
|
|
environment.systemPackages = with pkgs; [
|
|
vim
|
|
git
|
|
wget
|
|
curl
|
|
python3
|
|
nodejs_26
|
|
home-manager
|
|
];
|
|
|
|
homebrew = {
|
|
enable = true;
|
|
onActivation.cleanup = "uninstall";
|
|
onActivation.autoUpdate = true;
|
|
onActivation.upgrade = true;
|
|
casks = [
|
|
"1password"
|
|
"obsidian"
|
|
"signal"
|
|
"spotify"
|
|
"claude-code"
|
|
"claude"
|
|
];
|
|
};
|
|
|
|
system.primaryUser = "mbessette";
|
|
users.users."mbessette" = {
|
|
name = "mbessette";
|
|
home = "/Users/mbessette";
|
|
};
|
|
|
|
nix.settings.experimental-features = "nix-command flakes";
|
|
system.stateVersion = 4;
|
|
}
|