2023-07-26 09:30:02 +02: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";
|
2023-07-25 22:42:47 +02:00
|
|
|
stateVersion = "23.05";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Add custom overlays
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = [
|
|
|
|
inputs.neovim-nightly-overlay.overlay
|
|
|
|
inputs.zig-overlay.overlays.default
|
|
|
|
# inputs.zls-overlay.???
|
|
|
|
];
|
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
|
|
|
|
|
2023-12-26 13:28:10 +01:00
|
|
|
openssh
|
2022-11-20 16:23:58 +01:00
|
|
|
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
|
2023-07-26 09:30:02 +02:00
|
|
|
(pass.withExtensions (extensions: with extensions; [
|
|
|
|
pass-otp
|
|
|
|
]))
|
2022-11-20 16:23:58 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
#
|
2023-12-26 13:28:10 +01:00
|
|
|
# j
|
2022-11-21 13:42:45 +01:00
|
|
|
];
|
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-19 11:52:18 +01:00
|
|
|
username = "reo101";
|
2023-07-26 09:30:02 +02:00
|
|
|
hostname = "cheetah";
|
2023-12-26 13:28:10 +01:00
|
|
|
atuin = 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";
|
|
|
|
userEmail = "pavel.atanasov2001@gmail.com";
|
2023-12-26 13:28:10 +01:00
|
|
|
signing = {
|
|
|
|
signByDefault = true;
|
|
|
|
key = "675AA7EF13964ACB";
|
|
|
|
};
|
2022-11-20 16:23:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
2023-12-26 13:28:10 +01:00
|
|
|
defaultCacheTtl = 86400;
|
|
|
|
maxCacheTtl = 86400;
|
|
|
|
pinentryFlavor = "tty";
|
2022-11-20 16:23:58 +01:00
|
|
|
enableSshSupport = true;
|
2024-01-25 16:39:43 +01:00
|
|
|
sshKeys = [ "CFDE97EDC2FDB2FD27020A084F1E3F40221BAFE7" ];
|
2022-11-20 16:23:58 +01:00
|
|
|
};
|
2024-01-07 23:53:44 +01:00
|
|
|
|
|
|
|
home.sessionVariables."PASSWORD_STORE_DIR" = "${config.xdg.dataHome}/password-store";
|
2022-11-20 16:23:58 +01:00
|
|
|
}
|