{ pkgs, lib, config, inputs, ... }: { imports = [ inputs.home-manager.nixosModules."home-manager" ]; config = { home-manager.users.tzlil = {pkgs, ...} @ hm: { home = { packages = with pkgs; [ rsync curl ripgrep bat croc ]; sessionVariables.EDITOR = "nvim"; }; programs = { ssh.enable = true; git = { userName = "tzlil"; userEmail = "tzlils@protonmail.com"; enable = true; }; direnv = { enable = true; nix-direnv.enable = true; }; fish = { enable = true; shellAliases = { gc = "git clone"; l = "ls -alh"; b = "bat"; }; functions = { sb.body = "nixos-rebuild build --flake git+ssh://pc/home/tzlil/newflake --use-remote-sudo"; sw.body = "nixos-rebuild switch --flake git+ssh://pc/home/tzlil/newflake --use-remote-sudo"; }; }; neovim = { enable = true; viAlias = true; vimAlias = true; }; }; }; }; }