From eb367346154e4f992ecbcf76cc7de61119e366e9 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sun, 10 May 2020 20:50:37 +0300 Subject: [PATCH] feat: rust --- modules/dev/default.nix | 3 ++- modules/dev/rust.nix | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 modules/dev/rust.nix diff --git a/modules/dev/default.nix b/modules/dev/default.nix index a41e947..1b18092 100644 --- a/modules/dev/default.nix +++ b/modules/dev/default.nix @@ -1,3 +1,4 @@ { ... }: { - imports = [ ./nix.nix ./purescript.nix ./javascript.nix ./haskell ]; + imports = + [ ./nix.nix ./purescript.nix ./javascript.nix ./rust.nix ./haskell ]; } diff --git a/modules/dev/rust.nix b/modules/dev/rust.nix new file mode 100644 index 0000000..f3b86ec --- /dev/null +++ b/modules/dev/rust.nix @@ -0,0 +1,3 @@ +{ pkgs, ... }: { + home-manager.users.adrielus.home.packages = with pkgs; [ rustup ]; +}