Samuel Shuert | 02ffd1e | 2024-02-13 21:37:15 -0500 | [diff] [blame] | 1 | { system, ... }: |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 2 | { |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 3 | system.stateVersion = "24.05"; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 4 | |
| 5 | nix.settings = { |
| 6 | builders-use-substitutes = true; |
| 7 | |
| 8 | substituters = [ |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 9 | "https://anyrun.cachix.org" |
Skyler Grey | 625cc39 | 2024-05-25 13:06:12 +0000 | [diff] [blame] | 10 | "https://cache.lix.systems" |
| 11 | "https://cache.nixos.org" |
| 12 | "https://nix-community.cachix.org" |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 13 | ]; |
| 14 | |
| 15 | trusted-public-keys = [ |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 16 | "anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s=" |
Skyler Grey | 625cc39 | 2024-05-25 13:06:12 +0000 | [diff] [blame] | 17 | "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" |
| 18 | "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" |
| 19 | "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 20 | ]; |
| 21 | |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 22 | experimental-features = [ |
| 23 | "nix-command" |
| 24 | "flakes" |
| 25 | ]; |
Skyler Grey | 625cc39 | 2024-05-25 13:06:12 +0000 | [diff] [blame] | 26 | |
| 27 | trusted-users = [ |
| 28 | "@wheel" |
| 29 | ]; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 30 | }; |
Samuel Shuert | 02ffd1e | 2024-02-13 21:37:15 -0500 | [diff] [blame] | 31 | |
Samuel Shuert | fd0fcea | 2024-11-08 15:35:30 -0500 | [diff] [blame^] | 32 | nix.gc = { |
| 33 | automatic = true; |
| 34 | options = "--delete-older-than 30d"; |
| 35 | dates = "weekly"; |
| 36 | }; |
| 37 | |
Samuel Shuert | 02ffd1e | 2024-02-13 21:37:15 -0500 | [diff] [blame] | 38 | nixpkgs.hostPlatform = system; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 39 | } |