nix-managed-macbook/programs/default.nix

118 lines
2.2 KiB
Nix
Raw Normal View History

{ inputs, config, pkgs, ... }:
2022-09-27 13:08:52 +05:30
{
2022-09-29 16:46:39 +05:30
imports = [ ./fish.nix ./git.nix ./starship.nix ./vscode.nix ];
2022-09-27 13:08:52 +05:30
home.packages = with pkgs; [
bash
2022-09-27 13:08:52 +05:30
broot
cloc
cloudflare-dyndns
2022-09-27 17:58:53 +05:30
comma
2022-09-27 13:08:52 +05:30
config.nix.package
2022-09-29 11:39:28 +05:30
coreutils-full
2022-09-27 17:58:53 +05:30
ddgr
2022-09-27 13:08:52 +05:30
dua
entr
fd
gitui
graphviz-nox
haskellPackages.cabal-plan
haskellPackages.graphmod
httpie
2022-09-27 17:58:53 +05:30
jetbrains.idea-community
2022-09-27 13:08:52 +05:30
micro
2022-09-29 11:39:28 +05:30
neofetch
2022-09-27 13:08:52 +05:30
niv
2022-09-29 11:39:28 +05:30
nix
2022-09-27 17:58:53 +05:30
nix-diff
2022-09-29 11:39:28 +05:30
nixfmt
2022-09-27 17:58:53 +05:30
ranger
2022-09-28 17:50:47 +05:30
rnix-lsp
2022-09-27 17:58:53 +05:30
shellcheck
2022-09-29 11:39:28 +05:30
spotify-tui
2022-09-27 13:08:52 +05:30
statix
2022-09-27 17:58:53 +05:30
tealdeer
2022-09-29 11:39:28 +05:30
thefuck
2022-09-27 13:08:52 +05:30
# fonts
fira-mono
inconsolata
jetbrains-mono
nanum-gothic-coding
roboto-mono
source-code-pro
(import ../packages/dm-mono.nix { inherit lib pkgs; dm-mono-src = "${inputs.dm-mono-font}"; })
2022-09-29 11:39:28 +05:30
(nerdfonts.override { fonts = [ "Monoid" "Agave" "Iosevka" "Lekton" "VictorMono" ]; })
2022-09-27 13:08:52 +05:30
];
programs.htop = {
enable = true;
settings = {
hide_kernel_threads = true;
hide_threads = true;
hide_userland_threads = true;
highlight_base_name = true;
show_program_path = false;
2022-09-29 11:39:28 +05:30
sort_direction = false;
sort_key = "PERCENT_CPU";
2022-09-27 13:08:52 +05:30
tree_view = true;
};
};
programs.exa = {
enable = true;
enableAliases = true;
};
programs.direnv = {
enable = true;
nix-direnv = { enable = true; };
};
programs.nix-index = {
enable = true;
enableFishIntegration = true;
};
programs.just = {
enable = true;
enableFishIntegration = true;
};
programs.bat = {
enable = true;
config = {
italic-text = "always";
paging = "always";
tabs = "2";
theme = "DarkNeon";
};
};
programs.fzf = {
enable = true;
enableFishIntegration = true;
fileWidgetCommand = "fd --type f --no-ignore";
historyWidgetOptions = [ "--reverse" "--sort" "--exact" ];
};
programs.micro = {
enable = true;
settings = {
autoindent = true;
colorcolumn = 100;
colorscheme = "gotham";
diffgutter = true;
hlsearch = true;
mkparents = true;
savecursor = true;
softwrap = true;
tabsize = 2;
tabstospaces = true;
# plugins
manipulator = true;
};
};
}