mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-14 21:03:10 +01:00
gcc: tune arch
This commit is contained in:
parent
60ed410a43
commit
ee31ef9c4c
|
@ -61,6 +61,7 @@
|
|||
}@attrs: {
|
||||
packages.x86_64-linux = {
|
||||
iso = self.nixosConfigurations.iso.config.system.build.isoImage;
|
||||
thinkpad = self.nixosConfigurations.iso.config.system.build.toplevel;
|
||||
jmri = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/jmri { };
|
||||
adguardian-term = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/adguardian-term { };
|
||||
pww = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/pww { };
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
./modules/nginx
|
||||
];
|
||||
|
||||
nix.settings.system-features = [ "gccarch-tigerlake" ];
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
./modules/virtualisation
|
||||
];
|
||||
|
||||
# nixpkgs.hostPlatform = {
|
||||
# gcc.arch = "tigerlake";
|
||||
# gcc.tune = "tigerlake";
|
||||
# system = "x86_64-linux";
|
||||
# };
|
||||
nixpkgs.hostPlatform = {
|
||||
gcc.arch = "tigerlake";
|
||||
gcc.tune = "tigerlake";
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
nix.settings.system-features = [ "gccarch-tigerlake" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue