Compare commits
9
Commits
1336a9bcd8
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45bf546b85 | ||
|
|
c260e93db8 | ||
|
|
341f20fe7a | ||
|
|
980a42aaa1 | ||
|
|
f5ed23670c | ||
|
|
dd455dc053 | ||
|
|
b87fea970b | ||
|
|
ddfe41c461 | ||
|
|
c3cfbf5a6a |
@@ -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";
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ 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 = [
|
||||||
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@@ -60,7 +61,6 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
users.groups = {
|
users.groups = {
|
||||||
gidevelopert = {
|
gidevelopert = {
|
||||||
description = "Git Common Rights";
|
description = "Git Common Rights";
|
||||||
@@ -74,6 +74,29 @@ in
|
|||||||
# 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;
|
||||||
@@ -84,7 +107,8 @@ in
|
|||||||
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
|
||||||
@@ -108,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}";
|
||||||
|
|||||||
@@ -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,16 @@ _:
|
|||||||
"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
|
# x11
|
||||||
"xquartz"
|
"xquartz"
|
||||||
|
|||||||
@@ -33,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
|
||||||
@@ -65,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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -132,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/"; }
|
||||||
{
|
{
|
||||||
@@ -148,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/"; }
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
emacsOverlaySha256 = "02yxwls39cj02yw03b01hvg6h2fvk9k54adzqgi569mm7ld39rx8";
|
emacsOverlaySha256 = "0pqnl05j86pyvrlqh5kk4sximi749xqgiffq47grw7v98nqd2yin";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -15,9 +15,7 @@ with pkgs;
|
|||||||
xterm
|
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
|
||||||
@@ -80,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
|
|
||||||
# jetbrains-mono
|
|
||||||
hack-font
|
|
||||||
imagemagick
|
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
|
||||||
@@ -115,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; [
|
||||||
@@ -153,7 +147,7 @@ with pkgs;
|
|||||||
))
|
))
|
||||||
|
|
||||||
# LLM
|
# LLM
|
||||||
ollama
|
ollama # Launchd definition in hosts/darwin/default.nix
|
||||||
|
|
||||||
# Social
|
# Social
|
||||||
pidgin
|
pidgin
|
||||||
@@ -229,6 +223,8 @@ with pkgs;
|
|||||||
|
|
||||||
### Agents from https://github.com/numtide/llm-agents.nix
|
### Agents from https://github.com/numtide/llm-agents.nix
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
++ (with llm-agents.packages.${pkgs.stdenv.hostPlatform.system}; [
|
++ (with llm-agents.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||||
hermes-desktop
|
hermes-desktop
|
||||||
hermes-hud
|
hermes-hud
|
||||||
|
|||||||
Reference in New Issue
Block a user