This commit is contained in:
Miguel Palhas
2025-02-02 21:40:58 +00:00
parent fb2ec0f227
commit 80846e8671
4 changed files with 49 additions and 10 deletions
Generated
+3 -3
View File
@@ -785,11 +785,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738061895, "lastModified": 1738378935,
"narHash": "sha256-Yu0t5/h6+HbJjTqTMy/XIZF8YYUsiH5B/J+rY+ggl+I=", "narHash": "sha256-5+k990nb+BgYKMv04thpSe/xgo5wYpKpzXXQomTML0Y=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix4nvchad", "repo": "nix4nvchad",
"rev": "92eb8d2037e3660104163264c5793ba7c16d10de", "rev": "64e49f7186a851a36dadeacee05df7f98e390a9e",
"type": "github" "type": "github"
}, },
"original": { "original": {
+35
View File
@@ -0,0 +1,35 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
rust.url = "github:oxalica/rust-overlay";
};
outputs =
{
self,
nixpkgs,
utils,
rust,
}:
utils.lib.eachDefaultSystem (
system:
let
overlays = [ (import rust) ];
pkgs = import nixpkgs {
inherit system overlays;
};
buildInputs = with pkgs; [
pkg-config
bacon
openssl
];
in
with pkgs;
{
devShells.default = mkShell {
inherit buildInputs;
};
}
);
}
+7 -7
View File
@@ -5,17 +5,17 @@
bacon bacon
mprocs mprocs
pkg-config pkg-config
openssl openssl.dev
taplo taplo
sccache sccache
]; ];
home.sessionPath = [ "\${CARGO_HOME:-~/.cargo}/bin" ]; home.sessionPath = [ "\${CARGO_HOME:-~/.cargo}/bin" ];
systemd.user.services.ra-multiplex = { # systemd.user.services.ra-multiplex = {
Service = { # Service = {
ExecStart = "${pkgs.ra-multiplex}/bin/ra-multiplex server"; # ExecStart = "${pkgs.ra-multiplex}/bin/ra-multiplex server";
}; # };
Install.WantedBy = [ "default.target" ]; # Install.WantedBy = [ "default.target" ];
}; # };
} }
+4
View File
@@ -68,6 +68,10 @@
. "$HOME/.nix-profile/share/asdf-vm/asdf.sh" . "$HOME/.nix-profile/share/asdf-vm/asdf.sh"
[[ -f ~/.secrets.zsh ]] && source ~/.secrets.zsh [[ -f ~/.secrets.zsh ]] && source ~/.secrets.zsh
# export PKG_CONFIG_PATH=$(nix eval --raw nixpkgs.openssl.dev)/lib/pkgconfig:$PKG_CONFIG_PATH
# export LIBRARY_PATH=$(nix eval --raw nixpkgs.openssl.dev)/lib:$LIBRARY_PATH
# export LD_LIBRARY_PATH=$(nix eval --raw nixpkgs.openssl.dev)/lib:$LD_LIBRARY_PATH
''; '';
}; };