mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-04 13:56:19 +02:00
gcc: tune arch
This commit is contained in:
parent
60ed410a43
commit
ee31ef9c4c
3 changed files with 7 additions and 5 deletions
|
@ -61,6 +61,7 @@
|
||||||
}@attrs: {
|
}@attrs: {
|
||||||
packages.x86_64-linux = {
|
packages.x86_64-linux = {
|
||||||
iso = self.nixosConfigurations.iso.config.system.build.isoImage;
|
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 { };
|
jmri = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/jmri { };
|
||||||
adguardian-term = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/adguardian-term { };
|
adguardian-term = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/adguardian-term { };
|
||||||
pww = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/pww { };
|
pww = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/pww { };
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
./modules/nginx
|
./modules/nginx
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nix.settings.system-features = [ "gccarch-tigerlake" ];
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
loader.efi.canTouchEfiVariables = true;
|
loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
./modules/virtualisation
|
./modules/virtualisation
|
||||||
];
|
];
|
||||||
|
|
||||||
# nixpkgs.hostPlatform = {
|
nixpkgs.hostPlatform = {
|
||||||
# gcc.arch = "tigerlake";
|
gcc.arch = "tigerlake";
|
||||||
# gcc.tune = "tigerlake";
|
gcc.tune = "tigerlake";
|
||||||
# system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
# };
|
};
|
||||||
|
|
||||||
nix.settings.system-features = [ "gccarch-tigerlake" ];
|
nix.settings.system-features = [ "gccarch-tigerlake" ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue