46 lines
898 B
Nix
46 lines
898 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
time.timeZone = "America/Los_Angeles";
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
git
|
|
glances
|
|
pciutils
|
|
tree
|
|
usbutils
|
|
vim
|
|
];
|
|
|
|
nix = {
|
|
package = pkgs.nix;
|
|
# distributedBuilds = true;
|
|
# buildMachines = [{
|
|
# hostName = "z790prors.oglehome";
|
|
# system = "x86_64-linux";
|
|
# protocol = "ssh-ng";
|
|
# sshUser = "johno";
|
|
# sshKey = "/root/.ssh/id_ed25519";
|
|
# maxJobs = 3;
|
|
# speedFactor = 2;
|
|
# }];
|
|
settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
max-jobs = "auto";
|
|
trusted-users = [ "johno" ];
|
|
substituters = [
|
|
];
|
|
};
|
|
|
|
gc = {
|
|
automatic = true;
|
|
options = "--delete-older-than 10d";
|
|
};
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
};
|
|
} |