Files
nixos/profiles/shared/nix.nix
T

17 lines
338 B
Nix
Raw Normal View History

2022-04-21 04:49:44 +00:00
{ 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) }
'';
};
nixpkgs.config.allowUnfree = true;
}