diff options
| author | Skullheadx <andrew.montgomery@warpengine.ai> | 2026-06-29 16:30:54 -0400 |
|---|---|---|
| committer | Skullheadx <andrew.montgomery@warpengine.ai> | 2026-06-29 16:30:54 -0400 |
| commit | 514a0f78ab4c18470fa5215069068f8aea381edc (patch) | |
| tree | 36c27aa69a1445133d8bd7fd5560d3d5e339a3bc /common-darwin.nix | |
| parent | try modules (diff) | |
| download | nixos-514a0f78ab4c18470fa5215069068f8aea381edc.tar.gz nixos-514a0f78ab4c18470fa5215069068f8aea381edc.tar.bz2 nixos-514a0f78ab4c18470fa5215069068f8aea381edc.zip | |
optimize, split irc config and add ghostty config
Diffstat (limited to '')
| -rw-r--r-- | common-darwin.nix | 28 |
1 files changed, 27 insertions, 1 deletions
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; + }; + }; } |
