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"; url = "github:nix-darwin/nix-darwin/nix-darwin-26.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
brew-src = {
url = "github:Homebrew/brew/master";
flake = false;
};
nix-homebrew = { nix-homebrew = {
url = "github:zhaofengli-wip/nix-homebrew"; url = "github:zhaofengli-wip/nix-homebrew";
inputs.brew-src.follows = "brew-src";
}; };
homebrew-bundle = { homebrew-bundle = {
url = "github:homebrew/homebrew-bundle"; url = "github:homebrew/homebrew-bundle";
@@ -45,6 +50,9 @@
catppuccin = { catppuccin = {
url = "github:catppuccin/nix"; 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 doesn't work with OCLP installed on X86
# mac-app-util = { # mac-app-util = {
@@ -66,6 +74,7 @@
sops-nix, sops-nix,
nix-vscode-extensions, nix-vscode-extensions,
catppuccin, catppuccin,
llm-agents,
... ...
}@inputs: }@inputs:
let let
+55 -20
View File
@@ -1,6 +1,7 @@
{ {
config, config,
pkgs, pkgs,
llm-agents,
... ...
}: }:
@@ -39,9 +40,10 @@ in
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
"https://cache.nixos.org" "https://cache.nixos.org"
]; ];
trusted-public-keys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
]; "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
}; };
gc = { gc = {
@@ -59,39 +61,62 @@ in
''; '';
}; };
users.groups = {
users.groups= { gidevelopert = {
gidevelopert={ description = "Git Common Rights";
description="Git Common Rights"; gid = 500;
gid=500; name = "gitdeveloper";
name= "gitdeveloper"; members = [ "olaf" ];
members = [ "olaf" ] ;
}; };
}; };
users.knownGroups=["gitdeveloper"]; users.knownGroups = [ "gitdeveloper" ];
# Turn off NIX_PATH warnings now that we're using flakes # Turn off NIX_PATH warnings now that we're using flakes
system.checks.verifyNixPath = false; 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 # Load configuration that is shared across systems
environment.systemPackages = environment.systemPackages =
with pkgs; with pkgs;
[ [
# Emacs with automatic package management from overlay # Emacs with automatic package management from overlay
(emacsWithPackagesFromUsePackage { (emacsWithPackagesFromUsePackage {
config = ../config/emacs/emacs.el; config = ../config/emacs/emacs.el;
defaultInitFile = true; defaultInitFile = true;
package = emacs-git; package = emacs-git;
alwaysEnsure = true; alwaysEnsure = true;
extraEmacsPackages = epkgs: with epkgs; [ extraEmacsPackages =
epkgs: with epkgs; [
magit magit
company company
nix-mode nix-mode
use-package 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"; 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 = { system = {
stateVersion = 4; stateVersion = 4;
primaryUser = "${user}"; primaryUser = "${user}";
+10 -3
View File
@@ -8,7 +8,7 @@ _:
"oracle-jdk" "oracle-jdk"
"visual-studio-code" "visual-studio-code"
# Creatative tools # Creative tools
"blender" "blender"
"gimp" "gimp"
"inkscape" "inkscape"
@@ -56,7 +56,7 @@ _:
"dbeaver-community" "dbeaver-community"
"element" "element"
"gpg-suite" "gpg-suite"
"macdown" "macdown-3000"
"mailmate" "mailmate"
"orcaslicer" "orcaslicer"
"remanager" "remanager"
@@ -64,10 +64,17 @@ _:
"smartsheet" "smartsheet"
"spamsieve" "spamsieve"
# "sqlitestudio" # Doesn't work without Rosetta # "sqlitestudio" # Doesn't work without Rosetta
"virtualbox" "tigervnc"
# "virtualbox" # build error?
"copilot-cli" "copilot-cli"
# Browsers # Browsers
"brave-browser"
"firefox"
"google-chrome"
# x11
"xquartz"
] ]
+12 -4
View File
@@ -3,6 +3,7 @@
pkgs, pkgs,
lib, lib,
home-manager, home-manager,
llm-agents,
... ...
}: }:
@@ -32,8 +33,13 @@ in
homebrew = { homebrew = {
enable = true; enable = true;
casks = pkgs.callPackage ./casks.nix { }; 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 # These app IDs are from using the mas CLI app
# mas = mac app store # mas = mac app store
@@ -53,6 +59,7 @@ in
"Affinity Publisher 2" = 1606941598; "Affinity Publisher 2" = 1606941598;
# "DaisyDisk" = 411643860; # (4.32) # Don't use this, we need the official version that is not sandboxed # "DaisyDisk" = 411643860; # (4.32) # Don't use this, we need the official version that is not sandboxed
"Fantastical - Calendar" = 975937182; "Fantastical - Calendar" = 975937182;
" Fedistar" = 6445863996; # (1.13.1)
"Home Assistant" = 1099568401; # (2025.7.1) "Home Assistant" = 1099568401; # (2025.7.1)
"Ice Cubes for Mastodon" = 6444915884; # (1.11.3) "Ice Cubes for Mastodon" = 6444915884; # (1.11.3)
"LibreOffice" = 1630474372; "LibreOffice" = 1630474372;
@@ -63,6 +70,7 @@ in
"Remarkable Desktop" = 1276493162; # (3.19.0) "Remarkable Desktop" = 1276493162; # (3.19.0)
"Slack for Desktop" = 803453959; # (4.45.60) "Slack for Desktop" = 803453959; # (4.45.60)
"WiFi Explorer: Scanner" = 494803304; # (3.5.6) "WiFi Explorer: Scanner" = 494803304; # (3.5.6)
"Wireguard" = 1451685025; # (1.0.16)
### "1Password: Password Manager" = 1511601750; # (8.11.0) Does not seem to insta ### "1Password: Password Manager" = 1511601750; # (8.11.0) Does not seem to insta
}; };
}; };
@@ -81,7 +89,7 @@ in
home = { home = {
enableNixpkgsReleaseCheck = false; enableNixpkgsReleaseCheck = false;
packages = pkgs.callPackage ./packages.nix { }; packages = pkgs.callPackage ./packages.nix { inherit llm-agents; };
file = lib.mkMerge [ file = lib.mkMerge [
sharedFiles sharedFiles
additionalFiles additionalFiles
@@ -130,7 +138,7 @@ in
{ path = "/Applications/Bitwarden.app"; } { path = "/Applications/Bitwarden.app"; }
{ path = "/Applications/Calendar.app/"; } { path = "/Applications/Calendar.app/"; }
{ path = "/Applications/Notes.app/"; } { path = "/Applications/Notes.app/"; }
{ path = "/run/current-system/Applications/Firefox.app/"; } { path = "/Applications/Firefox.app/"; }
{ path = "/Applications/Slack.app/"; } { path = "/Applications/Slack.app/"; }
{ {
@@ -146,7 +154,7 @@ in
{ path = "/Applications/Qobuz.app/"; } { path = "/Applications/Qobuz.app/"; }
{ path = "/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.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"; options = "-l Brave";
} }
{ path = "/System/Applications/Photos.app/"; } { path = "/System/Applications/Photos.app/"; }
+2 -2
View File
@@ -1,8 +1,8 @@
{ pkgs }: { pkgs, llm-agents }:
with pkgs; with pkgs;
let let
shared-packages = import ../shared/packages.nix { inherit pkgs; }; shared-packages = import ../shared/packages.nix { inherit pkgs llm-agents; };
in in
shared-packages shared-packages
++ [ ++ [
+4 -2
View File
@@ -1,9 +1,10 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
emacsOverlaySha256 = "1ffsda6if5z9bgjh398s9kbpdggfm005xjmdljk83dcpvnx64f6m"; emacsOverlaySha256 = "0pqnl05j86pyvrlqh5kk4sximi749xqgiffq47grw7v98nqd2yin";
in in
{ {
home-manager.backupFileExtension = "nix-backup"; home-manager.backupFileExtension = "nix-backup";
nixpkgs = { nixpkgs = {
config = { config = {
@@ -27,6 +28,7 @@ in
++ [(import (builtins.fetchTarball { ++ [(import (builtins.fetchTarball {
url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz"; url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz";
sha256 = emacsOverlaySha256; sha256 = emacsOverlaySha256;
}))]; }))
];
}; };
} }
+29 -59
View File
@@ -1,4 +1,4 @@
{ pkgs }: { pkgs, llm-agents }:
with pkgs; with pkgs;
[ [
@@ -6,10 +6,16 @@ with pkgs;
nixd nixd
mas mas
# X11
libx11
libxt
libxext
libxrender
libxrandr
xterm
# The Web Browsers # The Web Browsers
brave # maintained by in homebrew
firefox
# google-chrome. #stopped working
# security and some such # security and some such
# bitwarden-desktop #Does not compile properly # bitwarden-desktop #Does not compile properly
@@ -32,6 +38,8 @@ with pkgs;
minicom minicom
mtr mtr
ncdu ncdu
nodejs
fastfetch fastfetch
nixfmt nixfmt
openssh openssh
@@ -70,24 +78,19 @@ with pkgs;
docker-compose docker-compose
# Media-related packages # Media-related packages
dejavu_fonts
emacs-all-the-icons-fonts
fd fd
ffmpeg ffmpeg
font-awesome imagemagick
# jetbrains-mono
hack-font
imagemagick
meslo-lgs-nf
noto-fonts
noto-fonts-color-emoji
# Node.js development tools # Node.js development tools
#nodePackages.npm # globally install npm #nodePackages.npm # globally install npm
#nodePackages.prettier #nodePackages.prettier
# Text and terminal utilities # Text and terminal utilities
xterm
htop htop
hunspell hunspell
@@ -105,6 +108,7 @@ with pkgs;
# Python packages # Python packages
# python3 # python3
virtualenv virtualenv
uv
(python3.withPackages ( (python3.withPackages (
python-pkgs: with python-pkgs; [ python-pkgs: with python-pkgs; [
@@ -143,9 +147,7 @@ with pkgs;
)) ))
# LLM # LLM
ollama ollama # Launchd definition in hosts/darwin/default.nix
# Social # Social
pidgin pidgin
@@ -155,46 +157,6 @@ with pkgs;
cargo cargo
platformio-core 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 # XML, Tex and LaTex
mdbook mdbook
@@ -214,7 +176,7 @@ with pkgs;
biblatex-apa6 biblatex-apa6
bibunits bibunits
catchfile catchfile
# cjk cjk
comment comment
courier courier
csquotes 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
])