From ca6c83ebc3bc669e9bd235a727619ded4b9e9615 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 19 Sep 2024 13:01:52 -0400 Subject: [PATCH] stuff --- nix/etcnixos/flake.lock | 6 +++--- nix/etcnixos/system-mreow.nix | 3 +++ nix/home-manager/flake.lock | 24 ++++++++++++------------ nix/home-manager/gui.nix | 2 ++ 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/nix/etcnixos/flake.lock b/nix/etcnixos/flake.lock index af1952c..9c17495 100644 --- a/nix/etcnixos/flake.lock +++ b/nix/etcnixos/flake.lock @@ -332,11 +332,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1726751368, - "narHash": "sha256-UaLaS+LAGslTFnQOZs16Y90ybdA6rXoznqu2HvO5ykU=", + "lastModified": 1726759964, + "narHash": "sha256-d7ej4YWIxJs81uxlQSeiAUTqRLHJFhEtmbqIltKN1SI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fa09c7cca3aa8685ca69198b4510d54ef1fa7f73", + "rev": "6886cfd66b1a58135d1e262d76834f77b2235f35", "type": "github" }, "original": { diff --git a/nix/etcnixos/system-mreow.nix b/nix/etcnixos/system-mreow.nix index 6997b09..d103419 100644 --- a/nix/etcnixos/system-mreow.nix +++ b/nix/etcnixos/system-mreow.nix @@ -71,6 +71,9 @@ systemd-boot.enable = lib.mkForce false; }; + kernelParams = [ + "mitigations=off" + ]; }; # this is a life saver. diff --git a/nix/home-manager/flake.lock b/nix/home-manager/flake.lock index 282b388..b69f27e 100644 --- a/nix/home-manager/flake.lock +++ b/nix/home-manager/flake.lock @@ -33,11 +33,11 @@ ] }, "locked": { - "lastModified": 1726674526, - "narHash": "sha256-eKAUZRSynuVmNxCmyj4X3TrpI7uOggP+WNd4r1wnhSM=", + "lastModified": 1726750425, + "narHash": "sha256-KiWnHAGtLZZTq96rwH7IJ4fQhJfkNFg7VnfkdIi1R2s=", "owner": "orhun", "repo": "binsider", - "rev": "fd2f7d2b46b34916009040d78fd6b170728d1338", + "rev": "3a7dec75482a899aa2b93d8ef5f0d15411811918", "type": "github" }, "original": { @@ -127,11 +127,11 @@ ] }, "locked": { - "lastModified": 1726611255, - "narHash": "sha256-/bxaYvIK6/d3zqpW26QFS0rqfd0cO4qreSNWvYLTl/w=", + "lastModified": 1726745512, + "narHash": "sha256-9xY9UEKC7gsA4sj5cZvZXk5jT/p2wGtkpp8hqE9yIRA=", "owner": "nix-community", "repo": "home-manager", - "rev": "d2493de5cd1da06b6a4c3e97f4e7d5dd791df457", + "rev": "7578176649a08abb73dfbd2755a5988766952b53", "type": "github" }, "original": { @@ -201,11 +201,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1726701516, - "narHash": "sha256-0xr+2k66e5g+SPXgHceaFZJlqq9kkAbahHE3vdYVZ3I=", + "lastModified": 1726759964, + "narHash": "sha256-d7ej4YWIxJs81uxlQSeiAUTqRLHJFhEtmbqIltKN1SI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "db8da26fb9e7a031f2882c14d86e705b853e6104", + "rev": "6886cfd66b1a58135d1e262d76834f77b2235f35", "type": "github" }, "original": { @@ -281,11 +281,11 @@ ] }, "locked": { - "lastModified": 1726626348, - "narHash": "sha256-sYV7e1B1yLcxo8/h+/hTwzZYmaju2oObNiy5iRI0C30=", + "lastModified": 1726712837, + "narHash": "sha256-Ob7DNyHKtOQpWetmNj/V+OgMkGXh6Ep1dNa6AN/4sSI=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "6fd52ad8bd88f39efb2c999cc971921c2fb9f3a2", + "rev": "6283b1d6ca31fa320ecee82806123e773b2ff993", "type": "github" }, "original": { diff --git a/nix/home-manager/gui.nix b/nix/home-manager/gui.nix index 835ed91..b72be85 100644 --- a/nix/home-manager/gui.nix +++ b/nix/home-manager/gui.nix @@ -30,6 +30,7 @@ in { NIX_CFLAGS_COMPILE = "${oldflags} ${newflags}"; + stdenv = pkgs.clangStdenv; } ); in @@ -135,6 +136,7 @@ "-Ofast" "-march=native" "-mtune=native" + "-fno-protect-parens" "-fno-finite-math-only" # https://github.com/ggerganov/llama.cpp/pull/7154#issuecomment-2143844461 ] )