fixing some st00pid stuff i dont remember

This commit is contained in:
cnst
2024-08-05 20:08:48 +02:00
parent e5f3027ce6
commit 6609f58772
19 changed files with 185 additions and 89 deletions

View File

@@ -16,10 +16,13 @@
pkgs.git
pkgs.scx
pkgs.stow
pkgs.age
];
localBinInPath = true;
};
console.useXkbConfig = true;
nix = {
# pin the registry to avoid downloading and evaling a new nixpkgs version every time
registry = lib.mapAttrs (_: v: {flake = v;}) inputs;

View File

@@ -1,6 +1,7 @@
{pkgs ? import <nixpkgs> {}, ...}: {
default = pkgs.mkShell {
NIX_CONFIG = "extra-experimental-features = nix-command flakes";
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
nativeBuildInputs = with pkgs; [
rust-analyzer
cargo