gcc: tune arch

This commit is contained in:
Rouven Seifert 2024-01-04 00:17:40 +01:00
parent 60ed410a43
commit ee31ef9c4c
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 7 additions and 5 deletions

View file

@ -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 { };

View file

@ -17,6 +17,7 @@
./modules/nginx
];
nix.settings.system-features = [ "gccarch-tigerlake" ];
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;

View file

@ -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" ];