move to external cargo config
This commit is contained in:
parent
43a3c2df5b
commit
4311082a72
6 changed files with 17 additions and 6 deletions
|
|
@ -58,6 +58,11 @@
|
||||||
trunk
|
trunk
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# programs.nix-ld.enable = true;
|
||||||
|
# programs.nix-ld.libraries = with pkgs; [
|
||||||
|
# xorg.libX11
|
||||||
|
# ];
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
||||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,8 @@
|
||||||
inputs.helix.packages.${pkgs.system}.default
|
inputs.helix.packages.${pkgs.system}.default
|
||||||
# libthai
|
# libthai
|
||||||
localsend
|
localsend
|
||||||
macchina
|
# macchina
|
||||||
|
neofetch
|
||||||
mesa
|
mesa
|
||||||
ouch
|
ouch
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
|
# THE FINALS audio borked
|
||||||
services.pipewire.enable = false;
|
services.pipewire.enable = false;
|
||||||
hardware.pulseaudio.enable = true;
|
hardware.pulseaudio.enable = true;
|
||||||
hardware.pulseaudio.support32Bit = true;
|
hardware.pulseaudio.support32Bit = true;
|
||||||
|
|
@ -8,8 +9,8 @@
|
||||||
# gpt4all-chat
|
# gpt4all-chat
|
||||||
# nvidia-vaapi-driver
|
# nvidia-vaapi-driver
|
||||||
# foldingathome
|
# foldingathome
|
||||||
gwe
|
|
||||||
# mesa
|
# mesa
|
||||||
|
gwe
|
||||||
openrgb
|
openrgb
|
||||||
snapper
|
snapper
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,15 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
cargoFile = builtins.readFile ./cargo.toml;
|
||||||
|
cargoConfig = builtins.replaceStrings ["path/to/sccache"] ["${pkgs.sccache}/bin/sccache"] cargoFile;
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
(import ./helix.nix {inherit pkgs inputs;})
|
(import ./helix.nix {inherit pkgs inputs;})
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file.".cargo/config.toml".text = builtins.readFile ./cargo.toml;
|
home.file.".cargo/config.toml".text = cargoConfig;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
jujutsu = {
|
jujutsu = {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,8 @@ rr = "run --release"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
target = "x86_64-unknown-linux-gnu"
|
target = "x86_64-unknown-linux-gnu"
|
||||||
rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
# rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
||||||
|
rustc-wrapper = "path/to/sccache"
|
||||||
rustflags = ["-Z", "threads=8"]
|
rustflags = ["-Z", "threads=8"]
|
||||||
|
|
||||||
[unstable]
|
[unstable]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
source ~/.cache/starship/init.nu
|
source ~/.cache/starship/init.nu
|
||||||
source ~/.zoxide.nu
|
source ~/.zoxide.nu
|
||||||
alias cringe = sudo bootctl set-oneshot auto-windows
|
alias cringe = sudo bootctl set-oneshot auto-windows
|
||||||
alias fetch = macchina
|
alias fetch = neofetch
|
||||||
alias ff = firefox
|
alias ff = firefox
|
||||||
alias gc = sudo nix-collect-garbage -d
|
alias gc = sudo nix-collect-garbage -d
|
||||||
alias js = jj status
|
alias js = jj status
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue