diff --git a/configuration-server.nix b/configuration-server.nix index fe3ef1f..8013594 100644 --- a/configuration-server.nix +++ b/configuration-server.nix @@ -13,6 +13,7 @@ ./modules/sops.nix ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.trusted-users = [ "root" "th3r00t" ]; networking.hostName = "Titan"; # Define your hostname. # Bootloader. boot = { diff --git a/home/.local/usr/bin/pytui b/home/.local/usr/bin/pytui index 415b3dd..8713261 100755 Binary files a/home/.local/usr/bin/pytui and b/home/.local/usr/bin/pytui differ diff --git a/modules/home-manager-common.nix b/modules/home-manager-common.nix index 3c35929..95fe72b 100644 --- a/modules/home-manager-common.nix +++ b/modules/home-manager-common.nix @@ -55,6 +55,7 @@ ] ) ) + pyenv neovim zig nodejs @@ -193,11 +194,18 @@ # terminal = "xterm-kitty:RGB"; tmuxinator.enable = true; extraConfig = '' + if-shell "[[ $(hostname) = 'xps13' ]]" { + set-option -as terminal-features 'foot:RGB' + } + if-shell "[[ $(hostname) = 'Titan' ]]" { + set-option -as terminal-features 'xterm-256color:RGB' + set -g default-terminal "tmux-256color" + set -g terminal-overrides ",xterm-256color:RGB" + } set-option -g update-environment "DISPLAY XAUTHORITY WAYLAND_DISPLAY XDG_RUNTIME_DIR HYPRLAND_INSTANCE_SIGNATURE" set -g focus-events on set -g escape-time 3 set-option -g status-position top - set-option -as terminal-features 'foot:RGB' set -g default-terminal 'tmux-256color' bind-key b choose-tree -Z "run-shell 'tmux swap-pane -s %%'" # bind C-p display-popup -E -w 60% -h 70% 'tmuxsessions.sh' @@ -207,6 +215,7 @@ # bind C-c display-popup -E -w 50% -h 50% 'nvim +":cd ~/org" ~/org/refile.norg' # bind C-c display-popup -E -w 50% -h 50% 'nvim +"VimwikiIndex" bind C-c display-popup -E -w 60% -h 60% "pytui -n" + bind C-m display-popup -E -w 60% -h 60% "pytui -m" # bind C-w display-popup -E -w 40% -h 60% "pytui -D" bind C-o display-popup -E -w 50% -h 50% 'igrep ~/wiki/notes'