mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
a5a651dbb9
Signed-off-by: main <magic_rb@redalder.org>
25 lines
531 B
Nix
25 lines
531 B
Nix
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
{
|
|
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";
|
|
};
|
|
};
|
|
}
|