diff --git a/flake.lock b/flake.lock index 4ef893e..ca612da 100644 --- a/flake.lock +++ b/flake.lock @@ -762,11 +762,11 @@ "nvchad-starter": { "flake": false, "locked": { - "lastModified": 1736161410, - "narHash": "sha256-fhcrCf8QKDzcdCFxZQfzLyTcn3JelWaVEitkrcTF8Pw=", + "lastModified": 1738534925, + "narHash": "sha256-a0czffGTjRai0/QmmxHYjWzm9ddDLIqq20wueyDccFc=", "owner": "naps62", "repo": "nvchad-starter", - "rev": "12bb8484c3ec86640e089a3196b4294e67b83c6c", + "rev": "caf8648bf884a13ceaae0565afd1b37666003cd4", "type": "github" }, "original": { diff --git a/flakes/rust-dev/flake.lock b/flakes/rust-dev/flake.lock new file mode 100644 index 0000000..961ca47 --- /dev/null +++ b/flakes/rust-dev/flake.lock @@ -0,0 +1,96 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1738410390, + "narHash": "sha256-xvTo0Aw0+veek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "3a228057f5b619feb3186e986dbe76278d707b6e", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1736320768, + "narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "4bc9c909d9ac828a039f288cf872d16d38185db8", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "rust": "rust", + "utils": "utils" + } + }, + "rust": { + "inputs": { + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1738463259, + "narHash": "sha256-+5QJpiRpkh1ALvKcMEpPyGwkPZfaynsYF4SFdNW5UfQ=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "e2bb8c205a069514535f083742c7da8dfb6e02b9", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/home/common/programs/rust.nix b/home/common/programs/rust.nix index 3b4c49b..b0c4877 100644 --- a/home/common/programs/rust.nix +++ b/home/common/programs/rust.nix @@ -18,4 +18,10 @@ # }; # Install.WantedBy = [ "default.target" ]; # }; + + home.sessionVariables = { + OPENSSL_DIR = "${pkgs.openssl.dev}"; + OPENSSL_LIB_DIR = "${pkgs.openssl.out}/lib"; + OPENSSL_INCLUDE_DIR = "${pkgs.openssl.dev}/include"; + }; }