From b5205852ac22047e081535f45d0689b16aba641f Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 21 Apr 2018 19:38:27 +0200 Subject: Show nix-shell presence in fish, add ls alias --- configuration.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index 1677d38..6c443ac 100644 --- a/configuration.nix +++ b/configuration.nix @@ -71,9 +71,15 @@ shell = pkgs.fish; }; - environment.systemPackages = let - custom_vim = import ./pkgs/vim/vim.nix pkgs; - in with pkgs; [ - ntfs3g htop fish custom_vim - ]; + environment = { + systemPackages = let + custom_vim = import ./pkgs/vim/vim.nix pkgs; + in with pkgs; [ + ntfs3g htop fish custom_vim + ]; + + shellAliases = { + "ls" = "ls --color --group-directories-first"; + }; + }; } -- cgit v1.2.3