Compare commits
16
Commits
dd7520ec84
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45bf546b85 | ||
|
|
c260e93db8 | ||
|
|
341f20fe7a | ||
|
|
980a42aaa1 | ||
|
|
f5ed23670c | ||
|
|
dd455dc053 | ||
|
|
b87fea970b | ||
|
|
ddfe41c461 | ||
|
|
c3cfbf5a6a | ||
|
|
1336a9bcd8 | ||
|
|
48ee955035 | ||
|
|
626a07e7e9 | ||
|
|
78ffc4e895 | ||
|
|
4d54560d77 | ||
|
|
3ef4bb5495 | ||
|
|
355d6995bf |
@@ -16,8 +16,13 @@
|
||||
url = "github:nix-darwin/nix-darwin/nix-darwin-26.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
brew-src = {
|
||||
url = "github:Homebrew/brew/master";
|
||||
flake = false;
|
||||
};
|
||||
nix-homebrew = {
|
||||
url = "github:zhaofengli-wip/nix-homebrew";
|
||||
inputs.brew-src.follows = "brew-src";
|
||||
};
|
||||
homebrew-bundle = {
|
||||
url = "github:homebrew/homebrew-bundle";
|
||||
@@ -45,6 +50,9 @@
|
||||
catppuccin = {
|
||||
url = "github:catppuccin/nix";
|
||||
};
|
||||
llm-agents = {
|
||||
url = "github:numtide/llm-agents.nix";
|
||||
};
|
||||
|
||||
# mac-app-util doesn't work with OCLP installed on X86
|
||||
# mac-app-util = {
|
||||
@@ -66,6 +74,7 @@
|
||||
sops-nix,
|
||||
nix-vscode-extensions,
|
||||
catppuccin,
|
||||
llm-agents,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
llm-agents,
|
||||
...
|
||||
}:
|
||||
|
||||
@@ -39,7 +40,8 @@ in
|
||||
"https://nix-community.cachix.org"
|
||||
"https://cache.nixos.org"
|
||||
];
|
||||
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
trusted-public-keys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
@@ -59,7 +61,6 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
users.groups = {
|
||||
gidevelopert = {
|
||||
description = "Git Common Rights";
|
||||
@@ -73,6 +74,29 @@ in
|
||||
# Turn off NIX_PATH warnings now that we're using flakes
|
||||
system.checks.verifyNixPath = false;
|
||||
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
dejavu_fonts
|
||||
emacs-all-the-icons-fonts
|
||||
# feather-font # from overlayj
|
||||
jetbrains-mono
|
||||
google-fonts
|
||||
font-awesome
|
||||
noto-fonts
|
||||
noto-fonts-color-emoji
|
||||
# jetbrains-mono
|
||||
hack-font
|
||||
meslo-lgs-nf
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.droid-sans-mono
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts
|
||||
]
|
||||
# this adds all nerd-fonts Gigabytes of them, too much.
|
||||
# ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts)
|
||||
;
|
||||
|
||||
};
|
||||
# Load configuration that is shared across systems
|
||||
environment.systemPackages =
|
||||
with pkgs;
|
||||
@@ -83,7 +107,8 @@ in
|
||||
defaultInitFile = true;
|
||||
package = emacs-git;
|
||||
alwaysEnsure = true;
|
||||
extraEmacsPackages = epkgs: with epkgs; [
|
||||
extraEmacsPackages =
|
||||
epkgs: with epkgs; [
|
||||
magit
|
||||
company
|
||||
nix-mode
|
||||
@@ -91,7 +116,7 @@ in
|
||||
];
|
||||
})
|
||||
]
|
||||
++ (import ../../modules/shared/packages.nix { inherit pkgs; })
|
||||
++ (import ../../modules/shared/packages.nix { inherit pkgs llm-agents; })
|
||||
|
||||
;
|
||||
|
||||
@@ -107,6 +132,16 @@ in
|
||||
StandardOutPath = "/tmp/emacs.out.log";
|
||||
};
|
||||
|
||||
launchd.user.agents.ollama = {
|
||||
command = "${pkgs.ollama}/bin/ollama serve";
|
||||
serviceConfig = {
|
||||
KeepAlive = true;
|
||||
RunAtLoad = true;
|
||||
StandardOutPath = "/tmp/ollama.out.log";
|
||||
StandardErrorPath = "/tmp/ollama.err.log";
|
||||
};
|
||||
};
|
||||
|
||||
system = {
|
||||
stateVersion = 4;
|
||||
primaryUser = "${user}";
|
||||
|
||||
@@ -8,7 +8,7 @@ _:
|
||||
"oracle-jdk"
|
||||
"visual-studio-code"
|
||||
|
||||
# Creatative tools
|
||||
# Creative tools
|
||||
"blender"
|
||||
"gimp"
|
||||
"inkscape"
|
||||
@@ -56,7 +56,7 @@ _:
|
||||
"dbeaver-community"
|
||||
"element"
|
||||
"gpg-suite"
|
||||
"macdown"
|
||||
"macdown-3000"
|
||||
"mailmate"
|
||||
"orcaslicer"
|
||||
"remanager"
|
||||
@@ -64,10 +64,17 @@ _:
|
||||
"smartsheet"
|
||||
"spamsieve"
|
||||
# "sqlitestudio" # Doesn't work without Rosetta
|
||||
"virtualbox"
|
||||
"tigervnc"
|
||||
# "virtualbox" # build error?
|
||||
"copilot-cli"
|
||||
|
||||
# Browsers
|
||||
"brave-browser"
|
||||
"firefox"
|
||||
"google-chrome"
|
||||
|
||||
|
||||
|
||||
# x11
|
||||
"xquartz"
|
||||
]
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
pkgs,
|
||||
lib,
|
||||
home-manager,
|
||||
llm-agents,
|
||||
...
|
||||
}:
|
||||
|
||||
@@ -32,8 +33,13 @@ in
|
||||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
|
||||
casks = pkgs.callPackage ./casks.nix { };
|
||||
# onActivation.cleanup = "uninstall";
|
||||
onActivation = {
|
||||
cleanup = "uninstall";
|
||||
autoUpdate = true;
|
||||
upgrade = true;
|
||||
};
|
||||
|
||||
# These app IDs are from using the mas CLI app
|
||||
# mas = mac app store
|
||||
@@ -53,6 +59,7 @@ in
|
||||
"Affinity Publisher 2" = 1606941598;
|
||||
# "DaisyDisk" = 411643860; # (4.32) # Don't use this, we need the official version that is not sandboxed
|
||||
"Fantastical - Calendar" = 975937182;
|
||||
" Fedistar" = 6445863996; # (1.13.1)
|
||||
"Home Assistant" = 1099568401; # (2025.7.1)
|
||||
"Ice Cubes for Mastodon" = 6444915884; # (1.11.3)
|
||||
"LibreOffice" = 1630474372;
|
||||
@@ -63,6 +70,7 @@ in
|
||||
"Remarkable Desktop" = 1276493162; # (3.19.0)
|
||||
"Slack for Desktop" = 803453959; # (4.45.60)
|
||||
"WiFi Explorer: Scanner" = 494803304; # (3.5.6)
|
||||
"Wireguard" = 1451685025; # (1.0.16)
|
||||
### "1Password: Password Manager" = 1511601750; # (8.11.0) Does not seem to insta
|
||||
};
|
||||
};
|
||||
@@ -81,7 +89,7 @@ in
|
||||
|
||||
home = {
|
||||
enableNixpkgsReleaseCheck = false;
|
||||
packages = pkgs.callPackage ./packages.nix { };
|
||||
packages = pkgs.callPackage ./packages.nix { inherit llm-agents; };
|
||||
file = lib.mkMerge [
|
||||
sharedFiles
|
||||
additionalFiles
|
||||
@@ -130,7 +138,7 @@ in
|
||||
{ path = "/Applications/Bitwarden.app"; }
|
||||
{ path = "/Applications/Calendar.app/"; }
|
||||
{ path = "/Applications/Notes.app/"; }
|
||||
{ path = "/run/current-system/Applications/Firefox.app/"; }
|
||||
{ path = "/Applications/Firefox.app/"; }
|
||||
|
||||
{ path = "/Applications/Slack.app/"; }
|
||||
{
|
||||
@@ -146,7 +154,7 @@ in
|
||||
{ path = "/Applications/Qobuz.app/"; }
|
||||
{ path = "/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app/"; }
|
||||
{
|
||||
path = "/run/current-system/Applications/Brave Browser.app/";
|
||||
path = "/Applications/Brave Browser.app/";
|
||||
options = "-l Brave";
|
||||
}
|
||||
{ path = "/System/Applications/Photos.app/"; }
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ pkgs }:
|
||||
{ pkgs, llm-agents }:
|
||||
|
||||
with pkgs;
|
||||
let
|
||||
shared-packages = import ../shared/packages.nix { inherit pkgs; };
|
||||
shared-packages = import ../shared/packages.nix { inherit pkgs llm-agents; };
|
||||
in
|
||||
shared-packages
|
||||
++ [
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
emacsOverlaySha256 = "1ffsda6if5z9bgjh398s9kbpdggfm005xjmdljk83dcpvnx64f6m";
|
||||
emacsOverlaySha256 = "0pqnl05j86pyvrlqh5kk4sximi749xqgiffq47grw7v98nqd2yin";
|
||||
in
|
||||
{
|
||||
|
||||
home-manager.backupFileExtension = "nix-backup";
|
||||
nixpkgs = {
|
||||
config = {
|
||||
@@ -27,6 +28,7 @@ in
|
||||
++ [(import (builtins.fetchTarball {
|
||||
url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz";
|
||||
sha256 = emacsOverlaySha256;
|
||||
}))];
|
||||
}))
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
+28
-58
@@ -1,4 +1,4 @@
|
||||
{ pkgs }:
|
||||
{ pkgs, llm-agents }:
|
||||
|
||||
with pkgs;
|
||||
[
|
||||
@@ -6,10 +6,16 @@ with pkgs;
|
||||
nixd
|
||||
mas
|
||||
|
||||
# X11
|
||||
libx11
|
||||
libxt
|
||||
libxext
|
||||
libxrender
|
||||
libxrandr
|
||||
xterm
|
||||
|
||||
# The Web Browsers
|
||||
brave
|
||||
firefox
|
||||
# google-chrome. #stopped working
|
||||
# maintained by in homebrew
|
||||
|
||||
# security and some such
|
||||
# bitwarden-desktop #Does not compile properly
|
||||
@@ -32,6 +38,8 @@ with pkgs;
|
||||
minicom
|
||||
mtr
|
||||
ncdu
|
||||
nodejs
|
||||
|
||||
fastfetch
|
||||
nixfmt
|
||||
openssh
|
||||
@@ -70,24 +78,19 @@ with pkgs;
|
||||
docker-compose
|
||||
|
||||
# Media-related packages
|
||||
dejavu_fonts
|
||||
emacs-all-the-icons-fonts
|
||||
|
||||
fd
|
||||
ffmpeg
|
||||
font-awesome
|
||||
# jetbrains-mono
|
||||
hack-font
|
||||
imagemagick
|
||||
meslo-lgs-nf
|
||||
noto-fonts
|
||||
noto-fonts-color-emoji
|
||||
|
||||
|
||||
|
||||
|
||||
# Node.js development tools
|
||||
#nodePackages.npm # globally install npm
|
||||
#nodePackages.prettier
|
||||
|
||||
# Text and terminal utilities
|
||||
xterm
|
||||
|
||||
htop
|
||||
hunspell
|
||||
@@ -105,6 +108,7 @@ with pkgs;
|
||||
# Python packages
|
||||
# python3
|
||||
virtualenv
|
||||
uv
|
||||
|
||||
(python3.withPackages (
|
||||
python-pkgs: with python-pkgs; [
|
||||
@@ -143,9 +147,7 @@ with pkgs;
|
||||
))
|
||||
|
||||
# LLM
|
||||
ollama
|
||||
|
||||
|
||||
ollama # Launchd definition in hosts/darwin/default.nix
|
||||
|
||||
# Social
|
||||
pidgin
|
||||
@@ -155,46 +157,6 @@ with pkgs;
|
||||
cargo
|
||||
platformio-core
|
||||
|
||||
# (vscode-with-extensions.override {
|
||||
# vscodeExtensions =
|
||||
# with vscode-extensions;
|
||||
# [https://github.com/dustinlyons/nixos-config/
|
||||
# #bbenoist.nix
|
||||
# jnoortheen.nix-ide
|
||||
# ms-python.python
|
||||
# ms-azuretools.vscode-docker
|
||||
# # ms-vscode-remote.remote-ssh
|
||||
# eamodio.gitlens
|
||||
# james-yu.latex-workshop
|
||||
# ]
|
||||
# ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||
# # {
|
||||
# # name = "remote-ssh-edit";
|
||||
# # publisher = "ms-vscode-remote";
|
||||
# # version = "0.47.2";
|
||||
# # sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
|
||||
# # }
|
||||
# {
|
||||
# name = "cpptools";
|
||||
# publisher = "ms-vscode";
|
||||
# version = "1.26.1";
|
||||
# sha256 = "sha256-uVE7sEO8XN3ArFpElUw25/BKyCOzF1EmZ5nHBkdoL/0=";
|
||||
# }
|
||||
# {
|
||||
# name = "minifyall";
|
||||
# publisher = "josee9988";
|
||||
# version = "2.10.0";
|
||||
# sha256 = "sha256-cH5x8fUN0n+hO1b3lNzau2MnyeYmsD0ZXAYGxCQjT0Y=";
|
||||
# }
|
||||
# {
|
||||
# name = "platformio-ide";
|
||||
# publisher = "platformio";
|
||||
# version = "3.3.4";
|
||||
# sha256 = "sha256-qfNz4IYjCmCMFLtAkbGTW5xnsVT8iDnFWjrgkmr2Slk=";
|
||||
# }
|
||||
# ];
|
||||
# })
|
||||
|
||||
# XML, Tex and LaTex
|
||||
|
||||
mdbook
|
||||
@@ -214,7 +176,7 @@ with pkgs;
|
||||
biblatex-apa6
|
||||
bibunits
|
||||
catchfile
|
||||
# cjk
|
||||
cjk
|
||||
comment
|
||||
courier
|
||||
csquotes
|
||||
@@ -257,5 +219,13 @@ with pkgs;
|
||||
;
|
||||
|
||||
})
|
||||
|
||||
]
|
||||
|
||||
### Agents from https://github.com/numtide/llm-agents.nix
|
||||
|
||||
|
||||
|
||||
++ (with llm-agents.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||
hermes-desktop
|
||||
hermes-hud
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user