mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-01 20:46:12 +01:00
7eb0e6a038
Signed-off-by: Magic_RB <magic_rb@redalder.org>
19 lines
408 B
Nix
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";
|
|
};
|
|
};
|
|
}
|