Dmitriy Pleshevskiy
dab505e62b
nix: refac overlays nix: fix path to packages nix: use mkMerge nix: rename nixpkgs-unstable input user: remove my tools user: build use unstable packages for nil cannot be built on stable because it requires rustc 1.66 or newer, while the currently active rustc version is 1.64.0 host/magenta: use unstable gitea nix: fix rollback command nix: fix overlays user: use unstable haskell packages to build xmonad user: don't build woodpecker-cli host: import nix module for canigou and magenta pkgs: fix woodpecker host/home: use unstable kernel to use rtl88x2bu driver host: use unstable ipfs move ipfs to shared config user: use unstable woodpecker-cli Reviewed-on: #13
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
exaPackage = pkgs.exa.override { gitSupport = false; };
|
|
in
|
|
{
|
|
programs.exa = {
|
|
enable = true;
|
|
package = exaPackage;
|
|
};
|
|
programs.zsh.shellAliases =
|
|
let
|
|
defaultArgs = "--icons --classify --group-directories-first --all";
|
|
bin = "${exaPackage}/bin/exa ${defaultArgs}";
|
|
in
|
|
lib.mkIf config.programs.zsh.enable {
|
|
ls = "${bin} --oneline";
|
|
lt = "${bin} --tree --level=3";
|
|
ll = "${bin} --long --header";
|
|
};
|
|
|
|
programs.direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
};
|
|
|
|
programs.zoxide = {
|
|
enable = true;
|
|
enableZshIntegration = config.programs.zsh.enable;
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
# tools
|
|
xh # friendly and fast tool for sending HTTP requests
|
|
fd # a simple, fast and user-friendly alternative to find
|
|
bat # a cat clone with syntax highlighting and git integration
|
|
ripgrep # a fuzzy finder
|
|
vnetod # a tool to change env sections
|
|
gnumake
|
|
libnotify # tool to send notifications via cli
|
|
|
|
deno
|
|
nickel
|
|
|
|
nixpkgs-fmt # nix formatter
|
|
unstable.nil # nix lsp server
|
|
|
|
docker-compose
|
|
];
|
|
}
|