From 514a0f78ab4c18470fa5215069068f8aea381edc Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Mon, 29 Jun 2026 16:30:54 -0400 Subject: optimize, split irc config and add ghostty config --- common-darwin.nix | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'common-darwin.nix') diff --git a/common-darwin.nix b/common-darwin.nix index 82b4c85..2e300c9 100644 --- a/common-darwin.nix +++ b/common-darwin.nix @@ -8,6 +8,7 @@ imports = [ ./zsh.nix ./vim.nix + ./irc.nix ]; # List packages installed in system profile. To search by name, run: @@ -24,10 +25,23 @@ pass passExtensions.pass-otp passExtensions.pass-update + nh + nix-output-monitor ]; + nix.gc = { + automatic = true; + interval.Day = 7; + options = "--delete-older-than 14d"; + }; + programs.zsh.enable = true; + fonts.packages = with pkgs; [ + fira-code + nerd-fonts.fira-code + ]; + security.pam.services.sudo_local = { enable = true; reattach = true; @@ -106,5 +120,17 @@ # The platform the configuration will be used on. nixpkgs.hostPlatform = "aarch64-darwin"; nixpkgs.config.allowUnfree = true; - nix.settings.experimental-features = ["nix-command" "flakes"]; + nix.settings = { + experimental-features = ["nix-command" "flakes"]; + extra-substituters = ["https://nix-community.cachix.org"]; + extra-trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="]; + }; + nix.optimise = { + automatic = true; + interval = { + Weekday = 0; + Hour = 0; + Minute = 0; + }; + }; } -- cgit v1.3.1