about summary refs log tree commit diff
path: root/home/profiles/base
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-07-28 00:43:17 +0900
committersefidel <contact@sefidel.net>2023-07-28 00:43:17 +0900
commit54d08778bd2d85a899884d5c4b3e8d85ee23987f (patch)
tree0518141e1752e3bf7c8b4024de110c6dcd856b3b /home/profiles/base
parent54f5166c0fb9c94ec09471d4c6f6a22088815460 (diff)
downloadnixrc-54d08778bd2d85a899884d5c4b3e8d85ee23987f.tar.gz
nixrc-54d08778bd2d85a899884d5c4b3e8d85ee23987f.zip
feat(home/base): parity with base-darwin
* and hopefully fix weird derivation issues...
Diffstat (limited to 'home/profiles/base')
-rw-r--r--home/profiles/base/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 43b56dd..d9a0204 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -48,12 +48,14 @@ in
       pkgs.age-plugin-yubikey
 
       # Common build tools
-      (pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default))
+      (pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override { extensions = [ "rust-src" ]; }))
       pkgs.go
       pkgs.gcc
 
       (pkgs.writeShellScriptBin "0x0" (import ./scripts/0x0.nix))
       (pkgs.writeShellScriptBin "airport" (import ./scripts/airport.nix))
+    ] ++ lib.optionals (pkgs.stdenv.isDarwin) [
+      pkgs.iterm2
     ];
 
 
@@ -146,6 +148,7 @@ in
         nvimdiff = "nvim -d";
       } // lib.optionalAttrs (pkgs.stdenv.isDarwin) {
         # <nixpkgs>/nixos/modules/config/shells-environment.nix
+        clear = "clear && printf '\\e[3J'";
         l  = "ls -alh";
       };