2023-02-12 23:33:57 +01:00
|
|
|
{ inputs, outputs, lib, pkgs, config, ... }:
|
2022-11-20 16:23:58 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
# Home Manager needs a bit of information about you and the
|
|
|
|
# paths it should manage.
|
|
|
|
home = {
|
|
|
|
username = "nix-on-droid";
|
|
|
|
# username = "reo101";
|
|
|
|
homeDirectory = "/data/data/com.termux.nix/files/home";
|
2022-12-04 20:55:48 +01:00
|
|
|
stateVersion = "22.11";
|
2022-11-20 16:23:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
# neovim
|
|
|
|
# clang
|
|
|
|
gcc
|
|
|
|
|
|
|
|
diffutils
|
|
|
|
findutils
|
|
|
|
utillinux
|
|
|
|
tzdata
|
|
|
|
hostname
|
|
|
|
man
|
|
|
|
ncurses
|
|
|
|
gnugrep
|
|
|
|
gnupg
|
|
|
|
gnused
|
|
|
|
gnutar
|
|
|
|
bzip2
|
|
|
|
gzip
|
|
|
|
xz
|
|
|
|
zip
|
|
|
|
unzip
|
|
|
|
|
2022-11-24 01:16:02 +01:00
|
|
|
direnv
|
|
|
|
nix-direnv
|
|
|
|
|
2022-11-20 16:23:58 +01:00
|
|
|
# Bling
|
|
|
|
onefetch
|
|
|
|
neofetch
|
|
|
|
|
|
|
|
# Utils
|
|
|
|
ripgrep
|
2023-02-17 02:21:03 +01:00
|
|
|
duf
|
2022-11-20 16:23:58 +01:00
|
|
|
|
|
|
|
# Passwords
|
|
|
|
pass
|
|
|
|
passExtensions.pass-otp
|
|
|
|
|
|
|
|
# Dhall
|
2023-02-17 02:21:03 +01:00
|
|
|
# dhall
|
|
|
|
# dhall-lsp-server
|
2022-11-20 16:23:58 +01:00
|
|
|
|
2022-11-21 13:42:45 +01:00
|
|
|
# Zig
|
2023-02-17 02:21:03 +01:00
|
|
|
# zigpkgs.master
|
|
|
|
# inputs.zls-overlay.packages.aarch64-linux.default
|
|
|
|
|
|
|
|
# Emacs
|
|
|
|
# emacs
|
|
|
|
|
|
|
|
#
|
|
|
|
j
|
2022-11-21 13:42:45 +01:00
|
|
|
];
|
2022-11-20 16:23:58 +01:00
|
|
|
|
2022-11-21 08:52:42 +01:00
|
|
|
nixpkgs = {
|
|
|
|
overlays = [
|
2022-11-21 13:42:45 +01:00
|
|
|
inputs.neovim-nightly-overlay.overlay
|
|
|
|
inputs.zig-overlay.overlays.default
|
2022-11-21 14:36:23 +01:00
|
|
|
# inputs.zls-overlay.???
|
2022-11-21 08:52:42 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
|
2022-11-20 16:23:58 +01:00
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
2022-11-21 08:52:42 +01:00
|
|
|
package = pkgs.neovim-nightly;
|
2022-11-20 16:23:58 +01:00
|
|
|
# defaultEditor = true;
|
|
|
|
|
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
vimdiffAlias = true;
|
|
|
|
|
|
|
|
withPython3 = false;
|
|
|
|
withNodeJs = false;
|
|
|
|
withRuby = false;
|
|
|
|
|
|
|
|
# neovimRcContent = "";
|
|
|
|
|
|
|
|
extraPackages = with pkgs; [
|
2023-02-12 23:33:57 +01:00
|
|
|
tree-sitter
|
|
|
|
rnix-lsp
|
|
|
|
# sumneko-lua-language-server
|
|
|
|
# stylua
|
|
|
|
# texlab
|
|
|
|
# rust-analyzer
|
2022-11-20 16:23:58 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-02-17 02:21:03 +01:00
|
|
|
reo101.shell = {
|
2022-11-24 01:16:02 +01:00
|
|
|
enable = true;
|
2023-02-17 02:21:03 +01:00
|
|
|
direnv = true;
|
|
|
|
zoxide = true;
|
2022-11-21 09:08:33 +01:00
|
|
|
};
|
|
|
|
|
2022-11-20 16:23:58 +01:00
|
|
|
home.file = {
|
|
|
|
".config/nvim" = {
|
2023-02-17 02:21:03 +01:00
|
|
|
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.local/src/reovim";
|
2022-11-20 16:23:58 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "reo101";
|
|
|
|
# userName = "Pavel Atanasov";
|
|
|
|
userEmail = "pavel.atanasov2001@gmail.com";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
defaultCacheTtl = 1800;
|
|
|
|
enableSshSupport = true;
|
|
|
|
};
|
2022-11-24 01:16:02 +01:00
|
|
|
|
|
|
|
# Using nix-direnv
|
|
|
|
# services.lorri = {
|
|
|
|
# enable = true;
|
|
|
|
# };
|
2022-11-20 16:23:58 +01:00
|
|
|
}
|