nixos/common/base.nix
Ivan Bushchik d32e298022
Ooooof: remove my binarycache due to ooooof
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-08-31 18:46:40 +03:00

43 lines
740 B
Nix

{ config, pkgs, ... }:
{
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
settings = {
auto-optimise-store = true;
trusted-users = [ "root" "@wheel" ];
};
gc = {
automatic = true;
options = "--delete-older-than 7d";
};
daemonCPUSchedPolicy = "idle";
daemonIOSchedClass = "idle";
};
documentation = {
doc.enable = false;
info.enable = false;
man.enable = true;
nixos.enable = false;
};
environment.systemPackages = with pkgs; [
wget
curl
usbutils
pciutils
coreutils-full
killall
git
git-crypt
neovim
python3Minimal
];
boot.tmp.cleanOnBoot = true;
}