{ config, pkgs, ... }: { imports = [ ./common.nix ]; home = { username = "root"; homeDirectory = "/root"; }; programs = { bash = { shellAliases.dd = "dd bs=1M conv=fsync status=progress"; sessionVariables.SOPS_AGE_KEY_FILE = "/var/lib/sops-nix/key.txt"; initExtra = '' session() { systemd-run -tGM bogale@ --user --wait $SHELL } awg-gen() { PRIVATE=$(awg genkey) printf "public: " echo $PRIVATE | awg pubkey echo "private: $PRIVATE" printf "preshared: " awg genpsk } ''; }; tmux = { enable = true; clock24 = true; escapeTime = 0; keyMode = "vi"; terminal = "screen-256color"; extraConfig = '' unbind C-b set -g mouse on set -g prefix M-f bind f send-prefix bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind i split-window -v bind u split-window -h set -s set-clipboard external set-option -g focus-events on set-option -a terminal-features "xterm-256color:RGB" ''; }; }; }