Extended llm; Fixed issues do to bug in Home Manager 25.05 and above

This commit is contained in:
2026-04-09 16:54:39 +02:00
parent e6e653d967
commit fc5ec0477d
8 changed files with 142 additions and 59 deletions

View File

@@ -1,16 +1,36 @@
{ pkgs, inputs, self, primaryUser, ... }: {
imports = [ ./homebrew.nix ./settings.nix ./yabai.nix ];
{
pkgs,
primaryUser,
...
}:
{
imports = [
./settings.nix
./homebrew.nix
./yabai.nix
./fonts.nix
];
home-manager.users.${primaryUser}.targets.darwin = {
linkApps.enable = true;
copyApps.enable = false;
};
# nix config
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
experimental-features = [
"nix-command"
"flakes"
];
max-jobs = "auto"; # Use all CPU cores
cores = 0; # Use all cores per build
# disabled due to https://github.com/NixOS/nix/issues/7273
# auto-optimise-store = true;
substituters =
[ "https://cache.nixos.org" "https://nix-community.cachix.org" ];
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
@@ -21,7 +41,9 @@
# Garbage collection
gc = {
automatic = true;
interval = { Weekday = 7; }; # Run weekly
interval = {
Weekday = 7;
}; # Run weekly
options = "--delete-older-than 30d";
};
};
@@ -34,7 +56,9 @@
info.enable = false; # Skip info pages
};
nixpkgs.config = { allowUnfree = true; };
nixpkgs.config = {
allowUnfree = true;
};
# homebrew installation manager
nix-homebrew = {
user = primaryUser;