Files
nixos/profiles/base/nix.nix
T
Greg Hellings 91dbef3d59 Split up base and add xonsh
Add Xonsh configurations from dotfiles
Split up the base configuration into more manageable sizes
2022-04-21 04:49:44 +00:00

20 lines
420 B
Nix

{ pkgs, ... }:
{
# Enable flakes
nix = {
package = pkgs.nixFlakes;
# Keep freespace available, at a minimum, and enable Flakes
extraOptions = ''
experimental-features = nix-command flakes
min-free = ${toString (1024 * 1024 * 1024) }
max-free = ${toString (5 * 1024 * 1024 * 1024) }
'';
# Use hardlinking instead of copying when possible
autoOptimiseStore = true;
};
nixpkgs.config.allowUnfree = true;
}