Recompile for my specific cpu

This commit is contained in:
Johannes Jöns 2023-11-02 08:20:26 +01:00
parent 3fc2f785c3
commit 0892872e77
4 changed files with 52 additions and 8 deletions

View file

@ -114,8 +114,8 @@
./modules/minecraft-server
./modules/kate
./modules/theming
./modules/auto-update
./modules/services/repo-sync
#./modules/auto-update
#./modules/services/repo-sync
./modules/users/jopejoe1
./modules/users/root
./overlays

View file

@ -14,7 +14,7 @@
packages = with pkgs; [
libsForQt5.kate
libsForQt5.ark
libreoffice-qt
#libreoffice-qt
texlive.combined.scheme-full
] ++ lib.optionals (config.system == "x86_64-linux") [
discord

View file

@ -8,12 +8,52 @@
prismlauncher.overlays.default
nur.overlay
(_self: super: {
(_self: super: rec {
tela-icon-theme = super.tela-icon-theme.overrideAttrs (_old: {
src = self.inputs.tela-icon-theme;
});
libreoffice-fresh-unwrapped = super.libreoffice-fresh-unwrapped.overrideAttrs (_old: {
doCheck = false;
});
haskellPackages = super.haskellPackages.override {
overrides = hsSelf: hsSuper: {
crypton = super.haskell.lib.overrideCabal hsSuper.crypton (oa: {
doCheck = false;
});
crypton-x509-validation = super.haskell.lib.overrideCabal hsSuper.crypton-x509-validation (oa: {
doCheck = false;
});
tls = super.haskell.lib.overrideCabal hsSuper.tls (oa: {
doCheck = false;
});
tls_1_9_0 = super.haskell.lib.overrideCabal hsSuper.tls_1_9_0 (oa: {
doCheck = false;
});
typst = super.haskell.lib.overrideCabal hsSuper.typst (oa: {
doCheck = false;
});
};
};
python311 = super.python311.override {
packageOverrides = py-self: py-super: {
numpy = py-super.numpy.overridePythonAttrs(old: {
disabledTests = [ "test_umath_accuracy" ] ++ (old.disabledTests or []);
doCheck = false;
doInstallCheck = false;
doPytestCheck = false;
});
pandas = py-super.pandas.overridePythonAttrs(old: {
disabledTests = [ "test_rolling" ] ++ (old.disabledTests or []);
});
};
};
python11Packages = python311.pkgs;
prismlauncher = super.prismlauncher.overrideAttrs (old: {
patches = (old.patches or []) ++ [
self.inputs.prism-game-options-patch

View file

@ -106,11 +106,11 @@
layout = "de";
};
boot.plymouth = {
enable = true;
#boot.plymouth = {
# enable = true;
#themePackages = [ pkgs.catppuccin-plymouth ];
#theme = "catppuccin-frappe";
};
# };
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@ -124,5 +124,9 @@
# Re-Compile everything for my specific cpu
nix.settings.system-features = ["gccarch-alderlake" "benchmark" "big-parallel" "kvm" "nixos-test"];
systemd.services.nix-daemon.serviceConfig.LimitNOFILE = lib.mkForce 1048576000;
nixpkgs.hostPlatform = {
system = "x86_64-linux";
config = "x86_64-unknown-linux-gnu";
gcc.arch = "alderlake";
};
}