16 Commits
Author SHA1 Message Date
Olaf 45bf546b85 Fixed brew inconstistency andded tigervnc 2026-07-30 14:32:13 +02:00
Olaf c260e93db8 emacs hash 2026-07-30 12:00:52 +02:00
Olaf 341f20fe7a emacs SHA256 2026-07-26 12:47:43 +02:00
Olaf 980a42aaa1 fonts tweaking 2026-07-21 09:40:56 +02:00
Olaf f5ed23670c emacsOverlaySha256 2026-07-21 09:37:27 +02:00
Olaf dd455dc053 wireguard from app store 2026-07-21 09:37:02 +02:00
Olaf b87fea970b browser reorg to cask. Font.packages 2026-07-17 12:57:17 +02:00
Olaf ddfe41c461 Few home manager changes 2026-07-16 11:09:10 +02:00
Olaf c3cfbf5a6a Xterm & Ollama launch 2026-07-13 15:02:30 +02:00
Olaf Kolkman 1336a9bcd8 Added hermes-hud 2026-07-09 08:25:18 +02:00
Olaf Kolkman 48ee955035 cleanup 2026-07-08 22:55:53 +02:00
Olaf Kolkman 626a07e7e9 Works with LLM but should be able to do this cleaner 2026-07-08 22:34:15 +02:00
Olaf Kolkman 78ffc4e895 LLM-agents installed 2026-07-08 22:26:38 +02:00
Olaf Kolkman 4d54560d77 Add packages-list.nix for llm-agents packages 2026-07-08 22:17:25 +02:00
Olaf Kolkman 3ef4bb5495 X11 2026-07-07 20:31:41 +02:00
Olaf Kolkman 355d6995bf cjk in latex 2026-07-04 13:52:05 +02:00
7 changed files with 122 additions and 91 deletions
+9
View File
@@ -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
+55 -20
View File
@@ -1,6 +1,7 @@
{
config,
pkgs,
llm-agents,
...
}:
@@ -39,9 +40,10 @@ in
"https://nix-community.cachix.org"
"https://cache.nixos.org"
];
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
gc = {
@@ -59,39 +61,62 @@ in
'';
};
users.groups= {
gidevelopert={
description="Git Common Rights";
gid=500;
name= "gitdeveloper";
members = [ "olaf" ] ;
users.groups = {
gidevelopert = {
description = "Git Common Rights";
gid = 500;
name = "gitdeveloper";
members = [ "olaf" ];
};
};
users.knownGroups=["gitdeveloper"];
users.knownGroups = [ "gitdeveloper" ];
# 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;
[
# Emacs with automatic package management from overlay
(emacsWithPackagesFromUsePackage {
config = ../config/emacs/emacs.el;
defaultInitFile = true;
package = emacs-git;
alwaysEnsure = true;
extraEmacsPackages = epkgs: with epkgs; [
# Emacs with automatic package management from overlay
(emacsWithPackagesFromUsePackage {
config = ../config/emacs/emacs.el;
defaultInitFile = true;
package = emacs-git;
alwaysEnsure = true;
extraEmacsPackages =
epkgs: with epkgs; [
magit
company
nix-mode
use-package
];
})
})
]
++ (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}";
+10 -3
View File
@@ -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"
]
+12 -4
View File
@@ -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/"; }
+2 -2
View File
@@ -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
++ [
+4 -2
View File
@@ -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;
}))];
}))
];
};
}
+29 -59
View File
@@ -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
imagemagick
# 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
])