|
{ lib, config, ... }:
|
|
|
|
let
|
|
cfg = config.snowhawk.env;
|
|
in
|
|
{
|
|
options.snowhawk.env = {
|
|
enable = lib.mkEnableOption "env";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
nix.settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
auto-optimise-store = true;
|
|
};
|
|
};
|
|
}
|