summaryrefslogtreecommitdiffstats
path: root/common-darwin.nix
diff options
context:
space:
mode:
authorSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 16:30:54 -0400
committerSkullheadx <andrew.montgomery@warpengine.ai>2026-06-29 16:30:54 -0400
commit514a0f78ab4c18470fa5215069068f8aea381edc (patch)
tree36c27aa69a1445133d8bd7fd5560d3d5e339a3bc /common-darwin.nix
parenttry modules (diff)
downloadnixos-514a0f78ab4c18470fa5215069068f8aea381edc.tar.gz
nixos-514a0f78ab4c18470fa5215069068f8aea381edc.tar.bz2
nixos-514a0f78ab4c18470fa5215069068f8aea381edc.zip
optimize, split irc config and add ghostty config
Diffstat (limited to 'common-darwin.nix')
-rw-r--r--common-darwin.nix28
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;
+ };
+ };
}