Files
nixos/modules/baseline.nix
T

59 lines
1.3 KiB
Nix
Raw Normal View History

2024-05-20 10:50:11 -05:00
{ pkgs, lib, ... }:
let
notDarwin = (! pkgs.stdenv.isDarwin);
in
2024-02-09 14:33:51 -06:00
{
# Enable flakes
nix = {
gc = {
automatic = true;
# Scheduling of them is different in nixos vs nix-darwin, so check for
# the extra details there
options = "--delete-older-than 30d";
};
settings = {
experimental-features = "nix-command flakes";
keep-outputs = true;
keep-derivations = true;
min-free = (toString (1024 * 1024 * 1024) );
max-free = (toString (5 * 1024 * 1024 * 1024) );
2024-07-22 14:40:10 -05:00
substituters = [
2024-02-09 14:33:51 -06:00
"https://cache.garnix.io"
"https://ai.cachix.org"
];
trusted-public-keys = [
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc="
];
};
};
nixpkgs.config = {
allowUnfree = true;
};
2024-08-13 23:24:49 -05:00
2024-02-09 14:33:51 -06:00
# Base packages that need to be in all my hosts
2024-05-20 10:50:11 -05:00
environment.systemPackages = with pkgs; [
2024-03-26 14:00:21 -05:00
agenix
bitwarden-cli
bmon
diffutils
git
gnupatch
gregpy
findutils
file
hms # My own home manager switcher
htop
2024-04-03 15:33:14 -05:00
iperf
2024-03-26 14:00:21 -05:00
killall
nano
pciutils
pwgen
unzip
wget
2024-05-20 10:50:11 -05:00
];
2024-02-13 23:58:38 -06:00
}