dotfiles/nix/nixos-modules/optimisation.nix
Magic_RB 7eb0e6a038
Add march settings and apply to emacs
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2021-09-07 07:56:31 +02:00

19 lines
408 B
Nix

{ pkgs, config, lib, ... }:
with lib;
let
cfg = config.magic_rb.optimisation;
in
{
options.magic_rb.optimisation = {
march = mkOption {
description = ''
Which march is native to this system, to maximize efficiency.
'';
type = types.str;
default = builtins.trace ''
Please enable a more specific march to get better performance
'' "x86-64";
};
};
}