nixos/common/base.nix
2023-07-29 11:11:45 +03:00

34 lines
No EOL
584 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";
};
environment.systemPackages = with pkgs; [
neovim
wget
git
curl
usbutils
pciutils
coreutils-full
killall
git-crypt
python3Minimal
];
}