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-linux.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 'common-linux.nix')
| -rw-r--r-- | common-linux.nix | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/common-linux.nix b/common-linux.nix index 8dae24d..9b7884e 100644 --- a/common-linux.nix +++ b/common-linux.nix @@ -6,6 +6,7 @@ }: { imports = [ ./bash.nix + ./irc.nix ]; # Bootloader. @@ -29,10 +30,20 @@ # Allow unfree packages 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; + dates = ["Sun 00:00:00"]; + }; + nix.gc = { + automatic = true; + dates = "weekly"; + persistent = true; + }; # List packages installed in system profile. To search, run: # $ nix search wget @@ -44,6 +55,8 @@ gcc alejandra gnumake + nh + nix-output-monitor ]; fonts = { |
