Split up base and add xonsh

Add Xonsh configurations from dotfiles
Split up the base configuration into more manageable sizes
This commit is contained in:
Greg Hellings
2022-04-21 04:49:44 +00:00
parent 55cc25a12a
commit 91dbef3d59
7 changed files with 225 additions and 88 deletions
+19
View File
@@ -0,0 +1,19 @@
{ 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;
}