browser reorg to cask. Font.packages

This commit is contained in:
Olaf
2026-07-17 12:57:17 +02:00
parent ddfe41c461
commit b87fea970b
5 changed files with 57 additions and 38 deletions
+42 -22
View File
@@ -40,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 = {
@@ -60,37 +61,58 @@ 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
font-awesome
noto-fonts
noto-fonts-color-emoji
# jetbrains-mono
hack-font
meslo-lgs-nf
nerd-fonts.fira-code
nerd-fonts.droid-sans-mono
]
# 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 llm-agents; })
@@ -108,8 +130,7 @@ in
StandardOutPath = "/tmp/emacs.out.log";
};
launchd.user.agents.ollama = {
launchd.user.agents.ollama = {
command = "${pkgs.ollama}/bin/ollama serve";
serviceConfig = {
KeepAlive = true;
@@ -119,7 +140,6 @@ launchd.user.agents.ollama = {
};
};
system = {
stateVersion = 4;
primaryUser = "${user}";