2021-09-29 16:38:27 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2021-10-09 02:52:28 +00:00
|
|
|
imports = [
|
2021-09-29 23:00:14 +00:00
|
|
|
./kakoune/kak.nix
|
|
|
|
./fish/fish.nix
|
2021-10-09 02:52:28 +00:00
|
|
|
];
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
# Enable the manual so we don't have to load it
|
|
|
|
manual.html.enable = true;
|
|
|
|
|
|
|
|
# Packages that are not in programs section
|
|
|
|
home.packages = with pkgs; [
|
2021-10-09 01:36:54 +00:00
|
|
|
# Build Tools
|
2021-09-29 16:42:37 +00:00
|
|
|
## C++
|
2021-09-29 16:38:27 +00:00
|
|
|
autoconf
|
|
|
|
automake
|
2021-09-29 16:42:37 +00:00
|
|
|
## SQL
|
|
|
|
flyway
|
|
|
|
## Go
|
|
|
|
go # to be configured later
|
|
|
|
## Rust
|
|
|
|
rust-analyzer
|
|
|
|
## JavaScript
|
|
|
|
yarn
|
2021-10-20 03:01:33 +00:00
|
|
|
## Nix
|
|
|
|
cachix
|
2021-09-29 16:42:37 +00:00
|
|
|
|
|
|
|
# Fonts
|
2021-09-29 16:38:27 +00:00
|
|
|
fantasque-sans-mono
|
2021-10-21 16:49:00 +00:00
|
|
|
## Enable the FSM font with NF variant
|
|
|
|
(nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
2021-09-29 16:42:37 +00:00
|
|
|
|
|
|
|
# CLI tools
|
2021-09-29 16:38:27 +00:00
|
|
|
fd
|
|
|
|
fossil
|
2021-09-29 16:42:37 +00:00
|
|
|
## Blog generator
|
2021-09-29 16:38:27 +00:00
|
|
|
hugo
|
2021-09-29 16:42:37 +00:00
|
|
|
## File Manager
|
2021-09-29 16:38:27 +00:00
|
|
|
nnn
|
2021-09-29 16:42:37 +00:00
|
|
|
## PDF Processors
|
2021-09-29 16:38:27 +00:00
|
|
|
poppler_utils
|
2021-10-09 02:52:28 +00:00
|
|
|
## htop replacement
|
|
|
|
bottom
|
2021-09-29 16:42:37 +00:00
|
|
|
|
|
|
|
# Databases
|
|
|
|
postgresql
|
2021-10-09 02:52:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
# Bat theme
|
|
|
|
BAT_THEME = "GitHub";
|
|
|
|
};
|
|
|
|
|
|
|
|
home.sessionPath = [
|
|
|
|
# Sometimes we want to install custom scripts here
|
|
|
|
"~/.local/bin"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Programs
|
|
|
|
programs = {
|
|
|
|
bat = {
|
|
|
|
enable = true;
|
|
|
|
config = {
|
|
|
|
theme = "GitHub";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
broot.enable = true;
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-20 01:11:07 +00:00
|
|
|
direnv.enable = true;
|
|
|
|
direnv.nix-direnv.enable = true;
|
|
|
|
direnv.nix-direnv.enableFlakes = true;
|
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
exa = {
|
|
|
|
enable = true;
|
|
|
|
enableAliases = true;
|
|
|
|
};
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
# later
|
|
|
|
firefox = {};
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
fzf = {
|
|
|
|
enable = true;
|
|
|
|
enableFishIntegration = true;
|
|
|
|
};
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
gh = {
|
|
|
|
enable = true;
|
|
|
|
gitProtocol = "ssh";
|
|
|
|
};
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
delta = {
|
|
|
|
enable = true;
|
|
|
|
options = {
|
|
|
|
line-numbers = true;
|
|
|
|
side-by-side = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
signing.key = null;
|
|
|
|
signing.signByDefault = true;
|
|
|
|
userEmail = "nki@nkagami.me";
|
|
|
|
userName = "Natsu Kagami";
|
|
|
|
extraConfig = {
|
|
|
|
init.defaultBranch = "master";
|
|
|
|
};
|
|
|
|
};
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
gpg.enable = true;
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
jq.enable = true;
|
2021-09-29 16:38:27 +00:00
|
|
|
|
2021-10-09 02:52:28 +00:00
|
|
|
nushell.enable = true;
|
|
|
|
};
|
2021-09-29 16:38:27 +00:00
|
|
|
}
|