{ pkgs, lib, config, inputs, ... }: { imports = [ inputs.home-manager.nixosModules."home-manager" inputs.agenix.nixosModules ]; config = { home-manager.users.tzlil = {pkgs, ...}@hm: { home = { packages = with pkgs; [ rsync curl ripgrep ]; programs = { ssh.enable = true; git = { userName = "tzlil"; userEmail = "tzlils@protonmail.com"; enable = true; }; fish = { enable = true; shellAliases = { gc = "git clone"; l = "ls -alh"; }; functions = { sb.body = "sudo nixos-rebuild build --flake ~/sources/nixcfg#(hostname)"; sw.body = "sudo nixos-rebuild switch --flake ~/sources/nixcfg#(hostname)"; }; }; }; }; }; }; }