This commit is contained in:
Natalie 2024-11-09 18:11:01 -08:00
parent 75e3fc2ec9
commit 98e31513f2
3 changed files with 41 additions and 67 deletions

View file

@ -13,17 +13,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
# nix-homebrew.url = "github:zhaofengli-wip/nix-homebrew";
#
# homebrew-core = {
# url = "github:homebrew/homebrew-core";
# flake = false;
# };
# homebrew-cask = {
# url = "github:homebrew/homebrew-cask";
# flake = false;
# };
hosts = {
url = "github:StevenBlack/hosts";
#flake = false;
@ -72,9 +61,6 @@
ghostty,
nixos-cosmic,
nh_darwin,
# nix-homebrew,
# homebrew-core,
# homebrew-cask,
...
} @ inputs: let
overlays = [
@ -114,30 +100,6 @@
"Natalies-MacBook-Air" = darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [
# nix-homebrew.darwinModules.nix-homebrew
# {
# nix-homebrew = {
# # Install Homebrew under the default prefix
# enable = true;
#
# # Apple Silicon Only: Also install Homebrew under the default Intel prefix for Rosetta 2
# enableRosetta = true;
#
# # User owning the Homebrew prefix
# user = "nmarks";
#
# # Optional: Declarative tap management
# taps = {
# "homebrew/homebrew-core" = homebrew-core;
# "homebrew/homebrew-cask" = homebrew-cask;
# };
#
# # Optional: Enable fully-declarative tap management
# #
# # With mutableTaps disabled, taps can no longer be added imperatively with `brew tap`.
# mutableTaps = false;
# };
# }
# nh_darwin.nixDarwinModules.default
{nixpkgs.overlays = overlays;}
./hosts/laptop/configuration.nix

View file

@ -62,32 +62,38 @@
services.tailscale.enable = true;
# Use homebrew to install casks and Mac App Store apps
# homebrew = {
# enable = true;
#
# onActivation = {
# autoUpdate = true;
# cleanup = "uninstall";
# upgrade = true;
# };
#
# taps = [
# "armcord/armcord"
# ];
#
# casks = [
# "1password"
# "firefox"
# "obsidian"
# "raycast"
# "armcord"
# "battle-net"
# ];
#
# masApps = {
# "wireguard" = 1451685025;
# };
# };
homebrew = {
enable = true;
onActivation = {
autoUpdate = true;
cleanup = "uninstall";
upgrade = true;
};
# taps = [
# "legcord/legcord"
# ];
brews = [
"imagemagick"
];
casks = [
# "1password"
# "firefox"
# "obsidian"
# "raycast"
# "legcord"
"battle-net"
"stremio"
"alt-tab"
];
masApps = {
"wireguard" = 1451685025;
};
};
# set some OSX preferences that I always end up hunting down and changing.
system.defaults = {

View file

@ -32,9 +32,14 @@
home.packages = with pkgs; [
# ghostty.packages.aarch64-darwin.default
lua51Packages.lua
lua51Packages.luarocks
luajitPackages.magick
ripgrep
lemonade
anki-bin
wireguard-tools
pyright
basedpyright
ruff
python312Packages.jedi-language-server
tor
@ -112,8 +117,8 @@
programs.neovim = {
viAlias = true;
vimAlias = true;
extraPackages = with pkgs; [
];
extraLuaPackages = ps: [ps.magick];
extraPackages = [pkgs.imagemagick];
};
#Link neovim config into nix
#xdg.configFile.nvim.source = ./nvim;
@ -130,6 +135,7 @@
}
];
shellAliases = {
DYLD_FALLBACK_LIBRARY_PATH = "$(brew --prefix)/lib:$DYLD_FALLBACK_LIBRARY_PATH";
};
};