nix-managed-macbook/programs/default.nix
Abhinav Sarkar 429f528b3e flake.lock: Update
Flake lock file updates:

• Updated input 'fish-plugin-fzf':
    'github:PatrickF1/fzf.fish/f9e2e48a54199fe7c6c846556a12003e75ab798e' (2023-08-21)
  → 'github:PatrickF1/fzf.fish/bbaf29ae8ad30e1cb1c78d2c14814b1678022875' (2023-09-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/6a20e40acaebf067da682661aa67da8b36812606' (2023-08-23)
  → 'github:nix-community/home-manager/19c6a4081b14443420358262f8416149bd79561a' (2023-09-08)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/c66ccfa00c643751da2fd9290e096ceaa30493fc' (2023-08-26)
  → 'github:nixos/nixpkgs/b200e0df08f80c32974a6108ce431d8a8a5e6547' (2023-09-07)
2023-09-10 11:02:13 +05:30

129 lines
2.4 KiB
Nix

{ inputs, config, pkgs, ... }:
let
nixPackages = with pkgs; [
config.nix.package
niv
nix
nix-diff
nixfmt
rnix-lsp
statix
];
networkingPackages = with pkgs; [
curl
dig
httpie
openssh
mosh
];
cmdLineUtilPackages = with pkgs; [
bash
broot
coreutils-full
fd
gnugrep
less
ranger
tree
];
miscPackages = with pkgs; [
cabal2nix
cloc
comma
dua
entr
gitui
graphviz-nox
iterm2
jetbrains.idea-community
just
micro
neofetch
proselint
shellcheck
toot
typos
];
fonts = with pkgs; [
fira-mono
inconsolata
jetbrains-mono
nanum-gothic-coding
roboto-mono
source-code-pro
(pkgs.callPackage ../packages/dm-mono.nix { dm-mono-src = "${inputs.dm-mono-font}"; })
(nerdfonts.override { fonts = [ "Monoid" "Agave" "Iosevka" "Lekton" "VictorMono" ]; })
];
in {
imports = [ ./fish.nix ./git.nix ./starship.nix ./vscode.nix ];
home.packages = nixPackages ++ networkingPackages ++ cmdLineUtilPackages ++ miscPackages ++ fonts;
programs.htop = {
enable = true;
settings = {
hide_kernel_threads = true;
hide_threads = true;
hide_userland_threads = true;
highlight_base_name = true;
show_program_path = false;
sort_direction = false;
sort_key = "PERCENT_CPU";
tree_view = true;
};
};
programs.eza = {
enable = true;
enableAliases = true;
};
programs.direnv = {
enable = true;
nix-direnv = { enable = true; };
};
programs.nix-index = {
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 = "gruvbox";
diffgutter = true;
hlsearch = true;
mkparents = true;
savecursor = true;
softwrap = true;
tabsize = 2;
tabstospaces = true;
# plugins
manipulator = true;
};
};
programs.zoxide.enable = true;
}