From d91a63e1ef9858db4f9757ee92215d69b57458ed Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Wed, 14 Feb 2024 23:35:51 -0800 Subject: [PATCH] update & stuff --- extras/dev.nix | 2 +- flake.lock | 24 ++++++++++++------------ users/tao.nix | 6 +++--- users/tao/home.nix | 5 ++++- 4 files changed, 20 insertions(+), 17 deletions(-) diff --git a/extras/dev.nix b/extras/dev.nix index e342dbe..3c21351 100644 --- a/extras/dev.nix +++ b/extras/dev.nix @@ -3,7 +3,7 @@ # pijul # vulkan-loader etcher - freecad + # freecad hyperfine jq jujutsu diff --git a/flake.lock b/flake.lock index 2e3f803..e03accb 100644 --- a/flake.lock +++ b/flake.lock @@ -49,11 +49,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1707756582, - "narHash": "sha256-jBiIBug877dr9RwMPRVR2Li02mWXV5DJIRcZIh/wxjQ=", + "lastModified": 1707929755, + "narHash": "sha256-mqqYc76wzC80hVRtdsnONVtszEI4l42WvK6WurUisoY=", "owner": "helix-editor", "repo": "helix", - "rev": "fd7b722dfb15b1e2211e1bcce5b2631113d1741e", + "rev": "59369d99e2ed891206bd63c9b83b034da474920a", "type": "github" }, "original": { @@ -69,11 +69,11 @@ ] }, "locked": { - "lastModified": 1707683400, - "narHash": "sha256-Zc+J3UO1Xpx+NL8UB6woPHyttEy9cXXtm+0uWwzuYDc=", + "lastModified": 1707919853, + "narHash": "sha256-qxmBGDzutuJ/tsX4gp+Mr7fjxOZBbeT9ixhS5o4iFOw=", "owner": "nix-community", "repo": "home-manager", - "rev": "21b078306a2ab68748abf72650db313d646cf2ca", + "rev": "043ba285c6dc20f36441d48525402bcb9743c498", "type": "github" }, "original": { @@ -84,11 +84,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1707211557, - "narHash": "sha256-LTKTzZ6fM5j8XWXf51IMBzDaOaJg9kYWLUZxoIhzRN8=", + "lastModified": 1707842204, + "narHash": "sha256-M+HAq1qWQBi/gywaMZwX0odU+Qb/XeqVeANGKRBDOwU=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "6e5cc385fc8cf5ca6495d70243074ccdea9f64c7", + "rev": "f1b2f71c86a5b1941d20608db0b1e88a07d31303", "type": "github" }, "original": { @@ -148,11 +148,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1707546158, - "narHash": "sha256-nYYJTpzfPMDxI8mzhQsYjIUX+grorqjKEU9Np6Xwy/0=", + "lastModified": 1707863367, + "narHash": "sha256-LdBbCSSP7VHaHA4KXcPGKqkvsowT2+7W4jlEHJj6rPg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d934204a0f8d9198e1e4515dd6fec76a139c87f0", + "rev": "35ff7e87ee05199a8003f438ec11a174bcbd98ea", "type": "github" }, "original": { diff --git a/users/tao.nix b/users/tao.nix index 45434f1..346254f 100644 --- a/users/tao.nix +++ b/users/tao.nix @@ -20,7 +20,7 @@ appimage-run aspell aspellDicts.en - birdtray + # birdtray bottles calibre darktable @@ -33,10 +33,10 @@ libsForQt5.kcharselect libsForQt5.kdeconnect-kde libsForQt5.plasma-vault - mendeley + # mendeley nushell obs-studio - ocs-url + # ocs-url onefetch onlyoffice-bin pandoc diff --git a/users/tao/home.nix b/users/tao/home.nix index 9b12a28..ba95d65 100644 --- a/users/tao/home.nix +++ b/users/tao/home.nix @@ -68,15 +68,18 @@ [provile.dev] debug = 0 strip = "debuginfo" + lto = "off" codegen-backend = "cranelift" [profile.release] incremental = true + codegen-units = 1 + lto = "fat" [target.x86-unknown-linux-musl] # linker = "musl-gcc" # linker = "clang" - rustflag = ["-C", "link-arg=ld-path=${pkgs.mold}/bin/mold"] + rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"] ''; home.username = "tao";