slight changes
This commit is contained in:
parent
a9d1fb86bc
commit
2395edea4d
4 changed files with 13 additions and 19 deletions
|
|
@ -36,6 +36,5 @@
|
||||||
btop
|
btop
|
||||||
nvtopPackages.full
|
nvtopPackages.full
|
||||||
arandr
|
arandr
|
||||||
inputs.nix-gaming.packages.${pkgs.system}.wine-discord-ipc-bridge
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,11 @@
|
||||||
linuxHeaders
|
linuxHeaders
|
||||||
appimage-run
|
appimage-run
|
||||||
freetype.dev
|
freetype.dev
|
||||||
zed-editor
|
|
||||||
pixman
|
pixman
|
||||||
|
bitwarden
|
||||||
udiskie
|
udiskie
|
||||||
maim
|
maim
|
||||||
mercurial
|
mercurial
|
||||||
obsidian
|
|
||||||
go
|
go
|
||||||
go-tools
|
go-tools
|
||||||
gopls
|
gopls
|
||||||
|
|
@ -40,6 +39,13 @@
|
||||||
jdk17
|
jdk17
|
||||||
maven
|
maven
|
||||||
gradle
|
gradle
|
||||||
|
rustc
|
||||||
|
rustup
|
||||||
|
cargo-edit
|
||||||
|
cargo-watch
|
||||||
|
cargo-outdated
|
||||||
|
cargo-audit
|
||||||
|
rust-analyzer
|
||||||
visualvm
|
visualvm
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./udiskie.nix
|
./udiskie.nix
|
||||||
./ld.nix
|
./ld.nix
|
||||||
./rust.nix
|
|
||||||
./x11.nix
|
./x11.nix
|
||||||
./i3-xfce.nix
|
./i3-xfce.nix
|
||||||
./ollama.nix
|
./ollama.nix
|
||||||
|
|
|
||||||
|
|
@ -1,31 +1,21 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options.rust = {
|
options.rust.enable = lib.mkEnableOption "System Rust Environment";
|
||||||
enable = lib.mkEnableOption "System Rust Environment";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf config.rust.enable {
|
config = lib.mkIf config.rust.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
rustc
|
|
||||||
rustup
|
rustup
|
||||||
|
rust-analyzer
|
||||||
|
clippy
|
||||||
cargo-edit
|
cargo-edit
|
||||||
cargo-watch
|
cargo-watch
|
||||||
cargo-outdated
|
cargo-outdated
|
||||||
cargo-audit
|
cargo-audit
|
||||||
rust-analyzer
|
|
||||||
clippy
|
|
||||||
minijinja-cli
|
minijinja-cli
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables = {
|
|
||||||
PATH = [
|
|
||||||
"${pkgs.rustc}/bin"
|
|
||||||
"${pkgs.cargo}/bin"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue