Skip to content

Commit 65db609

Browse files
committed
refactor: modularize rust development tools
Extract rust development tools from core user packages into optional module for selective deployment: - Add rustup to rust.nix optional module - Enable selective installation on systems needing rust development
1 parent 1acc421 commit 65db609

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{ pkgs, ... }:
2+
3+
{
4+
# Rust development tools
5+
6+
home.packages = with pkgs; [
7+
# Rust toolchain
8+
unstable.rustup
9+
];
10+
}

users/refnode/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
./common/core
44
./common/optional/desktop/darwin.nix
55
./common/optional/kubernetes.nix
6+
./common/optional/rust.nix
67
];
78

89
# specify my home-manager configs
@@ -99,7 +100,6 @@
99100
unstable.sqlite
100101
unstable.mob
101102
pkgs.garden
102-
unstable.rustup
103103
unstable.jujutsu
104104
unstable.minio-client
105105
unstable.kanata

0 commit comments

Comments
 (0)