Files
nixos/modules-all/default.nix
T

65 lines
1.1 KiB
Nix
Raw Normal View History

2023-05-02 00:36:29 -05:00
{ pkgs, ... }:
2022-09-07 20:01:51 -05:00
{
2023-05-02 00:36:29 -05:00
# Enable flakes
nix = {
package = pkgs.nixFlakes;
buildMachines = [
{
hostName = "dns.me.ts";
system = "aarch64-linux";
}
{
hostName = "jude.me.ts";
system = "x86_64-linux";
}
];
settings = {
auto-optimise-store = true;
experimental-features = "nix-command flakes";
keep-outputs = true;
keep-derivations = true;
min-free = (toString (1024 * 1024 * 1024) );
max-free = (toString (5 * 1024 * 1024 * 1024) );
substituters = [
"https://cache.garnix.io"
];
trusted-public-keys = [
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
};
};
2023-05-11 14:33:30 +00:00
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"qtwebkit-5.212.0-alpha4"
2023-05-29 02:42:37 +00:00
"openssl-1.1.1t"
2023-05-11 14:33:30 +00:00
];
};
2023-05-02 00:36:29 -05:00
# Base packages that need to be in all my hosts
environment.systemPackages = with pkgs; [
agenix
android-file-transfer
bitwarden-cli
diffutils
git
gh
gnupatch
gregpy
findutils
hms # My own home manager switcher
home-manager
htop
killall
nano
pwgen
transcrypt
unzip
wget
2022-09-07 20:01:51 -05:00
];
}